{"uid":"cap_YNij0VJMGu-WltvWHqcDi","slug":"2s-asn-lookup-7baf82df","name":"2s ASN Lookup","description":"Look up an Autonomous System (BGP) by AS number. Pass asn as AS3333 or 3333. Returns the AS holder/operator name, the IANA/RIR allocation block it falls in, whether it is currently announced, and a live routing-status block: first/last seen prefixes, announced IPv4/IPv6 prefix + address counts, RIS peer visibility, and observed BGP neighbour count. Data: RIPEstat (RIPE NCC), free and public. Distinct from geo.ip (host geolocation) and dns/whois (name lookups) — this is who-owns-and-routes-this-AS, observed live from the global routing table. For network forensics, abuse/security triage, and infrastructure mapping.","url":"https://2s.io/api/net/asn","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["asn"],"properties":{"asn":{"type":"string","description":"AS number, e.g. AS3333 or 3333."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pPEMVsvWbP5nnNxXBV7He","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up detailed information about an Autonomous System Number (ASN), including holder, routing, IP block, and announcement status.","exampleAgentPrompt":"Can you look up ASN 15169 and tell me who holds it, whether it's currently announced, and how many IPv4 prefixes and IP addresses it's advertising?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the ASN integer, the holder organization name, the IANA/RIR block the ASN falls within (name, resource range, description), routing details (announced status, IPv4 IP count, IPv4 prefix count, observed BGP neighbours), and the data source provider (e.g. RIPEstat).","failureModes":["Invalid or non-existent ASN returns error or empty routing data","ASN not yet announced returns announced: false with empty routing stats","Malformed ASN string (missing 'AS' prefix handled, but non-numeric input may error)","Upstream RIPEstat API unavailability may cause delayed or failed responses"],"whenToPreferThis":"Use this endpoint when you need authoritative, ground-truth data about an Autonomous System Number — including its holder, BGP routing status, IP prefix counts, and registry block — sourced directly from RIPEstat/RIPE NCC. Prefer this over generic WHOIS tools when you need structured JSON output with routing metrics like observed neighbours and announced IPv4 prefixes. Ideal for network intelligence, security investigations, and infrastructure enrichment workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:06:05.511Z","isFirstParty":false}