IP ASN Database Lite


Overview

Our IP to ASN Database lets you resolve any IPv4 or IPv6 address to its Autonomous System Number (ASN) and owning organization, complete with AS name, ISP/organization, announced prefixes, and routing context. Built from continuously refreshed registry and BGP sources, it helps you attribute traffic, understand upstreams and peering, and spot misroutes or policy drift across your network edge.

Updated regularly and delivered in flexible formats (CSV, JSON, MMDB, or via API), each record includes ASN, AS name, organization, country/registry, prefix and prefix length, announcement status, and related metadata useful for enrichment and routing analysis. Below you’ll find the full documentation: field definitions, file specs, example responses, and integration notes for SIEM/SOAR, NetOps, and threat-intel pipelines.


Available Database Formats

CSV
CSVCSV
  • File Size: 186.32 MB
  • Entries: 30.7M
  • Fields: 7
  • Last Updated: Today
MMDB
MMDBMMDB
  • File Size: 14.26 MB
  • Entries: 30.7M
  • Fields: 7
  • Last Updated: Today
Important
If you require our IP to ASN (Lite) Database in a different format, such as Parquet or any custom structure, please feel free to reach out to us via our Contact form. We are happy to accommodate specific format requests to meet your needs.

CSV Database Documentation


1. Overview

The CSV version is a set of Gzip-compressed CSV files containing IP ranges and their ASN information. Designed for bulk imports and integration into relational databases.


2. Archive Content

After downloading and extracting the IP to ASN (Lite) CSV database archive, you'll find the following files (with their types noted):

db-asn-details.csv.gz
db-asn-details.csv.gzdb-asn-details.csv.gz

Gzip-compressed CSV provides ASN info: number, organization, domain, type, and country.

  • File Size: 2.66 MB
  • Entries: 129.8K
  • Fields: 6
db-ip-asn.csv.gz
db-ip-asn.csv.gzdb-ip-asn.csv.gz

Each start_ip, end_ip links to the ASN details ID that is related to the asn-details file.

  • File Size: 183.65 MB
  • Entries: 30.7M
  • Fields: 3
README.md
README.mdREADME.md

Documentation for dataset contents, schema, usage, and support.

  • File Size: 4.55 KB
checksum.txt
checksum.txtchecksum.txt

SHA-256 checksums for verifying file integrity.

  • File Size: 247 Bytes

Schema

This section describes the schema of each file included in the IP to ASN (Lite) Database archive. For every file, you'll find its purpose, field definitions, and examples to help with integration.


1. db-ip-asn.csv.gz

This file contains IP address ranges linked to ASN information. It maps each IP block to a unique asn_details_id, which in turn corresponds to the AS's organization, domain, type, and country.

FieldTypeDescriptionCan be empty?Example
start_ipstringThe starting IP address of the range in IPv4 or IPv6 format.No192.168.0.1
end_ipstringThe ending IP address of the range in IPv4 or IPv6 format.No192.168.0.255
idnumberThe unique identifier for the ASN details.No1
Tip
asn_details_id joins to db-asn-details.id to get ASN information for IP.

I. Example Records

Example
start_ip,end_ip,asn_details_id
89.242.196.55,89.242.196.55,80550
24.18.213.248,24.18.213.248,64333
2a02:8424:6ec1:2601:799c:6ee2:d430:0,2a02:8424:6ec1:2601:799c:6ee2:d430:ffff,109068
181.134.171.22,181.134.171.22,81167
100.11.137.30,100.11.137.30,29255
189.46.112.0,189.46.112.54,79607
158.220.98.151,158.220.99.48,64940
67.4.67.103,67.4.67.103,26155
182.53.124.114,182.53.124.114,21099
205.178.90.51,205.178.90.51,46089

2. db-asn-details.csv.gz

This file contains detailed Autonomous System Number (ASN) information. Each entry links a unique ID to an AS number, organization, domain, type, and country.

FieldTypeDescriptionCan be empty?Example
idnumberThe unique identifier for the ASN details.No1
as_numberstringThe Autonomous System Number (ASN).NoAS15169
organizationstringThe organization associated with the ASN.NoGoogle LLC
domainstringThe domain associated with the ASN.Yesgoogle.com
typestringThe type of network associated with the ASN (e.g., business, residential, etc.).Nobusiness
countrystringThe country where the ASN is registered.NoUS
Tip
id in the db-asn-details.csv.gz file joins to the asn_details_id field in db-ip-asn.csv.gz

I. Example Records

Example
id,as_number,organization,domain,type,country
29255,701,Verizon Business,verizonbusiness.com,ISP,US
46089,6079,RCN,rcn.com,ISP,US
109068,15557,Societe Francaise Du Radiotelephone SFR SA,gaoland.net,ISP,FR
80550,13285,TalkTalk Communications Limited,pxc.co.uk,ISP,GB
64333,7922,"Comcast Cable Communications, LLC",comcast.com,ISP,US
64940,51167,Contabo GmbH,contabo.de,HOSTING,DE
79607,27699,TELEF�NICA BRASIL S.A,telefonica.com,BUSINESS,BR
21099,23969,TOT Public Company Limited,ntplc.co.th,BUSINESS,TH
81167,13489,UNE EPM TELECOMUNICACIONES S.A.,tigo.com.co,ISP,CO
26155,209,"CenturyLink Communications, LLC",centurylink.com,ISP,US

3. File Relationship Diagram

The diagram below illustrates the relationships between the various files included in the CSV database package. It shows how the main CSV file connects to reference table for asn details, ensuring accurate data linkage and integrity.

