DNS record lookup in one GET
x402-catalog-history.ai-business-surface.workers.dev/dns
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 nxdom
GET
https://x402-catalog-history.ai-business-surface.workers.dev/dnsUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/dns?name=example.com&type=A");
console.log(await res.json());Example input
{
"name": "example.com",
"type": "A"
}