Api Endpoint

fetchx402

Resolve public DNS records (A, AAAA, MX, TXT, CNAME, NS, SOA) for a domain. Use when you need live DNS data and must not guess from memory or training data.

Open interactive test console

Offering

Provider
api.fetchx402.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.fetchx402.com/v1/tools/dns
MIME type
application/json
First seen
2026-11-13T16:54:40.708Z
Last seen
Tags
DNS, Network, lookup

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x33236133BecE789D551d0B5c4f9A50095d4b57d3"
  }
]

Observed health

Status
Healthy
Latest latency
1484 ms
Average latency
318 ms
HTTP status
402
Last checked
Reachability
100% over 6 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "method": {
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ],
      "type": "string"
    },
    "queryParams": {
      "properties": {
        "domain": {
          "description": "Public fully-qualified domain name to resolve, such as example.com. IPs, localhost, and internal/mDNS names are rejected.",
          "type": "string"
        },
        "type": {
          "description": "DNS record type. A = IPv4 addresses, AAAA = IPv6, MX = mail exchangers, TXT = text (SPF/DKIM), CNAME = alias, NS = nameservers, SOA = start of authority. Defaults to A if omitted.",
          "enum": [
            "A",
            "AAAA",
            "MX",
            "TXT",
            "CNAME",
            "NS",
            "SOA"
          ],
          "type": "string"
        }
      },
      "required": [
        "domain"
      ],
      "type": "object"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}