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.

Try it
Ready-made, maintained by usRecords, 18 fieldsv1.0

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

Asnsoptional
Look up networks by ASN, as numbers such as 13335. Used with object_type net or all. One per line, or separated by commas.
Example: 13335
Searchoptional
Words in the network, exchange or data center name.
Example: equinix
Object typeoptional
net (networks, the default), ix (exchanges), fac (data centers) or all.
Countryoptional
Two-letter country code for exchanges and data centers.
Example: CA
Cityoptional
City for exchanges and data centers.
Example: Toronto

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
Endpoint
POSThttps://pullrow.dev/v1/apis/peeringdb-networks/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

asnslist
Look up networks by ASN, as numbers such as 13335. Used with object_type net or all.
example: 13335
searchtext
Words in the network, exchange or data center name.
example: equinix
object_typetext
net (networks, the default), ix (exchanges), fac (data centers) or all.
example: netone of: net, ix, fac, all
countrytext
Two-letter country code for exchanges and data centers.
example: CA
citytext
City for exchanges and data centers.
example: Toronto

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
object_typetextObject type3 of 3
nametextName3 of 3
urllinkLink3 of 3
asnnumberAsn2 of 3
websitelinkCompany or service website3 of 3
network_typetextNetwork type2 of 3
traffic_leveltextTraffic level2 of 3
traffic_ratiotextTraffic ratio2 of 3
scopetextScope2 of 3
peering_policytextPeering policy2 of 3
irr_as_settextIrr as set2 of 3
ix_countnumberIx count2 of 3
facility_countnumberFacility count3 of 3
network_countnumberNetwork count1 of 3
citytextCity1 of 3
countrytextTwo-letter country code1 of 3
updated_atdate and timeUpdated3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameObject typeAsnNetwork typeTraffic levelTraffic ratioScopePeering policyIrr as setIx countFacility countNetwork countCityTwo-letter country codeUpdatedLinkCompany or service website
1TorIX Route Serversnet11,670Route Server1-5TbpsNot DisclosedNorth AmericaOpenARIN::AS-TORIX10———Nov 3, 2026peeringdb.com/net/12015torix.ca
2TorIX Services Networknet393,424Enterprise20-100MbpsMostly InboundNorth AmericaOpenARIN::AS-TORIX-SERVICES14———Jul 27, 2022peeringdb.com/net/18304torix.ca
3TorIXix————————9234TorontoCAJun 4, 2023peeringdb.com/ix/24torix.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.
Known limits
  • 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.