Microproduct data guidebeginner

RIPEstat Data API

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

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

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.

Theme

Technology & Cybersecurity

Domains

Internet InfrastructureCybersecurity

Data types

Registry DataTime SeriesTabular

Tasks

Prefix LookupRouting AnalysisNetwork Monitoring

Geography

Global

Formats

JSON

Provider

RIPE NCC

Data terms

RIPEstat terms and Creative Commons Attribution