Image

File Format & Encoding

All IP to ASN (Lite) CSV datasets are provided in UTF-8 encoding, comma-separated, and compressed with Gzip (.csv.gz). Each file includes a header row listing the field names for clarity and consistency.

Field values are unquoted by default, with quotes applied only in the following cases:

  • Line breaks within text fields.
  • Commas inside a value (e.g., addresses).
  • Lists of values (e.g., languages).
  • Spaces that may be auto-quoted by export tools.

MMDB Database Documentation


1. Overview

MMDB version of the database consists of three files: one MMDB file containing all ASN information, a README file, and a checksum file, all compressed together in a ZIP file for easy delivery.


2. Archive Content

After downloading and extracting the IP to ASN (Lite) MMDB database archive, you'll find the following files (with their types noted):

db-ip-asn.mmdb
db-ip-asn.mmdbdb-ip-asn.mmdb

Provides full ASN details for IP addresses: organization, domain, type, and country.

  • File Size: 14.26 MB
  • Entries: 30.7M
README.md
README.mdREADME.md

Documentation for dataset contents, schema, usage, and support.

  • File Size: 4.55 KB
checksum.txt
checksum.txtchecksum.txt

SHA-256 checksums for verifying file integrity.

  • File Size: 157 Bytes

Response Schema

This section describes the structure of the data returned from the IP to ASN (Lite) MMDB file. Each field is detailed with its type, meaning, and example values to help you interpret responses and integrate them into your applications.


1. db-ip-asn.mmdb

This file contains Autonomous System Number (ASN) mappings for both IPv4 and IPv6 address ranges. Below is an example of the structure you will encounter in the response.


2. Field Reference

The following reference lists all fields available in the MMDB response. Each entry includes the field path, its description, data type, and example value to help you understand how to parse and integrate the data.

Showing 0 of 5
Select a field to view details

I. Example Records

Example
{
  "asn": {
    "as_number": "13285",
    "country_code": "GB",
    "domain": "pxc.co.uk",
    "organization": "TalkTalk Communications Limited",
    "type": "ISP"
  }
}

Database Integrity & Authenticity Verification

There are two methods of verifying the integrity and authenticity of our Database:


1. Using the Signature File (Recommended)

IPGeolocation.io signs every database release to ensure its authenticity and integrity. This allows customers to verify that a downloaded IP to ASN (Lite) database file originates directly from IPGeolocation.io and has not been altered, corrupted, or tampered with during transfer or storage.

Each database update includes a corresponding signature file, generated using our private signing key. Customers can validate the database using the provided public verification key. To verify a database file, you need:

  1. Database file (the downloaded archive)
  2. Signature file (the matching signature for that archive)
  3. Public key (public-key.pem)

These files are available via official IPGeolocation.io download endpoints and are also shared in database update notifications.

Note

The public key may be provided as PEM-encoded text. Save it to a file named public-key.pem

Ensure OpenSSL is installed on your system. If not, install it using the following commands

On Linux, if openssl is not installed

sudo apt install openssl

Verify OpenSSL installation:

openssl version

To verify the database file, run the following command, replacing the placeholders with your actual file paths:

openssl dgst -sha256 -verify <path-to-public-key.pem> -signature <path-to-signature-file.sig> <path-to-database-file.zip>

Example output:

Verified OK

if verification FAILED do not use the file, re-download the database and signature from official IPGeolocation endpoints. If the issue persists, please contact our support team.


2. Using the Checksum File (Legacy)

Each database archive includes a checksum.txt file containing the SHA-256 checksums for the files packaged in the archive. You can use this file to validate that the extracted contents are complete and unchanged.

Tip

Always verify downloaded files with the provided checksum before importing.

On Linux, if sha256sum is not installed, first run:

sudo apt-get install coreutils

Then check the archive files against the checksum file with:

sha256sum -c checksum.txt

Example output:

db-asn-details.csv.gz: OK
db-ip-asn.csv.gz: OK
README.md: OK

*your output may differ depending on the specific database archive you downloaded.

If a file's checksum does not match, FAILED will be shown instead of OK . If verification fails, first confirm that the download completed correctly; if the issue persists, please contact our support team.

Important
Signature verification confirms both authenticity and integrity. Checksum verification confirms integrity only (it detects corruption/modification, but does not independently prove who produced the file).

Data Format & Constraints

  • All fields defined in the schema are always present in the IP to ASN (Lite) MMDB response.
  • Fields may contain empty strings (""), but never null, so null checks are not required.
  • Place names such as countries, states, districts, and cities are available in multiple translations.
  • All text values are encoded in UTF-8.
  • Field names and response structure remain stable across updates for backward compatibility.

Database Updates & Delivery

When you subscribe to our IP to ASN (Lite) database, we'll send you static download links. These links never change, so you can use them both for your initial download and for all future updates. You will receive:

  1. Database Archive URL : downloads the latest release of your subscribed database (CSV, MMDB or requested formats).
  2. Signature File URL : downloads the matching signature file for the latest release (used for authenticity verification).
  3. Public Key URL : downloads the public verification key (used with the signature file).
  4. Status Endpoint URL : returns the database's most recent update timestamp.

Our databases are refreshed daily and weekly, ensuring you always have access to the most current data. Each time your subscribed dataset is updated, you'll also receive an email notification so you don't miss a release.

For automated workflows, you can check our status endpoint to see the last update timestamp. When the date changes, simply re-fetch the archive using your static download URL to pull the latest version into your system.

Subscribe Our Newsletter

Get the latest in geolocation tech, straight to your inbox.