PeeringDB Networks & Data Centers API
Networks, internet exchanges and data centers from PeeringDB by ASN, name, country or city: network type, traffic level, scope, peering policy, exchange and facility counts, website, location and last update.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from peeringdb.com
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/peeringdb-networks/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"asns":["13335"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
18 fields: 17 here, 1 technical one under Technical details.
Basics
- Object type
net (network), ix (exchange) or fac (data center).
Example net
- Name
Name of the network, exchange or data center.
Example TorIX Route Servers
- Asn
Autonomous system number (networks only).
Example 11,670
- Network type
Network type such as Content, NSP or Cable/DSL/ISP (networks only).
Example Route Server
- Traffic level
Traffic level the network reports, such as 100-200Gbps (networks only).
Example 1-5Tbps
- Traffic ratio
Traffic ratio such as Mostly Outbound (networks only).
Example Not Disclosed
- Scope
Geographic scope such as Global or Regional (networks only).
Example North America
- Peering policy
General peering policy such as Open or Selective (networks only).
Example Open
- Irr as set
IRR as-set of the network (networks only).
Example ARIN::AS-TORIX
- Ix count
Number of exchanges the network or data center connects to.
Example 1
- Facility count
Number of data centers the network or exchange is present in.
Example 0
- Network count
Number of networks present at the exchange or data center.
Example 234
Location
- City
Example Toronto
- Two-letter country code
Example CA
Dates
- Updated
When PeeringDB last updated the record (UTC).
Example Nov 3, 2026
Links
- Link
The record's page on peeringdb.com.
Example peeringdb.com/net/12015
- Company or service website
Example torix.ca
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idPeeringDB id with its kind, such as net-4224, ix-24 or fac-12775.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
object_type | text | Object type | 3 of 3 |
name | text | Name | 3 of 3 |
url | link | Link | 3 of 3 |
asn | number | Asn | 2 of 3 |
website | link | Company or service website | 3 of 3 |
network_type | text | Network type | 2 of 3 |
traffic_level | text | Traffic level | 2 of 3 |
traffic_ratio | text | Traffic ratio | 2 of 3 |
scope | text | Scope | 2 of 3 |
peering_policy | text | Peering policy | 2 of 3 |
irr_as_set | text | Irr as set | 2 of 3 |
ix_count | number | Ix count | 2 of 3 |
facility_count | number | Facility count | 3 of 3 |
network_count | number | Network count | 1 of 3 |
city | text | City | 1 of 3 |
country | text | Two-letter country code | 1 of 3 |
updated_at | date and time | Updated | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Name | Object type | Asn | Network type | Traffic level | Traffic ratio | Scope | Peering policy | Irr as set | Ix count | Facility count | Network count | City | Two-letter country code | Updated | Link | Company or service website |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | TorIX Route Servers | net | 11,670 | Route Server | 1-5Tbps | Not Disclosed | North America | Open | ARIN::AS-TORIX | 1 | 0 | — | — | — | Nov 3, 2026 | peeringdb.com/net/12015 | torix.ca |
| 2 | TorIX Services Network | net | 393,424 | Enterprise | 20-100Mbps | Mostly Inbound | North America | Open | ARIN::AS-TORIX-SERVICES | 1 | 4 | — | — | — | Jul 27, 2022 | peeringdb.com/net/18304 | torix.ca |
| 3 | TorIX | ix | — | — | — | — | — | — | — | — | 9 | 234 | Toronto | CA | Jun 4, 2023 | peeringdb.com/ix/24 | torix.ca |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- PeeringDB's anonymous access allows about 20 requests a minute, so runs read one request every few seconds, shared across all runs; large pulls take minutes.
- Fields are self-reported by each network or operator and are often blank (traffic level, ratio, scope, peering policy).
- Networks carry no city or country in PeeringDB, so those two fields are filled for exchanges and data centers only; the country and city filters apply to exchanges and data centers, not to networks.
- Contact records (names, e-mails, phones) are deliberately not returned.
- Data is published by PeeringDB under its acceptable use policy; credit PeeringDB when you republish it.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.