{"uid":"cap_yFWsjlYpvb0v3zxsjdvwq","slug":"agent402-tools-asn-info-lookup-dd5c4bf2","name":"agent402.tools ASN Info Lookup","description":"Look up the Autonomous System (ASN), prefix, country, registry, and allocation date for an IPv4 address - or for a hostname (which is resolved first). Uses Team Cymru's free DNS-based IP→ASN mapping; no HTTPS upstream, no auth, no rate-limit headaches.","url":"https://agent402.tools/api/asn-info","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ip":{"type":"string","description":"IPv4 address to look up (mutually exclusive with host)"},"host":{"type":"string","description":"Hostname to resolve first (also accepts hostname/domain/url/email)"}}},"responseSchema":{"type":"json","example":{"ip":"8.8.8.8","asn":"AS15169","owner":"GOOGLE","prefix":"8.8.8.0/24","country":"US","registry":"arin","queriedAt":"2026-06-19T22:00:00.000Z","allocationDate":"1992-12-01"}},"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_HWzt1_vmy0o4A_u14Gol0","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":"Looks up the Autonomous System Number (ASN), IP prefix, country, registry, and allocation date for an IPv4 address or hostname using Team Cymru's DNS-based mapping.","exampleAgentPrompt":"Can you look up the ASN, IP prefix, country, and registry for 8.8.8.8? I want to know which autonomous system and network block it belongs to and when it was allocated.","exampleUseCases":null,"resultDescription":"Returns the ASN number, BGP prefix/CIDR block, country code, registry (e.g. ARIN, RIPE, APNIC), and allocation date for the queried IP address or resolved hostname.","failureModes":["Invalid or private/reserved IP address returns no ASN data","Hostname cannot be resolved — DNS resolution failure","Malformed input (non-IPv4 address when ip field is used)","Team Cymru DNS service unavailable or timing out","IP address in bogon/unrouted space returns empty results"],"whenToPreferThis":"Use this endpoint when you need fast, lightweight ASN and BGP prefix lookups for a single IPv4 address or hostname without requiring API keys or authentication. Ideal for network investigation, threat intelligence enrichment, or identifying ISPs and network operators behind an IP. Prefer this over WHOIS-based tools when you specifically need ASN/prefix routing data rather than registrant contact details.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:58:21.255Z","isFirstParty":false}