Get WHOIS and DNS intelligence for any domain. Returns registration details, nameservers, DNS records, and expiration dates as structured JSON.
Base URL:
https://pylon-domain-intel-api.fly.dev
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain name to look up (e.g. example.com) |
Returns JSON with WHOIS and DNS data (200 OK).
{
"domain": "example.com",
"whois": {
"registrar": "Example Registrar, Inc.",
"created": "1995-08-14T00:00:00Z",
"expires": "2026-08-13T00:00:00Z",
"nameservers": ["ns1.example.com", "ns2.example.com"]
},
"dns": {
"a": ["93.184.216.34"],
"mx": ["mail.example.com"],
"txt": ["v=spf1 -all"]
}
}| Status | Description |
|---|---|
200 | Domain intel returned as JSON |
402 | Payment required — x402 challenge returned |
400 | Missing or invalid domain parameter |
500 | Lookup failed |
$0.01 USDC per request — paid via x402 on Base Sepolia. No API key. No subscription. Pay per call.
curl "https://pylon-domain-intel-api.fly.dev/lookup?domain=example.com"
To use Pylon APIs, you need an x402-compatible client with a funded wallet on Base Sepolia. Here's the quick setup:
The x402 flow: your first request returns 402 Payment Required with payment details in headers. The x402 client signs a USDC payment, then retries with payment proof attached. All automatic, all in milliseconds.