IP to ASN

Identify the network behind any IP address. Get the Autonomous System Number, organisation name, routing prefix, registry, and risk classification.

Comprehensive IP to ASN and network data

IP Trust maps any IP to its ASN, returning the AS number, registered name, owning organisation, BGP route prefix, RIR, network classification, and risk scoring powered by Friendly Captcha.

Download Sample
JSON Field Description Plans
{
"asn": {
"number": "AS8075", The Autonomous System Number that announces this IP prefix. Essential Plus Premium
"name": "MICROSOFT-CORP-MSN-AS-BLOCK", The registered name of the AS as listed by the RIR. Essential Plus Premium
"company": "Microsoft Corporation", The legal organisation name that owns the AS. Essential Plus Premium
"country": "US", ISO 3166-1 alpha-2 country code where the AS is registered. Essential Plus Premium
"route": "74.144.0.0/12", The most-specific BGP route prefix that contains this IP. Essential Plus Premium
"rir": "ARIN", The Regional Internet Registry responsible for this address block (e.g. ARIN, RIPE, APNIC). Essential Plus Premium
"domain": "www.microsoft.com", optional Primary domain associated with the AS owner, if available. Essential Plus Premium
"type": "hosting", optionalClassification of the AS, if available. One of: isp, hosting, business, government, education. Plus Premium
"description": "Provides consumer and enterprise software...", optional Human-readable description of the organisation that owns this AS. Plus Premium
"risk": 0.9, optional Numeric risk score for the AS, from 0.0 (very low risk) to 1.0 (very high risk), based on observed threat signals from Friendly Captcha. Only provided when Friendly Captcha has observed enough traffic to make a determination. Premium
"risk_label": "very_high", optional Human-readable risk level: very_low, low, moderate, high, or very_high. Premium
"risk_types": ["request_frequency", "repeated_abuse"] optional List of risk signal categories that contributed to the risk score, if available:
  • confirmed_bot - A significant number of confirmed bot requests have been observed from this AS.
  • suspected_bot - A significant number of suspected bot requests have been observed from this AS.
  • traffic_volume - Larger than expected volumes of traffic against individual websites has been observed from this AS.
  • repeated_abuse - Repeated abuse activity has been observed from this AS, across a number of distinct incidents.
  • targeted_abuse - Targeted abuse activity against specific websites has been observed from this AS.
Premium
}
}
Field Value Description Database Package
asnAS8075The Autonomous System Number that announces this IP prefix.ASN & Abuse Contacts
asn_nameMICROSOFT-CORP-MSN-AS-BLOCKThe registered name of the AS as listed by the RIR.ASN & Abuse Contacts
asn_companyMicrosoft CorporationThe legal organisation name that owns the AS.ASN & Abuse Contacts
asn_countryUSISO 3166-1 alpha-2 country code where the AS is registered.ASN & Abuse Contacts
route74.144.0.0/12The most-specific BGP route prefix that contains this IP.ASN & Abuse Contacts
rirARINThe Regional Internet Registry responsible for this address block (e.g. ARIN, RIPE, APNIC).ASN & Abuse Contacts
asn_domainwww.microsoft.comPrimary domain associated with the AS owner, if available.ASN & Abuse Contacts
asn_typehostingClassification of the AS. One of: isp, hosting, business, government, education.ASN & Abuse Contacts
asn_descriptionProvides consumer and enterprise software...Human-readable description of the organisation that owns this AS.ASN & Abuse Contacts
asn_risk0.9Numeric risk score for the AS, from 0.0 (very low risk) to 1.0 (very high risk).ASN & Abuse Contacts
asn_risk_labelvery_highHuman-readable risk level: very_low, low, moderate, high, or very_high.ASN & Abuse Contacts

Using IP to ASN data in your business

Understand the network behind every IP address. Identify hosting providers, classify traffic sources, and detect high-risk autonomous systems.

Bot & Fraud Prevention

Identify traffic originating from data centres, hosting providers, and high-risk networks. Flag or challenge requests from ASNs with elevated risk scores to protect your platform from automated abuse.

Network Classification

