DNS record lookup
DNS record lookup in one GET: A, AAAA, CNAME, MX, NS, TXT, SOA or CAA for one hostname, with TTL and the record data. curl: GET /dns?name=example.com&type=A (type defaults to A). Response: {"query":{"name":"example.com","type":"A"},"count":2,"resolution":"records","records":[{"type":"A","ttl":300,"data":"93.184.216.34"}]}. resolution also reports none (name exists, no record of that type) or nxdomain (name does not exist); an upstream failure returns 502/503 and is not charged. 0.001 USDC, one GET, one answer. A purchase is two calls by design: this first call returns 402 with the price and the payment terms, and you then repeat the same request with the PAYMENT-SIGNATURE header to receive the 200 delivery.
Resource URL
https://x402-catalog-history.ai-business-surface.workers.dev/dns
Payment options
$0.001 USDC
Max amount
- Pay to
- 0x6f60659390aDA1D02B14024d8c9d0C889f2F89c3
- Timeout
- 60s
Tags
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://x402-catalog-history.ai-business-surface.workers.dev/dns Type: http Sources: payai