Tools / Data
Domain and DNS lookup
Returns A, AAAA, CNAME, MX, NS, TXT and CAA records, SPF and DMARC policies, and registration data from RDAP (registrar, created, expires, status, nameservers).
- Price per call
- $0.002 USDC
- Endpoint
- GET https://x402-tools.com/v1/dns
- Also accepts
- POST with a JSON body
- Payment
- x402, exact scheme, USDC on Base
- Returns
- application/json
Parameters
| Name | Type | Description |
|---|---|---|
| domain required | string | Domain name, e.g. example.com. |
Call it from an agent
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);
const res = await paidFetch("https://x402-tools.com/v1/dns?domain=example.com");
// costs $0.002 in USDC on Base
Without a payment the endpoint answers 402 with the price, so you can inspect it first:
curl -i "https://x402-tools.com/v1/dns?domain=example.com"
Example response
{
"domain": "example.com",
"resolves": true,
"records": {
"A": [
"93.184.215.14"
],
"MX": [
"0 ."
],
"NS": [
"a.iana-servers.net."
]
},
"email": {
"accepts_mail": false,
"spf": "v=spf1 -all",
"dmarc": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s"
},
"registration": {
"registrar": "RESERVED-Internet Assigned Numbers Authority",
"created": "1995-08-14T04:00:00Z",
"expires": "2026-08-13T04:00:00Z"
}
}
If the tool fails or your input is invalid, the payment is not settled.
Other tools
Web page to markdown$0.003
Turn any URL (HTML, PDF, Office docs) into clean markdown an agent can read.
Website screenshot$0.01
A PNG screenshot of any web page, rendered in a real browser.
Summarize text or a URL$0.005
A faithful short, medium or long summary of any text or web page.
Extract structured data$0.01
Pull JSON fields out of any text or web page, matching your schema.
Translate text$0.003
Translate text into any language, keeping formatting and tone.
Generate an image$0.02
Text-to-image with FLUX.1 schnell, returned in seconds.