Datamynt AS Dns Records API

The Dns Records API from Datamynt AS — 1 operation(s) for dns records.

GitHub OpenAPI

Operations 1

GET /api/v1/dns_records Exact DNS records to point a domain at a service #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pekt-no:pekt-no-dns-records-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pekt-no-dns-records-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pekt public Dns Records API
  version: 1.1.0
  description: Read-only, no login. Find a domain at pekt (pekt.no, a Norwegian domain registrar run by Datamynt AS), see what it costs, get the exact DNS records to point any domain at a service, and see what a domain points at today. Prices are NOK including 25 % Norwegian VAT. Buying and changes happen on pekt.no, never through this API. The same tools are an MCP server at https://pekt.no/mcp/public.
  contact:
    email: kontakt@pekt.no
    url: https://pekt.no/kontakt
servers:
- url: https://pekt.no
tags:
- name: Dns Records
paths:
  /api/v1/dns_records:
    get:
      operationId: dns_records
      summary: Exact DNS records to point a domain at a service
      description: 'Get the exact DNS records that point one domain at one service from list_services, for any domain at any DNS provider: name, type, TTL and values to set, and values to remove. The domain''s current records are read from public DNS, so an existing SPF is merged and an existing CAA extended, the same way pekt changes its own zones (one planner). Use it when the user must point a domain at their app, site or mail provider, or asks which records to add. Read-only: nothing changes. how_to_apply says how the records get written: by the user at their DNS provider, or by pekt after the owner approves when the domain is at pekt. blocked=true means the change would break something (see findings) and no records are given; an error with retryable=true means a lookup failed, so try again after retry_after seconds.'
      parameters:
      - name: domain
        in: query
        required: true
        description: The domain itself, e.g. example.no (Unicode such as blåbær.no is fine). Any registrar, any DNS provider.
        schema:
          type: string
      - name: service
        in: query
        required: true
        description: A service key from list_services, e.g. the web or mail service the user named.
        schema:
          type: string
      - name: params
        in: query
        required: false
        style: deepObject
        explode: true
        description: The inputs that service needs (see list_services), copied from the provider. Omit for services with no required inputs. Pass each as params[<input>]=<value>.
        schema:
          type: object
          additionalProperties:
            type: string
      responses:
        '200':
          description: 'The tool result: the same object as the MCP tool''s structuredContent.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid input or a refusal; `error` says why in English.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  rate_limited:
                    type: boolean
                  retryable:
                    type: boolean
                  retry_after:
                    type: integer
                  internal_error:
                    type: boolean
                  environment:
                    type: string
                required:
                - error
        '429':
          description: Rate limit or lookup budget spent; retry after the Retry-After header (seconds).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  rate_limited:
                    type: boolean
                  retryable:
                    type: boolean
                  retry_after:
                    type: integer
                  internal_error:
                    type: boolean
                  environment:
                    type: string
                required:
                - error
        '500':
          description: Internal error at pekt; try again later.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  rate_limited:
                    type: boolean
                  retryable:
                    type: boolean
                  retry_after:
                    type: integer
                  internal_error:
                    type: boolean
                  environment:
                    type: string
                required:
                - error
        '503':
          description: A DNS lookup the answer depends on failed (timeout, or pekt busy), so no answer is given rather than a partial one; retry after the Retry-After header.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  rate_limited:
                    type: boolean
                  retryable:
                    type: boolean
                  retry_after:
                    type: integer
                  internal_error:
                    type: boolean
                  environment:
                    type: string
                required:
                - error
      tags:
      - Dns Records
externalDocs:
  url: https://pekt.no/ai