Microproduct Data GuideBeginner

RIPEstat Data API

Internet routing, prefix, and ASN statistics for building network-visibility and prefix-lookup tools.

Report a Problem

At a Glance

Difficulty
Beginner — comfortable for a first prototype
Size
Tiny · ≤0.02 GB
Formats
JSON
Access
API
API Key
Not Required
Provider
RIPE NCC
Updates
Near Real Time
Last Verified
Aug 18, 2026
Source Type
Nonprofit Source
  • Python Syntax Checked
  • Runnable Notebook

From Source to Product Signal

Test a Product Idea in Four Steps

RIPEstat data API returns JSON for a resource such as an IP prefix or ASN. Start with prefix-overview for one well-known prefix. Routing views change, WHOIS fields can be stale, and this is not packet capture.

1

Check the Setup

  • Python 3.10 or newer
  • A notebook environment such as Jupyter or Google Colab
  • An internet connection
2

Access the Data

  1. 1.Open the RIPEstat data API documentation and choose prefix-overview.
  2. 2.Query one prefix such as 8.8.8.0/24.
  3. 3.Keep announced ASN, holder, and resource.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install pandas requests

import pandas as pd
import requests

response = requests.get(
    "https://stat.ripe.net/data/prefix-overview/data.json",
    params={"resource": "8.8.8.0/24"},
    timeout=30,
)
response.raise_for_status()
overview = pd.json_normalize(response.json()["data"])
overview["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(overview)
4

Test a Useful Signal

Look Up a Public DNS Prefix

Test whether prefix-overview can power a bounded routing card.

  1. 01Confirm the response contains the queried resource and announced ASN list.
  2. 02Record holder and ASN from the overview.
  3. 03Explain that RIPEstat is a routing and registration view, not live packet data, and WHOIS can lag.

Dataset Details

RIPE NCC is a nonprofit source. Last verified 2026-08-18. Temporal coverage: continuously updated routing and registration views.

Geography

Formats

Provider

RIPE NCC

Data Terms

RIPEstat terms and Creative Commons Attribution

Send Feedback