rir_peering_info
Fetch peering policy, IXP presence, NOC contacts, and BGP neighbors for any ASN using PeeringDB and RIPE Stat data sources.
Instructions
Fetch peering policy, IXP presence, NOC contacts, and BGP neighbours for an ASN.
Data sources (queried in parallel):
PeeringDB (www.peeringdb.com) — the internet's peering registry
RIPE Stat asn-neighbours — live BGP upstream/downstream relationships
Information returned:
Peering policy: Open / Selective / Restrictive / No Peering
IRR AS-SET (used in route filters, e.g. AS-CLOUDFLARE)
NOC email, abuse email, peering contact email
IXP presence: which exchange points, peering IPs, link speed
BGP neighbours: up to 30 adjacent ASNs in the routing table
Use cases:
"Does Cloudflare have an Open peering policy?"
"Which IXPs is AS13335 present at?"
"What is the NOC email for AS1234 to report an incident?"
"Is this ASN a residential ISP or a CDN?"
Results are cached for 6 hours.
Args: params (PeeringInfoInput): - asn (str): ASN to look up (e.g. 'AS13335', '13335', 'AS-CLOUDFLARE') - response_format (str): 'markdown' (default) or 'json'
Returns: str: Peering policy table, IXP presence table, contacts, BGP neighbours. JSON schema: { "asn": str, "network_name": str, "policy_general": str, "noc_email": str, "irr_as_set": str, "ixp_presence": [{"name": str, "city": str, "country": str, "ipaddr4": str, "ipaddr6": str, "speed": int}], "neighbour_asns": [str], "errors": [str] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |