{"uid":"cap_eJLUGpjH7HACBy2M9uwbR","slug":"sitecheck-web-intel-asn-bgp-peers-upstreams-e2af4216","name":"SiteCheck Web Intel – ASN BGP Peers & Upstreams","description":"For an autonomous system (e.g. AS13335): how many upstream (transit) and downstream neighbours RIPEstat sees in BGP, the top upstreams ranked by 'power' with their IPv4 and IPv6 peer counts, and the top downstreams. Built from RIS route collector paths, so it is an observed view, not the contract.","url":"https://api.webintel-api.workers.dev/api/security/asn-peers-upstream?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"],"type":"string"},"queryParams":{"type":"object","required":["asn"],"properties":{"asn":{"type":"string","description":"AS number such as AS13335 or 13335 (required)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_17-6WXiOvseaD2mPfzJMd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the upstream (transit) and downstream BGP neighbour counts for an autonomous system, plus top upstreams ranked by power with IPv4/IPv6 peer counts and top downstreams, as observed by RIPE RIS route collectors.","exampleAgentPrompt":"Can you look up the BGP upstream and downstream neighbours for AS13335 — I want to see how many transit providers it has and which upstreams are ranked highest by power?","exampleUseCases":[{"title":"Auditing ISP transit dependencies","prompt":"I need to understand who provides transit for AS7922 (Comcast) — how many upstream BGP neighbours does it have, and who are the top transit providers by power ranking?"},{"title":"Competitive network topology research","prompt":"Can you pull the BGP peer data for AS15169 from RIPEstat and tell me how many upstream and downstream neighbours Google has, plus the top upstreams with their IPv4 and IPv6 peer counts?"},{"title":"Security investigation of suspicious ASN","prompt":"I'm investigating a suspicious network — can you check the BGP upstream and downstream neighbours for AS206728 to see who's providing transit and how many peers it has?"}],"resultDescription":"Returns the total count of upstream (transit) and downstream BGP neighbours observed by RIPE RIS route collectors for the given ASN, a ranked list of top upstream providers by 'power' (each with IPv4 and IPv6 peer counts), and a ranked list of top downstream neighbours — all derived from observed RIS route collector paths.","failureModes":["Missing or invalid ASN parameter returns a validation error","ASN not observed in RIPE RIS data returns empty or null results","Malformed ASN string (e.g. non-numeric after 'AS' prefix) may return an error","RIPEstat upstream API downtime causes service unavailability","Very new or low-traffic ASNs may have sparse or no BGP observations"],"whenToPreferThis":"Use this endpoint when you need observed BGP peering and transit topology for an autonomous system sourced from RIPE RIS route collectors, particularly when you want upstream power rankings or IPv4/IPv6 peer breakdowns. Prefer this over WHOIS lookups when you need actual observed routing relationships rather than contractual or registry data. Best suited for network intelligence, ISP research, security investigations, and internet topology analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:42:31.756Z","isFirstParty":false,"canonicalSlug":"sitecheck-web-intel-asn-bgp-peers-upstreams-e2af4216"}