Peeringdb Ix
peeringdb_ixSearch PeeringDB for Internet Exchange Points (IXPs) and retrieve exchange details, location, and connected networks. Optionally fetch the member list for a specific exchange by name or ID.
Instructions
Search for Internet Exchange Points (IXPs) in PeeringDB.
Returns exchange name, location, website, and the number of connected
networks (total_members) for every match. With include_members,
the member list (ASN, LAN addresses, port speed, route-server flag) is
fetched for ONE exchange only: the exact name match if there is one,
otherwise the first result. That entry has members_included=true.
To get members of a specific exchange, query by its numeric IX id.
Data source: PeeringDB. A name search that returns nothing falls back
to a city search. total_members comes from PeeringDB's net_count and
costs no extra requests. If error is set the search or the member
fetch failed upstream and the payload may be empty or partial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | IXP name or city to search (e.g. 'AMS-IX', 'Amsterdam', 'DE-CIX'), or a numeric PeeringDB IX id for an exact lookup. | |
| include_members | No | Fetch the member list for the best-matching exchange only (exact name match if present, otherwise the first result). Costs one extra request; use a specific name or IX id to target the exchange you want. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set when the PeeringDB request failed; other fields may be empty or partial. | |
| query | Yes | The search string that was used. | |
| total | No | Number of exchanges returned. | |
| source | No | Data source name. | PeeringDB |
| exchanges | No | Matching exchanges (at most 20). |