Peeringdb Facility
peeringdb_facilitySearch PeeringDB for data center facilities by name, city, or ID to get location, network count, and IXP presence for colocation and interconnection planning.
Instructions
Search for data center facilities in PeeringDB.
Returns facility name, location, website, how many networks are
present (networks_count), and how many IXPs are reachable there
(exchanges_count). Useful for understanding colocation options and
where networks can physically interconnect.
Data source: PeeringDB, one request (two if the name search is empty
and falls back to a city search). Counts come from PeeringDB's own
net_count / ix_count fields, so no per-facility lookups are made.
If error is set the search failed upstream and facilities is empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Facility name or city to search (e.g. 'Equinix', 'Ashburn'), or a numeric PeeringDB facility id for an exact lookup. |
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 facilities returned. | |
| source | No | Data source name. | PeeringDB |
| facilities | No | Matching facilities (at most 30). |