Distinguish between ISP, hosting, business, government, and education networks. Tailor your security rules and access policies based on the type of network a request originates from.

Traffic Analytics

Enrich your analytics with network-level metadata. Understand which ISPs and organisations are driving traffic to your platform, and identify patterns across autonomous systems.

Why IP Trust for IP to ASN?

As part of Friendly Captcha, the IP Trust ASN database has been helping to protect the internet from bots since 2020.

Direct from the source

We collect ASN data directly from all five Regional Internet Registries (ARIN, RIPE, APNIC, LACNIC, AFRINIC) and live BGP routing tables. We own our entire database outright and never resell data from other providers.

RIR Records BGP Tables WHOIS

Classification & risk scoring

Every AS is classified by type (ISP, hosting, business, government, education) and scored for risk based on real-world threat signals observed by Friendly Captcha across billions of requests.

5 Network Types Risk Scoring Threat Signals

Full global coverage, daily updates

Complete coverage of all allocated ASNs worldwide. Our ASN data is updated daily to reflect the latest BGP routing changes, new AS registrations, and ownership transfers.

IPv4 & IPv6 All 5 RIRs Daily Updates

Get started with IP to ASN

Choose the integration model that works best for your use case.

{ "number": "AS8075", "name": "MICROSOFT-CORP-MSN-AS-BLOCK", "company": "Microsoft Corporation", "country": "US", "route": "74.144.0.0/12", "rir": "ARIN", "type": "hosting", "risk": 0.9, "risk_label": "very_high" }

ASN IP API

  • Integration with any language in less than 5 minutes
  • Free 30 day trial, no credit card required
  • 99.99% Uptime and <100ms
NetworkASNCompanyCountryTypeRiskRisk Label
1.235.198.0/23AS9318SK Broadband Co LtdKRisp0very_low
4.242.248.0/21AS8075Microsoft CorporationUShosting0.9very_high
5.108.121.0/24AS35819MobilySAisp0.1low
14.47.85.0/24AS4766Korea TelecomKRisp0.2low
23.192.0.0/11AS16625Akamai TechnologiesUShosting0.3moderate

ASN Database Download

  • Download CSV, MMDB, JSON and Parquet Dumps
  • Maximum Privacy and Compliance
  • Unlimited volume and zero latency
Download ASN Sample Preview the full ASN dataset. Download a free sample CSV now.
Download CSV

FAQ

What does IP to ASN mean?

IP to ASN is the process of mapping an IP address to its Autonomous System Number - the unique identifier assigned to a network on the internet. An ASN tells you which organisation owns and operates the network behind any given IP address, whether it's an ISP, a cloud provider, a business, or a government entity.

What data does the IP to ASN lookup return?

Each IP to ASN lookup returns the AS number, registered name, owning organisation, country of registration, BGP route prefix, and Regional Internet Registry (RIR). Higher-tier plans also include network classification (ISP, hosting, business, government, education), a human-readable description, and a risk score based on real-world threat signals observed by Friendly Captcha.

Can I download the full ASN database?

Yes. The IP Trust ASN database is available for download as part of the ASN & Abuse Contacts package. It includes all ASN fields in MMDB, CSV, JSON, and Parquet formats. The ASN database is updated daily and allows you to perform IP to ASN lookups locally with zero external calls. See our database downloads page for details.

How is the ASN risk score calculated?

The ASN risk score ranges from 0.0 (very low) to 1.0 (very high) and is based on real-world threat signals observed by Friendly Captcha across billions of requests. Risk types include confirmed bots, suspected bots, abnormal traffic volume, repeated abuse, and targeted abuse. The score is only provided when enough traffic has been observed to make a reliable determination.

Does IP to ASN work for both IPv4 and IPv6?

Yes. IP Trust provides full IP to ASN mapping for both IPv4 and IPv6 addresses. The ASN database covers all allocated autonomous systems from all five Regional Internet Registries (ARIN, RIPE, APNIC, LACNIC, AFRINIC) with daily updates.

Start your free trial now, no credit card required

Take a look at our ASN data yourself with a free 30-day trial, and see if it's right for you. If you need further assistance, our support team is always here to help.