Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
Internet routing, prefix, and ASN statistics for building network-visibility and prefix-lookup tools.
From source to product signal
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.
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)Test a useful signal
Test whether prefix-overview can power a bounded routing card.
RIPE NCC is a nonprofit source. Last verified 2026-08-18. Temporal coverage: continuously updated routing and registration views.