{"uid":"cap_9-0gB5ojPC3BUjgPqBKDm","slug":"dns-a-aaaa-lookup-via-crypto-market-pulse-api-5f1528af","name":"DNS A/AAAA Lookup via Crypto Market Pulse API","description":"Pay-per-call API for AI agents, settled in USDC on Base mainnet (eip155:8453) via the x402 protocol - no API keys, no signup, no subscription. Live crypto market data: BTC, ETH, SOL, USDC (USD Coin) prices with 24h change (source: OKX), Base mainnet chain snapshot (block height, gas price gwei), real-time USDC-on-Base transfer analytics (transfer count, volume, unique senders and recipients over recent blocks), and USDC/ETH wallet balances plus nonce for any address. Agent utility tools: deterministic JSON repair for LLM output (strip code fences, fix trailing commas, single quotes, unquoted keys, balance braces), DNS A/AAAA lookup, and URL extraction from arbitrary text. Every endpoint returns HTTP 402 with an x402 payment challenge in USDC on Base; pay with any wallet and retry with the PAYMENT-SIGNATURE header. MCP server at /mcp (streamable HTTP, 6 pay-per-call tools). Ideal for crypto portfolios, DeFi dashboards, market analysis agents, data pipelines, and LLM post-processing.","url":"https://baseusdcearn.pythonanywhere.com/net/dns?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":{"chainId":8453,"network":"base-mainnet","blockHeight":21000000,"gasPriceGwei":0.05},"market":{"solana":{"usd":150,"usd_24h_change":-0.5},"bitcoin":{"usd":60000,"usd_24h_change":1.5},"ethereum":{"usd":3000,"usd_24h_change":2},"usd-coin":{"usd":1,"usd_24h_change":0}},"servedAt":1755430000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MrH8zdF8lDsil9PH49x21","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs DNS A and AAAA record lookups for a given domain, paid per-call in USDC on Base via x402 protocol","exampleAgentPrompt":"Can you resolve the DNS A and AAAA records for api.example.com and tell me what IP addresses it maps to?","exampleUseCases":[{"title":"Validate domain reachability before API call","prompt":"Before we call that webhook, can you look up the DNS records for webhooks.myservice.io and confirm it actually resolves to an IP address?"},{"title":"Check IPv6 support for a hostname","prompt":"Does dashboard.mycompany.com have AAAA records set up? I need to know if it supports IPv6."},{"title":"Debug misconfigured domain in pipeline","prompt":"We're getting connection failures to data.partner-site.com — can you pull its DNS A records to see where it's currently pointing?"}],"resultDescription":"Returns DNS A (IPv4) and AAAA (IPv6) records for the queried hostname, indicating what IP addresses the domain resolves to. Response is JSON. Requires x402 micropayment of $0.001 USDC on Base mainnet before data is returned.","failureModes":["Domain does not exist — NXDOMAIN response or empty record set","No A or AAAA records present for the domain (only MX, CNAME, etc.)","HTTP 402 returned if payment not submitted or payment signature invalid","Network/DNS resolver timeout for slow or unreachable nameservers","Malformed domain name input causing lookup failure"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup DNS resolution tool payable in USDC micropayments via x402, particularly in crypto-native agent pipelines that already handle x402 payments for other calls on this platform. Best for one-off DNS checks without wanting to manage API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:34:20.984Z","isFirstParty":false,"canonicalSlug":"dns-a-aaaa-lookup-via-crypto-market-pulse-api-5f1528af"}