WhoisFreaks DNS API

DNS lookup APIs (live, historical, reverse, bulk)

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v2.0/dns/live Look up current DNS records · Live DNS Lookup #
Ask an LLM
“What are the current MX and TXT records for a domain?”
“Can I do a live PTR lookup on an IP address?”
Tell an agent
Look up the live {type} records for {domainName}.
Do a live PTR lookup on IP {ipAddress} with type {type}.
GET /v2.0/dns/historical Get historical DNS records for a domain · Historical DNS Lookup #
Ask an LLM
“How can I see what DNS records a domain used to have?”
“Can I page through a domain's past A records 100 at a time?”
Tell an agent
Show historical {type} records for {domainName}.
Get page {page} of past {type} DNS history for {domainName}.
GET /v2.1/dns/reverse Find domains by IP or DNS record value · Reverse DNS Lookup #
Ask an LLM
“Which domains point to a given IP address?”
“Can I find every domain that uses a particular mail server or CIDR range?”
Tell an agent
Find domains whose {type} records point to {value}.
Reverse DNS search {type} records for {value} with exact match {exact}, page {page}.
POST /v2.0/dns/bulk/live Look up DNS for many domains and IPs at once · Bulk DNS Lookup #
Ask an LLM
“Can I check DNS records for a hundred domains in one request?”
“How do I run live DNS lookups for a batch of IP addresses?”
Tell an agent
Bulk look up {type} records for domains {domainNames}.
Run a batch DNS query of type {type} on IPs {ipAddresses}.

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/whoisfreaks:whoisfreaks-dns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

whoisfreaks-dns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WhoisFreaks DNS API
  description: 'Complete WhoisFreaks API — WHOIS, DNS, SSL, Geolocation, Typosquatting,

    IP Intelligence, Domain Reputation, and bulk database downloads.


    ## Authentication

    All requests require an `apiKey` query parameter.


    ## Resources

    - Docs: https://whoisfreaks.com/documentation

    - Billing: https://billing.whoisfreaks.com

    - Support: support@whoisfreaks.com'
  version: 1.0.0
  contact:
    name: WhoisFreaks Support
    email: support@whoisfreaks.com
    url: https://whoisfreaks.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
- url: https://api.whoisfreaks.com
  description: API Solutions (live lookups)
- url: https://files.whoisfreaks.com
  description: Database file downloads
security:
- ApiKeyAuth: []
tags:
- name: DNS
  description: DNS lookup APIs (live, historical, reverse, bulk)
paths:
  /v2.0/dns/live:
    get:
      tags:
      - DNS
      summary: Live DNS Lookup
      description: Real-time DNS record lookup. 1 credit per query.
      operationId: dnsLive
      parameters:
      - name: domainName
        in: query
        schema:
          type: string
      - name: ipAddress
        in: query
        schema:
          type: string
        description: Use for PTR lookups
      - name: type
        in: query
        schema:
          type: string
          default: all
        required: true
        description: 'all or comma-separated: A,MX,NS,TXT,SOA,SPF,AAAA,CNAME'
      - $ref: '#/components/parameters/Format'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DnsResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
  /v2.0/dns/historical:
    get:
      tags:
      - DNS
      summary: Historical DNS Lookup
      description: All historical DNS records. 2 credits per page (100 records/page).
      operationId: dnsHistorical
      parameters:
      - name: domainName
        in: query
        schema:
          type: string
        required: true
      - name: type
        in: query
        schema:
          type: string
          default: all
        required: true
      - name: page
        in: query
        schema:
          type: integer
          default: 1
      - $ref: '#/components/parameters/Format'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HistoricalDnsResponse'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
  /v2.1/dns/reverse:
    get:
      tags:
      - DNS
      summary: Reverse DNS Lookup
      description: Search domains by IP or DNS value. 5 credits per page.
      operationId: dnsReverse
      parameters:
      - name: value
        in: query
        schema:
          type: string
        required: true
        description: IP, CIDR, or record value
      - name: type
        in: query
        schema:
          type: string
          enum:
          - a
          - mx
          - cname
          - ns
          - aaaa
          - txt
          - soa
        required: true
      - name: exact
        in: query
        schema:
          type: boolean
          default: true
      - name: page
        in: query
        schema:
          type: integer
          default: 1
      - $ref: '#/components/parameters/Format'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReverseDnsResponse'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
  /v2.0/dns/bulk/live:
    post:
      tags:
      - DNS
      summary: Bulk DNS Lookup
      description: Up to 100 domains + 100 IPs in one request.
      operationId: dnsBulk
      parameters:
      - name: type
        in: query
        schema:
          type: string
          default: all
        required: true
      - $ref: '#/components/parameters/Format'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                domainNames:
                  type: array
                  items:
                    type: string
                ipAddresses:
                  type: array
                  items:
                    type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkDnsResponse'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    ReverseDnsResponse:
      type: object
      properties:
        totalRecords:
          type: integer
        totalPages:
          type: integer
        currentPage:
          type: integer
        reverseDnsRecords:
          type: array
          items:
            $ref: '#/components/schemas/DnsResponse'
      additionalProperties: true
    HistoricalDnsResponse:
      type: object
      properties:
        totalPages:
          type: integer
        currenPage:
          type: integer
        totalRecords:
          type: integer
        historicalDns:
          type: array
          items:
            $ref: '#/components/schemas/DnsResponse'
      additionalProperties: true
      description: 'Note: ''currenPage'' spelling matches the API.'
    BulkDnsResponse:
      type: object
      properties:
        bulk_dns_info:
          type: array
          items:
            $ref: '#/components/schemas/DnsResponse'
      additionalProperties: true
    DnsRecord:
      type: object
      properties:
        type:
          type: string
        name:
          type: string
        ttl:
          type: integer
        address:
          type: string
        priority:
          type: integer
        exchange:
          type: string
        target:
          type: string
        strings:
          type: array
          items:
            type: string
        host:
          type: string
        admin:
          type: string
        serial:
          type: integer
        refresh:
          type: integer
        retry:
          type: integer
        expire:
          type: integer
        minimum:
          type: integer
      additionalProperties: true
      description: Union of all DNS record variants (A/AAAA/MX/NS/CNAME/PTR/TXT/SPF/SOA).
    ErrorResponse:
      type: object
      properties:
        timestamp:
          type: string
        path:
          type: string
        status: {}
        error:
          type: string
        message:
          type: string
        code:
          type: integer
      additionalProperties: true
      description: Error response. `status` may be an integer (e.g. 401), boolean, or string depending on the endpoint, so it is intentionally untyped to avoid deserialization failures.
    DnsResponse:
      type: object
      properties:
        domainName:
          type: string
        ipAddress:
          type: string
        queryTime:
          type: string
        status:
          type: boolean
        domainRegistered:
          type: boolean
        dnsTypes:
          type: object
        dnsRecords:
          type: array
          items:
            $ref: '#/components/schemas/DnsRecord'
      additionalProperties: true
      description: Live DNS response (DnsInfo).
  responses:
    RateLimited:
      description: Too many requests
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ErrorResponse:
      description: Error response (4XX)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  parameters:
    Format:
      name: format
      in: query
      schema:
        type: string
        enum:
        - json
        - xml
        default: json
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: query
      name: apiKey