IP to Company Database
The IP to Company Database answers the question "who is behind this IP address?" for the entire IPv4 and IPv6 address space. For each of its 7,998,974 networks it names the organization, its website domain and its type: hosting provider, ISP, business, university, government or bank. It also includes the network's abuse contact and the share of its addresses that are known for abuse. The data comes from the WHOIS records of all five Regional Internet Registries and several national registries, rebuilt every day.
- Organization name, domain and network name for every allocated IPv4 and IPv6 range
- Down to the customer: where an ISP has assigned a block to a business, a school or an authority, that customer is named
- Six organization types:
hosting,isp,business,education,governmentandbanking - Abuse contact (name, email, phone, address) and an abuser score for every network
- CSV for bulk imports, MMDB for fast lookups from any programming language
- The same data as the
companyobject of the ipapi.is API
IP to Company Database
Demo for IP to Company Database
Enter any IP address to obtain the IP to Company data associated with this IP address.
{
"company": {
"name": "Deutsche Telekom AG",
"abuser_score": "0 (Very Low)",
"domain": "telekom.de",
"type": "isp",
"network": "79.192.0.0 - 79.244.191.255",
"netname": "DTAG-DIAL24"
},
"abuse": {
"name": "DTAG Global IP-Addressing",
"address": "Deutsche Telekom AG, Darmstadt, Germany",
"email": "abuse@telekom.de",
"phone": "+49 180 2 33 1000"
}
}
Limited output — unauthenticated requests get 10 fields. Log in or sign up free and this box returns the complete API response.
# Use Cases
Knowing which organization an IP address belongs to, and what kind of organization it is, turns an anonymous address into something you can act on:
B2B marketing and sales
See which companies visit your website, enrich leads with the company and its domain, and target account-based campaigns at the organizations that already show interest.
Fraud prevention
A customer who shops from a hosting provider's network is rarely a person at home. The
type field separates servers and bots from consumers.
Security and abuse handling
Attribute attacks to the organization behind them and send abuse reports straight to the right
contact, with abuseEmail and abusePhone.
Analytics
Segment traffic by organization and sector: how many visitors come from universities, government agencies, banks or businesses, and which ones convert.
Access and pricing rules
Grant campus licenses to university networks, trust government and banking networks more, or show a different offer to visitors from businesses.
Risk scoring
Combine the organization type with the abuser_score of its network to score every
connection, signup or transaction.
# Purchase Database
Create a free account, subscribe in your dashboard with a card or PayPal, and download the database right away, in every format it comes in. The subscription is billed monthly and can be canceled at any time. Updates are included: your personal download link always serves the latest release, so one scheduled command keeps your copy current. See pricing and the terms.
Need more than one database? The Business plan includes all seven databases ($563 per month if bought separately), the largest standard API plan and the right to run the API on your own servers, for $200 per month.
# Database Format
The database is one file in CSV or MMDB format. IPv4 and IPv6 records are in the same file, and each record
covers the range from startIp to endIp. Empty fields mean the value is not known
for that range.
| Column | Description | Example |
|---|---|---|
startIp |
First IP address of the range | 2.32.0.0 |
endIp |
Last IP address of the range (inclusive) | 2.47.255.255 |
ipVersion |
4 for IPv4, 6 for IPv6 |
4 |
company |
Name of the organization the range is assigned to | Fastweb SpA |
abuser_score |
Share of the network's addresses that are known for abuse, with its rating (see below) | 0 (Very Low) |
domain |
Website domain of the organization | fastweb.it |
type |
Organization type (see below) | isp |
rir |
Regional Internet Registry of the range: ARIN, RIPE,
APNIC, LACNIC or AFRINIC |
RIPE |
netname |
WHOIS name of the network | IT-FASTWEB-20100429 |
abuseName |
Name of the abuse contact | ip registration service |
abuseAddress |
Postal address of the abuse contact | Via Caracciolo, 51, 20155 Milano MI, Italy |
abuseEmail |
Email address for abuse reports | abuse@fastweb.it |
abusePhone |
Phone number of the abuse contact | +39 02 45451 |
The type field classifies the organization:
hosting: hosting, cloud and datacenter providers, for example Hetzner or Amazon AWSisp: Internet Service Providers that connect homes and mobile phonesbusiness: companies of every other kindeducation: universities, schools and research institutionsgovernment: government agencies, ministries and public authoritiesbanking: banks and other financial institutions
The abuser_score is the share of the network's IP addresses that are listed in the
IP to Abuser Database, with a rating:
- Very High: more than 20% of the network's addresses are abusive
- High: between 3% and 20%
- Elevated: between 0.85% and 3%
- Low: between 0.05% and 0.85%
- Very Low: less than 0.05%
An excerpt of the CSV file:
startIp,endIp,ipVersion,company,abuser_score,domain,type,rir,netname,abuseName,abuseAddress,abuseEmail,abusePhone
17.0.0.0,17.255.255.255,4,Apple Inc.,0 (Very Low),apple.com,business,ARIN,APPLE-WWNET,Apple Inc.,"One Apple Park Way, Cupertino, CA, 95014, US",abuse@apple.com,+1-408-974-7777
6.0.0.0,6.255.255.255,4,"Headquarters, USAISC",0 (Very Low),army.mil,government,ARIN,CONUS-YPG-NET,"Headquarters, USAISC","NETC-ANC CONUS TNOSC, Fort Huachuca, AZ, 85613, US",disa.columbus.ns.mbx.arin-registrations@mail.mil,+1-844-347-2457
3.0.0.0,3.127.255.255,4,Amazon Technologies Inc.,0 (Very Low),amazon.com,hosting,ARIN,AT-88-Z,Amazon Technologies Inc.,"410 Terry Ave N., Seattle, WA, 98109, US",trustandsafety@support.aws.com,+1-206-555-0000
4.0.0.0,4.127.255.255,4,"Level 3 Parent, LLC",0 (Very Low),level3.com,isp,ARIN,LVLT-ORG-4-8,"Level 3 Parent, LLC","100 CenturyLink Drive, Monroe, LA, 71203, US",abuse@level3.com,+1-877-453-8353
171.128.0.0,171.206.255.255,4,"Bank of America, National Association",0 (Very Low),bankofamerica.com,banking,ARIN,BAC-171-128-0-0-1,"Bank of America, National Association","Charlotte, NC, 28255, US",ABUSE@bankofamerica.com,+1-704-386-5000
120.96.0.0,120.127.255.255,4,Ministry of Education Computer Center,0 (Very Low),moe.edu.tw,education,APNIC,TANET-NET,TWNIC ROLE-TANET,"Ministry of Education Computer Center, 12F, No 106, Sec.2, Hoping E. Rd., Taipei",noc@mail.moe.gov.tw,+886-2-7712-9008
# How to Use the IP to Company Database
Download the MMDB sample:
curl -O https://ipapi.is/data/samples/companySample.mmdb
Look up an IP address with mmdbctl:
mmdbctl read -f json-pretty 17.0.0.10 companySample.mmdb
which outputs:
{
"abuseAddress": "One Apple Park Way, Cupertino, CA, 95014, US",
"abuseEmail": "abuse@apple.com",
"abuseName": "Apple Inc.",
"abusePhone": "+1-408-974-7777",
"abuser_score": "0 (Very Low)",
"company": "Apple Inc.",
"domain": "apple.com",
"ip": "17.0.0.10",
"ipVersion": "4",
"netname": "APPLE-WWNET",
"network": "17.0.0.0-17.255.255.255",
"rir": "ARIN",
"type": "business"
}
The MMDB format can be read by the MaxMind DB reader library of every major programming language. In Python:
import maxminddb # pip install maxminddb
reader = maxminddb.open_database('companySample.mmdb')
record = reader.get('17.0.0.10')
if record:
print(record['company'], record['domain'], record['type'])
# Data Sources
Every IP address is assigned to an organization by one of the five Regional Internet Registries: ARIN, RIPE NCC, APNIC, LACNIC and AFRINIC. Their WHOIS records are the authoritative source of who holds an address, so the IP to Company Database is built from them: we crawl the WHOIS record of every allocated network and keep the most specific one for every address.
The registries do not share a format. RIPE NCC, APNIC and AFRINIC link inetnum objects to
organisation objects. For example, whois -h whois.ripe.net 5.59.102.0 returns
these parts of the record for the network 5.59.102.0 - 5.59.103.255:
inetnum: 5.59.102.0 - 5.59.103.255
netname: ITGLOBE
descr: IT Globe s.r.o.
country: CZ
org: ORG-ITG9-RIPE
admin-c: CRA67-RIPE
admin-c: BART3-RIPE
tech-c: CRA67-RIPE
tech-c: BART3-RIPE
mnt-domains: vissado-mnt
mnt-domains: BARTOS-MNT
status: ASSIGNED PA
mnt-by: COPROSYS-MNT
created: 2023-09-29T19:05:06Z
last-modified: 2023-09-29T19:05:06Z
source: RIPE
organisation: ORG-ITG9-RIPE
org-name: IT Globe s.r.o.
org-type: OTHER
address: Rozsocha 30, 562 01 Orlicke Podhuri, Czech Republic
abuse-c: ACRO52879-RIPE
mnt-ref: COPROSYS-MNT
created: 2023-05-22T16:08:18Z
last-modified: 2023-05-22T16:08:18Z
source: RIPE # Filtered
mnt-by: vissado-mnt
ARIN uses NetRange records with an OrgName. These are the relevant parts of the
record for whois 205.202.161.139:
NetRange: 205.202.0.0 - 205.202.255.255
CIDR: 205.202.0.0/16
NetName: NETWORK-NEBRASKA
NetHandle: NET-205-202-0-0-1
Parent: NET205 (NET-205-0-0-0-0)
NetType: Direct Allocation
OriginAS: AS11714
Organization: Network Nebraska (NN-108-Z)
RegDate: 1995-03-31
Updated: 2017-07-21
OrgName: Network Nebraska
OrgId: NN-108-Z
Address: 14th and R
City: Lincoln
StateProv: NE
PostalCode: 68588
Country: US
RegDate: 2017-06-19
Updated: 2024-04-16
LACNIC has a format of its own. National registries hold the details for parts of the Asia-Pacific region, and they are used as well:
- JPNIC for Japanese organizations
- KRNIC for Korean organizations
- CNNIC for Chinese organizations
- TWNIC for Taiwanese organizations
Large providers subdivide their address space for their customers, and these assignments name the customer
rather than the provider. They are recorded in RWHOIS
(Referral WHOIS) servers and, at ARIN, in CustName records. For example,
whois -h whois.arin.net 209.73.4.32 shows a /28 network that a provider has reassigned to a
company in New York:
NetRange: 209.73.4.32 - 209.73.4.47
CIDR: 209.73.4.32/28
NetName: POMONA-GW-DTI-NET
NetHandle: NET-209-73-4-32-1
Parent: LOGICWORKS-209-CIDR (NET-209-73-0-0-1)
NetType: Reassigned
OriginAS:
Customer: Pomona Management Co. (C00014589)
RegDate: 1998-08-14
Updated: 2010-05-03
CustName: Pomona Management Co.
Address: 780 3rd Ave.
City: New York
StateProv: NY
PostalCode: 10017
Country: US
RegDate: 1998-08-14
Updated: 2011-03-19
Finding every network is part of the work: the registries' delegation files, such as ARIN's delegated-arin-extended-latest, list the blocks the registry hands out, but not the smaller assignments inside them. Those are found by crawling.
Domains and Organization Types
WHOIS records rarely state an organization's website or what kind of organization it is. The domain is
derived from the record itself, such as the email addresses and URLs in it, and from the organization's
website. The type is assigned by our own classifier, which reads the organization's website and its
registry records and decides between hosting, isp, business,
education, government and banking. The same classification
powers the IP to Hosting Database.
How accurate are the organization names of different IP APIs compared with the WHOIS records? We measured it: WHOIS accuracy of IP to company APIs.
# Frequently Asked Questions
Look the address up in the IP to Company Database or with the ipapi.is API. Both return the organization that the address is assigned to, according to the WHOIS records of the Regional Internet Registries, with its domain and type. Try it in the demo above.
Yes, for visitors who browse from their company's own network: the database names the company.
Employees who work from home or on a mobile connection appear with the address of their ISP, and
the type field isp tells you so, which keeps your statistics honest.
Six: hosting for hosting and cloud providers, isp for Internet Service
Providers, education, government, banking, and
business for every other company.
The IP to ASN Database names the network operator that routes the address. The IP to Company Database names the organization the address is assigned to. A company that uses a block from its ISP is routed by the ISP's autonomous system, but the block is registered to the company, so only IP to Company names the company.
It is rebuilt and published every day from the latest WHOIS data. Your download link always serves the latest release.
Yes. The company and abuse objects of the ipapi.is API contain the same data. A free account includes
1,000 requests per day.
# More IP Databases
All seven databases are also part of the Business plan, together with the API.