dns

DNS Lookup

Operational

Query any DNS record type and perform reverse lookups

api API Docs

API Overview

The DNS Lookup API provides programmatic access to DNS resolution from Cloudflare's global edge network. Query any record type for any domain and receive structured, parsed responses rather than raw wire format. Supports A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, and PTR records. Reverse lookups accept an IPv4 or IPv6 address and return all associated hostnames. Useful for infrastructure monitoring, security tooling, and any workflow that needs reliable DNS data.

dns

All Record Types

Query A, AAAA, MX, TXT, CNAME, NS, SOA, SRV, and PTR records with a single parameter.

swap_horiz

Reverse DNS Lookup

Submit an IPv4 or IPv6 address to resolve all associated hostnames via PTR records.

data_object

Parsed Structured Output

Responses are parsed into clean JSON — no raw wire format or binary decoding needed.

speed

Cloudflare Edge Resolution

DNS queries resolve from Cloudflare's global anycast network for minimal latency worldwide.

integration_instructions API Reference

terminal API Playground

Live Simulation
import requests

url = "https://api.picopayd.codefission.co.uk/web/api/lookup"
headers = {
    "X-PAYMENT": "<402-payment-token>"
}
params = {
    "domain": "example.com",
    "type": "MX"
}

response = requests.get(url, params=params, headers=headers)
print(response.json())
Response Body 200 OK
{
  "domain": "example.com",
  "type": "MX",
  "records": [
    {
      "priority": 10,
      "exchange": "mail.example.com",
      "ttl": 3600
    }
  ],
  "resolvedAt": "2026-03-09T12:00:00Z"
}