{"uid":"cap_EltI5JqRB1P0zkPyinzNR","slug":"asn-ip-prefix-lookup-2647706e","name":"ASN IP Prefix Lookup","description":"Announced IP prefixes for an ASN: IPv4 and IPv6 ranges currently announced in BGP (from RIPEstat, free), with counts and samples. Build allowlists, map a company's network footprint or attribute traffic. $0.01 per ASN.","url":"https://intel.rallylive.ca/ip/asn-prefixes","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_2YtF2P_s0tYU5nQdXnG-a","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":"Returns all announced IPv4 and IPv6 BGP prefixes for a given Autonomous System Number (ASN), with counts and samples.","exampleAgentPrompt":"What are all the IPv4 and IPv6 prefixes currently announced in BGP for AS13335 (Cloudflare)? I want to build an allowlist from their network footprint.","exampleUseCases":[{"title":"Build firewall allowlist from ASN","prompt":"Give me all IP prefixes announced by Fastly's ASN (AS54113) so I can create an allowlist rule in our firewall to allow only their traffic."},{"title":"Map company network footprint","prompt":"I need to map out Microsoft's publicly routed IP space — can you fetch all the BGP prefixes announced for AS8075 so I can see how large their network footprint is?"},{"title":"Attribute suspicious traffic to organization","prompt":"We're seeing traffic from several IPs and suspect they belong to a cloud provider. Can you pull all announced prefixes for AS16509 (Amazon AWS) so I can check if these IPs fall within their ranges?"}],"resultDescription":"A structured response listing all currently announced IPv4 and IPv6 BGP prefixes for the specified ASN, including total prefix counts and sample entries, sourced from RIPEstat's live BGP data.","failureModes":["Invalid or non-existent ASN returns empty prefix list or error","ASN with no current BGP announcements returns zero prefixes","RIPEstat upstream unavailability may cause delayed or failed responses","Malformed ASN input (e.g. missing 'AS' prefix or non-numeric) may return an error"],"whenToPreferThis":"Use this endpoint when you need a live, BGP-verified list of IP prefixes for a specific autonomous system — ideal for building allowlists, mapping a company's network footprint, or attributing IP traffic to an organization. Prefer this over WHOIS-based lookups when you need currently announced routes rather than allocated ranges. At $0.01/call it's cost-effective for one-off lookups or bulk enrichment pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:59:13.776Z","isFirstParty":false}