TLDers Domains API

WHOIS/RDAP, DNS, SSL and website status for any domain

GitHub OpenAPI

Operations 5

GET /api/v1/domain/{domain} WHOIS, DNS, SSL and website status in one call #
GET /api/v1/domain/{domain}/whois Registration data: registrar, dates, status, nameservers (RDAP, WHOIS fallback) #
GET /api/v1/domain/{domain}/dns DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA) #
GET /api/v1/domain/{domain}/ssl SSL certificate: issuer, validity, days remaining, names covered #
GET /api/v1/domain/{domain}/status Is the website up: HTTP status, redirects, response time #

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/tlders-com:tlders-com-domains-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

tlders-com-domains-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TLDers Domain Pricing Domains API
  version: 1.0.0
  summary: Domain registration, renewal and transfer prices across 145+ registrars and 1,100+ TLDs.
  description: 'Compare domain name prices programmatically: cheapest registrar per extension, full per-registrar price lists (register / renew / transfer), price history, active promo codes and live RDAP/WHOIS availability checks. Prices are in USD per year and refreshed daily.'
  contact:
    name: TLDers
    url: https://www.tlders.com/developers
    email: advertise@tlders.com
  termsOfService: https://www.tlders.com/terms
servers:
- url: https://www.tlders.com
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: Domains
  description: WHOIS/RDAP, DNS, SSL and website status for any domain
paths:
  /api/v1/domain/{domain}:
    get:
      operationId: domainInfo
      tags:
      - Domains
      summary: WHOIS, DNS, SSL and website status in one call
      parameters:
      - name: domain
        in: path
        required: true
        description: Domain name, e.g. `example.com` (Unicode domains are accepted)
        schema:
          type: string
          example: example.com
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      domain:
                        type: string
                      whois:
                        $ref: '#/components/schemas/Whois'
                      dns:
                        $ref: '#/components/schemas/DnsRecords'
                      ssl:
                        $ref: '#/components/schemas/Ssl'
                      status:
                        $ref: '#/components/schemas/SiteStatus'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/v1/domain/{domain}/whois:
    get:
      operationId: domainWhois
      tags:
      - Domains
      summary: 'Registration data: registrar, dates, status, nameservers (RDAP, WHOIS fallback)'
      parameters:
      - name: domain
        in: path
        required: true
        description: Domain name, e.g. `example.com` (Unicode domains are accepted)
        schema:
          type: string
          example: example.com
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Whois'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/v1/domain/{domain}/dns:
    get:
      operationId: domainDns
      tags:
      - Domains
      summary: DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA)
      parameters:
      - name: domain
        in: path
        required: true
        description: Domain name, e.g. `example.com` (Unicode domains are accepted)
        schema:
          type: string
          example: example.com
      - name: types
        in: query
        description: 'Comma-separated record types (default: all)'
        schema:
          type: string
          example: A,MX,TXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      domain:
                        type: string
                      records:
                        $ref: '#/components/schemas/DnsRecords'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/v1/domain/{domain}/ssl:
    get:
      operationId: domainSsl
      tags:
      - Domains
      summary: 'SSL certificate: issuer, validity, days remaining, names covered'
      parameters:
      - name: domain
        in: path
        required: true
        description: Domain name, e.g. `example.com` (Unicode domains are accepted)
        schema:
          type: string
          example: example.com
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Ssl'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
  /api/v1/domain/{domain}/status:
    get:
      operationId: domainStatus
      tags:
      - Domains
      summary: 'Is the website up: HTTP status, redirects, response time'
      parameters:
      - name: domain
        in: path
        required: true
        description: Domain name, e.g. `example.com` (Unicode domains are accepted)
        schema:
          type: string
          example: example.com
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/SiteStatus'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    SiteStatus:
      type: object
      properties:
        domain:
          type: string
        online:
          type: boolean
        statusCode:
          type:
          - integer
          - 'null'
        finalUrl:
          type:
          - string
          - 'null'
        redirects:
          type: array
          items:
            type: string
        responseTimeMs:
          type:
          - integer
          - 'null'
        server:
          type:
          - string
          - 'null'
        error:
          type:
          - string
          - 'null'
    DnsRecords:
      type: object
      description: Record type → records
      additionalProperties:
        type: array
        items:
          type: object
          properties:
            name:
              type: string
            type:
              type: string
            ttl:
              type: integer
            data:
              type: string
    Whois:
      type: object
      properties:
        domain:
          type: string
        registered:
          type:
          - boolean
          - 'null'
        source:
          type:
          - string
          - 'null'
          enum:
          - rdap
          - whois
          - null
        registrar:
          type:
          - string
          - 'null'
        createdAt:
          type:
          - string
          - 'null'
        updatedAt:
          type:
          - string
          - 'null'
        expiresAt:
          type:
          - string
          - 'null'
        daysUntilExpiry:
          type:
          - integer
          - 'null'
        status:
          type: array
          items:
            type: string
        nameservers:
          type: array
          items:
            type: string
        dnssec:
          type:
          - boolean
          - 'null'
        raw:
          type:
          - string
          - 'null'
          description: Raw port-43 reply when WHOIS answered
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
    Ssl:
      type: object
      properties:
        domain:
          type: string
        valid:
          type:
          - boolean
          - 'null'
        error:
          type:
          - string
          - 'null'
        issuer:
          type:
          - string
          - 'null'
        subject:
          type:
          - string
          - 'null'
        validFrom:
          type:
          - string
          - 'null'
        validTo:
          type:
          - string
          - 'null'
        daysRemaining:
          type:
          - integer
          - 'null'
        altNames:
          type: array
          items:
            type: string
        protocol:
          type:
          - string
          - 'null'
  responses:
    PaymentRequired:
      description: 'Endpoint needs a paid plan (free keys: 100 requests/month, no bulk /prices)'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: A required parameter is missing or invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid or revoked API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Daily request limit exceeded (see Retry-After)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from tlders.com/account/api
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
externalDocs:
  url: https://www.tlders.com/developers