Bulk IP Lookup & CSV Enricher
Paste IPs, raw logs, or drop a CSV/TXT file. Enrich city, country, ASN, and 12 threat flags via POST /v1/ip/batch and export CSV or JSON.
| IP | Ver | City | Country | ASN | Organization | Net Type | Confidence | Security Flags |
|---|
Automating Batch Enrichment in CI, SIEM & Data Pipelines
Up to 100 IPs per POST Request
Every browser batch here calls POST https://api.ipdatum.com/v1/ip/batch with deduplicated chunks of up to 100 IPs (16 KB payload max). Responses preserve your exact input order and report per-IP validation errors inline without failing valid items.
23 Exportable CSV Fields
Click Download CSV above for RFC 4180 escaped rows covering IP, version, bogon status, city, region, country, macro area, coordinates, confidence level, accuracy radius, ASN, org, org type, network type, and all 12 security booleans.
Batch cURL Request
curl -s -X POST https://api.ipdatum.com/v1/ip/batch \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_FREE_KEY" \
-d '{"ips":["8.8.8.8","1.1.1.1","2001:4860:4860::8888"]}' | jq .
Python Chunked Log Enricher
import json, urllib.request
def enrich_chunks(ips, api_key="", size=100):
hdr = {"Content-Type": "application/json"}
if api_key:
hdr["Authorization"] = f"Bearer {api_key}"
for i in range(0, len(ips), size):
req = urllib.request.Request(
"https://api.ipdatum.com/v1/ip/batch",
data=json.dumps({"ips": ips[i:i+size]}).encode(),
headers=hdr,
)
yield from json.load(urllib.request.urlopen(req))["results"]
Worldwide Regional Routing Coverage & Batch Export Schema (235+ Countries · 86,901 ASNs)
Every bulk CSV or JSON upload enriches client IPs across all global Internet routing regions with sub-millisecond global edge lookup:
| Macro Region | Countries | Active ASNs | Share of Global Routed IPv4 |
|---|---|---|---|
NA | 2 | 23,169 | 42.8% |
EU | 52 | 25,038 | 20.6% |
APAC | 59 | 27,989 | 26.8% |
LATAM | 52 | 13,479 | 5.3% |
AFRICA | 58 | 2,807 | 3.1% |
ME | 14 | 2,176 | 1.3% |
Exported Batch Schema (23 CSV Columns)
| Field Group | Returned JSON / CSV Columns | Operational Guarantee |
|---|---|---|
| Input & Calibration | ip, ip_version, is_bogon, confidence_level, accuracy_radius_km | Distinguishes city vs. region vs. country confidence honestly |
| Geolocation | city, region, country_code, country_name, area, latitude, longitude | Normalized ISO-2 country, full country name, and 6 macro area codes |
| Locale & Routing | timezone, utc_offset, continent_code, prefix | IANA timezone resolution plus matched BGP prefix boundary |
| Network & ASN | asn, org, org_type, network_type | 8 infrastructure roles across 86,000+ active ASNs |
| Security Booleans | is_cloud, is_datacenter, is_vpn, is_proxy, is_tor, is_relay, is_abuser, is_mobile, is_satellite, is_anycast | Real-time security boolean checks across global threat telemetry |
For automated log pipelines exceeding browser upload limits, stream up to 1,000 mixed IPv4 and IPv6 addresses per request directly to POST https://api.ipdatum.com/v1/ip/batch and receive normalized JSON objects preserving input ordering.
Frequently Asked Questions
How many IP addresses can I check at once in Bulk IP Lookup?
Anonymous browser runs process up to 100 unique IPs per click via POST /v1/ip/batch (1,000 IPs/day). Adding your free 50,000/day API key from /dashboard raises browser batch execution to 2,000 IPs per run.
Can I paste raw firewall logs or CSV files without cleaning them first?
Yes. The local browser parser extracts valid IPv4 and IPv6 literals directly out of web access logs, SIEM exports, comma lists, or whitespace-separated dumps before sending compact chunks to the edge API.
What columns appear in exported Bulk CSV files?
Exports include 23 normalized columns: IP, version, bogon flag, city, region, ISO-2 country, macro area, latitude, longitude, confidence level, accuracy radius, ASN, org, org type, network type, plus booleans for cloud, datacenter, hosting, mobile, relay, satellite, anycast, Tor, VPN, proxy, and abuser.
Does POST /v1/ip/batch preserve input order and mixed IPv4/IPv6?
Yes. Results strictly mirror your input list sequence, and both IPv4 and compressed or expanded IPv6 addresses work seamlessly in the same request.
How should I enrich millions of access log rows efficiently?
Deduplicate unique socket IPs first (or aggregate repeated hits per /24), check reputation with our IP Reputation Checker, and cache responses per prefix inside your ETL pipeline.