IP to ASN

Identify the ASN for any IP address. Get the Autonomous System Number, organisation name, network type, and risk classification. 10,000 requests per month for free. Database downloads available.

Detailed ASN 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.

View Pricing Try our ASN Lookup tool
JSON Field Description Package
{
"asn": {
"number": "AS8075", The Autonomous System Number that announces this IP prefix. Identity
"name": "MICROSOFT-CORP-MSN-AS-BLOCK", The registered name of the AS as listed by the RIR. Identity
"company": "Microsoft Corporation", The legal organisation name that owns the AS. Identity
"country": "US", ISO 3166-1 alpha-2 country code where the AS is registered. Identity
"route": "74.144.0.0/12", The most-specific BGP route prefix that contains this IP. Identity
"rir": "ARIN", The Regional Internet Registry responsible for this address block (e.g. ARIN, RIPE, APNIC). Identity
"domain": "www.microsoft.com", optional Primary domain associated with the AS owner, if available. Identity
"type": "hosting", optionalClassification of the AS, if available. One of: isp, hosting, business, government, education. Identity
"description": "Provides consumer and enterprise software...", optional Human-readable description of the organisation that owns this AS. Identity
"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. Identity
"risk_label": "very_high", optional Human-readable risk level: very_low, low, moderate, high, or very_high. Identity
"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.
Identity
}
}
Field Value Description Package
asnAS8075The Autonomous System Number that announces this IP prefix.Identity
asn_nameMICROSOFT-CORP-MSN-AS-BLOCKThe registered name of the AS as listed by the RIR.Identity
asn_companyMicrosoft CorporationThe legal organisation name that owns the AS.Identity
asn_countryUSISO 3166-1 alpha-2 country code where the AS is registered.Identity
route74.144.0.0/12The most-specific BGP route prefix that contains this IP.Identity
rirARINThe Regional Internet Registry responsible for this address block (e.g. ARIN, RIPE, APNIC).Identity
asn_domainwww.microsoft.comPrimary domain associated with the AS owner, if available.Identity
asn_typehostingClassification of the AS. One of: isp, hosting, business, government, education.Identity
asn_descriptionProvides consumer and enterprise software...Human-readable description of the organisation that owns this AS.Identity
asn_risk0.9Numeric risk score for the AS, from 0.0 (very low risk) to 1.0 (very high risk).Identity
asn_risk_labelvery_highHuman-readable risk level: very_low, low, moderate, high, or very_high.Identity

Using IP to ASN data in your application

IP Trust ASN data can be used to detect hosting providers, classify traffic sources, and evaulate request risk.

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 for up to 10k requests a month, 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

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). The Identity package also includes 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 Identity database 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.

Free for up to 10k requests a month

Take a look at our ASN data yourself with a free account, no credit card required, and see if it's right for you. If you need further assistance, our support team is always here to help.