Data Sources
GEThttps://api-ip-intelligence.dataandapis.com/v1/sources
Data Sources is an endpoint of the IP Intelligence API. Country, ASN, datacenter, cloud and Tor detection with an explainable risk score for any IP.
Send your key in the X-Api-Key header. Each call costs 1 token; a free key includes 500 tokens a month.
Request
This endpoint takes no parameters.
Example request
curl
curl "https://api-ip-intelligence.dataandapis.com/v1/sources" \
-H "X-Api-Key: YOUR_API_KEY"JavaScript / TypeScript (dataandapis package)
// npm install dataandapis
import { DataAndApis } from "dataandapis";
const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY
const data = await client.ipIntelligence.dataSources();Node.js (fetch)
const res = await fetch("https://api-ip-intelligence.dataandapis.com/v1/sources", {
headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();Python (dataandapis package)
# pip install dataandapis
from dataandapis import DataAndApis
client = DataAndApis() # reads DATAANDAPIS_API_KEY
data = client.ip_intelligence.data_sources()Python (requests)
import os, requests
r = requests.get(
"https://api-ip-intelligence.dataandapis.com/v1/sources",
headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()Guide to the dataandapis npm package →Guide to the dataandapis Python package →
Example response
Example response{
"ok": true,
"count": 11,
"attribution": [
"IP geolocation by DB-IP (https://db-ip.com)"
],
"sources": [
{
"slug": "dbip-country-lite",
"name": "DB-IP IP to Country Lite 2026-08",
"publisher": "DB-IP",
"licence": "Creative Commons Attribution 4.0",
"attribution": "IP geolocation by DB-IP (https://db-ip.com)",
"source_url": "https://db-ip.com/db/download/ip-to-country-lite",
"file_url": "https://download.db-ip.com/free/dbip-country-lite-2026-08.csv.gz",
"cadence": "monthly",
"record_count": 706484,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:53:53"
},
{
"slug": "iptoasn",
"name": "IP to ASN database",
"publisher": "iptoasn.com (Frank Denis)",
"licence": "Public Domain (PDDL v1.0)",
"attribution": null,
"source_url": "https://iptoasn.com/",
"file_url": "https://iptoasn.com/data/ip2asn-v4.tsv.gz",
…
Show full response
Example response
{
"ok": true,
"count": 11,
"attribution": [
"IP geolocation by DB-IP (https://db-ip.com)"
],
"sources": [
{
"slug": "dbip-country-lite",
"name": "DB-IP IP to Country Lite 2026-08",
"publisher": "DB-IP",
"licence": "Creative Commons Attribution 4.0",
"attribution": "IP geolocation by DB-IP (https://db-ip.com)",
"source_url": "https://db-ip.com/db/download/ip-to-country-lite",
"file_url": "https://download.db-ip.com/free/dbip-country-lite-2026-08.csv.gz",
"cadence": "monthly",
"record_count": 706484,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:53:53"
},
{
"slug": "iptoasn",
"name": "IP to ASN database",
"publisher": "iptoasn.com (Frank Denis)",
"licence": "Public Domain (PDDL v1.0)",
"attribution": null,
"source_url": "https://iptoasn.com/",
"file_url": "https://iptoasn.com/data/ip2asn-v4.tsv.gz",
…{
"ok": true,
"count": 11,
"attribution": [
"IP geolocation by DB-IP (https://db-ip.com)"
],
"sources": [
{
"slug": "dbip-country-lite",
"name": "DB-IP IP to Country Lite 2026-08",
"publisher": "DB-IP",
"licence": "Creative Commons Attribution 4.0",
"attribution": "IP geolocation by DB-IP (https://db-ip.com)",
"source_url": "https://db-ip.com/db/download/ip-to-country-lite",
"file_url": "https://download.db-ip.com/free/dbip-country-lite-2026-08.csv.gz",
"cadence": "monthly",
"record_count": 706484,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:53:53"
},
{
"slug": "iptoasn",
"name": "IP to ASN database",
"publisher": "iptoasn.com (Frank Denis)",
"licence": "Public Domain (PDDL v1.0)",
"attribution": null,
"source_url": "https://iptoasn.com/",
"file_url": "https://iptoasn.com/data/ip2asn-v4.tsv.gz",
"cadence": "hourly",
"record_count": 578919,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:53:53"
},
{
"slug": "ranges-aws",
"name": "AWS published IP ranges",
"publisher": "AWS",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://ip-ranges.amazonaws.com/ip-ranges.json",
"file_url": "https://ip-ranges.amazonaws.com/ip-ranges.json",
"cadence": "daily-weekly",
"record_count": 16684,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:42"
},
{
"slug": "ranges-azure",
"name": "Azure published IP ranges",
"publisher": "Azure",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63/ServiceTags_Public_20260824.json",
"file_url": "https://download.microsoft.com/download/7/1/d/71d86715-5596-4529-9b13-da13a5de5b63/ServiceTags_Public_20260824.json",
"cadence": "daily-weekly",
"record_count": 60758,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:48"
},
{
"slug": "ranges-cloudflare",
"name": "Cloudflare published IP ranges",
"publisher": "Cloudflare",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://www.cloudflare.com/ips-v4",
"file_url": "https://www.cloudflare.com/ips-v4",
"cadence": "daily-weekly",
"record_count": 22,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:44"
},
{
"slug": "ranges-digitalocean",
"name": "DigitalOcean published IP ranges",
"publisher": "DigitalOcean",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://digitalocean.com/geo/google.csv",
"file_url": "https://digitalocean.com/geo/google.csv",
"cadence": "daily-weekly",
"record_count": 1228,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:44"
},
{
"slug": "ranges-fastly",
"name": "Fastly published IP ranges",
"publisher": "Fastly",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://api.fastly.com/public-ip-list",
"file_url": "https://api.fastly.com/public-ip-list",
"cadence": "daily-weekly",
"record_count": 21,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:45"
},
{
"slug": "ranges-gcp",
"name": "GCP published IP ranges",
"publisher": "GCP",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://www.gstatic.com/ipranges/cloud.json",
"file_url": "https://www.gstatic.com/ipranges/cloud.json",
"cadence": "daily-weekly",
"record_count": 1092,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:42"
},
{
"slug": "ranges-github",
"name": "GitHub published IP ranges",
"publisher": "GitHub",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://api.github.com/meta",
"file_url": "https://api.github.com/meta",
"cadence": "daily-weekly",
"record_count": 7623,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:45"
},
{
"slug": "ranges-oracle",
"name": "Oracle published IP ranges",
"publisher": "Oracle",
"licence": "Published by the operator for public use",
"attribution": null,
"source_url": "https://docs.oracle.com/iaas/tools/public_ip_ranges.json",
"file_url": "https://docs.oracle.com/iaas/tools/public_ip_ranges.json",
"cadence": "daily-weekly",
"record_count": 1107,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:43"
},
{
"slug": "tor-exits",
"name": "Tor bulk exit list",
"publisher": "The Tor Project",
"licence": "Public",
"attribution": null,
"source_url": "https://check.torproject.org/",
"file_url": "https://check.torproject.org/torbulkexitlist",
"cadence": "~30 minutes",
"record_count": 1415,
"retrieved_at": "2026-08-28",
"updated_at": "2026-08-28 02:59:49"
}
]
}