Every IP dataset is now available in Apache Parquet format
1796125145380

Every Ipregistry dataset now comes as an Apache Parquet file, next to CSV and MMDB. If you load IP geolocation, VPN, proxy or ASN data into a data warehouse or a data lake, the columns arrive typed and compressed, ready to query without a parsing step.
What you gain
No schema to write. Each column carries its type: text, numbers for coordinates and AS numbers, booleans for flags such as
is_exit_node. An empty value is a real null.Smaller downloads. Files are compressed with zstd. The Geolocation dataset is 2.7 GB in CSV and about 320 MB in Parquet, close to the zipped CSV, with nothing to unzip before loading.
Faster queries. Parquet stores data by column, so your engine reads only the columns a query needs.
The same data. Same columns and same rows as the CSV file, IPv4 and IPv6 together, refreshed every day.
Works with your stack
Parquet is read natively by BigQuery, Snowflake, Databricks, Apache Spark, Amazon Athena, ClickHouse, DuckDB, pandas and Polars. Point your tool at the file and query it.
Try it on a free sample
Each dataset has a 100-row Parquet sample that needs no account. With DuckDB, one query reads it straight from our servers:
SELECT country_code, count(*) AS ranges
FROM 'https://samples.ipregistry.co/datasets/ipregistry-geolocation-sample.parquet'
GROUP BY country_code
ORDER BY ranges DESC;Enrich your own data
To add a location to a table of IP addresses, such as logs or events, load the file once with the range bounds cast to the address type of your engine, then join. With DuckDB:
CREATE TABLE geolocation AS
SELECT *, ip_start::INET AS range_start, ip_end::INET AS range_end
FROM 'ipregistry-geolocation.parquet';
SELECT e.ip, g.country_code, g.city
FROM events e
ASOF JOIN geolocation g ON e.ip::INET >= g.range_start
WHERE e.ip::INET <= g.range_end;Geolocation ranges never overlap, so the range of an address is the last one that starts at or before it, which is what the ASOF JOIN finds. Complete examples for DuckDB and Python are on GitHub.
Looking up one address per request inside an application? Use the MMDB file of the dataset instead: it is built for single lookups and needs no database.
Good to know
Range bounds
ip_startandip_endare text, as in the CSV file. Cast them once, when you load the file, rather than in every query.The Geofeed dataset keeps its
subnetcolumn in CIDR notation, and the AS dataset has one row per AS number.MD5, SHA-1, SHA-256 and SHA-512 checksums are published for every file.
CSV and MMDB downloads do not change.
How to get it
Parquet is included with every dataset you subscribe to, with the same download key. Open Datasets in the dashboard and pick Parquet as the download format, or fetch a file from a script:
curl -fO "https://download.ipregistry.co/ipregistry-geolocation.parquet?key=YOUR_SECRET_KEY"New to our datasets? Browse the 14 of them, including Geolocation, VPN, Proxy, Tor, Company and AS, with samples and field references on the datasets page.
