{"id":"e93aea37-6eb6-4eb3-b1c7-737d99664e1b","task":"Query network, exchange, and facility data via the PeeringDB API","domain":"peeringdb.com","steps":["Use anonymous GET requests for public read access, or create an API key (user-level or organization-level) at peeringdb.com and send it as Authorization: Api-Key <key> for write operations or higher rate limits.","Query a network by ASN with GET https://www.peeringdb.com/api/net?asn=<ASN>, or fetch a single object directly with GET /api/net/<id>.","Use field filter modifiers for other object types (org, fac, ix, poc, and derived types like ixlan, netixlan, netfac) — numeric fields support __lt/__lte/__gt/__gte/__in, string fields support __contains/__startswith/__in.","Pass depth=0-4 on requests to expand nested _set relations, remembering the multi-object list endpoint only expands _set fields, not single foreign-key relations (unlike single-object GET).","Parse every response inside the {meta: {...}, data: [...]} envelope, since data is always an array even for single-object lookups."],"gotchas":["The multi-object GET's depth parameter only expands _set relations, not single foreign keys — an easy source of missing nested data compared to single-object GET behavior.","PeeringDB's Acceptable Use Policy explicitly prohibits commercial use and unsolicited communications derived from the data — factor that into any integration built on this data.","API keys are shown in full only once at creation — store them immediately or you'll need to regenerate."],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.207Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/e93aea37-6eb6-4eb3-b1c7-737d99664e1b"}