{"uid":"cap_ZgiPPegNoaQvEhIM7gBK9","slug":"agentdiet-asn-lookup-243077aa","name":"AgentDiet ASN Lookup","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://rag-diet.agentdiet.dev settling in USDC on Base.","url":"https://rag-diet.agentdiet.dev/v1/asn-lookup?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"domain":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1rctUBqwKKfdmYOaqVWm7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up Autonomous System Number (ASN) information for a given domain via the AgentDiet intelligence node, paid per-call in USDC on Base.","exampleAgentPrompt":"Can you look up the ASN for cloudflare.com and tell me which autonomous system number it belongs to?","exampleUseCases":[{"title":"Identify network provider for a domain","prompt":"What autonomous system number does stripe.com resolve to, and who operates that AS?"},{"title":"Network infrastructure audit","prompt":"Look up the ASN for each of these domains — github.com, fastly.com, and akamai.com — so I can map out their network providers."},{"title":"Detect shared hosting or CDN","prompt":"Can you check which ASN is behind shopify.com? I want to see if it's on a major CDN or their own network."}],"resultDescription":"Returns a JSON object with a 'data' field containing ASN details for the queried domain, a 'status' field indicating success, and an 'roi_proof' object showing a compression_ratio_pct (e.g. 91.4%) reflecting context efficiency.","failureModes":["Invalid or unresolvable domain name returns an error or empty data object","Missing required 'input' parameter results in a 400-level validation error","Payment failure or insufficient USDC balance blocks the request with a 402 response","Domain with no publicly registered ASN may return empty or null ASN data"],"whenToPreferThis":"Use this endpoint when you need fast, pay-per-call ASN resolution for a domain name and want to settle micropayments in USDC on Base via x402. It is suitable for one-off or low-volume lookups where no subscription is needed. Prefer alternatives if you require bulk ASN lookups, WHOIS data, or DNS record types beyond ASN routing information.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:14.923Z","isFirstParty":false,"canonicalSlug":"agentdiet-asn-lookup-243077aa"}