Skip to main content
IP Ranges API

Accurate IP Range Data for Enhanced Network Management and Security

IPinfo’s IP Ranges API offers a reliable list of IP address ranges that are owned or operated by a company, identified by the provided domain name. Our data includes the total number of ranges and an array with each range listed.

{
"domain": "cloudflare.com",
"num_ranges": 1151,
"ranges": [
"149.14.58.104/29",
"104.30.171.248/30",
"104.30.176.1",
"8.45.97.0/24",
"2a09:bac0:1000:d00::/58",
"8.34.200.0/23",
"209.66.114.234/31",
"38.122.79.80/29",
"2001:1890:1d0d:2700::/56",
"8.43.121.0/24",
"141.101.64.0/21",
"104.30.163.224/28",
"104.30.163.44/31",
"104.30.132.114",
"199.27.128.0/21",
"104.30.179.4/30",
"2a09:bac0:1001:ff1::/64",
"38.122.229.0/29",
"149.14.228.136/29",
"38.142.110.96/29",
"8.39.6.0/24",
"2a09:bac0:1000:f1a::/64",
"2a09:bac2::/31",
"104.30.174.192/27",
"104.30.178.0",
"2a09:bac0:1001:1800::/53",
"2a06:98c1::/32",
"2a09:bac0:1001:dd4::/62",
"2a09:bac0:1000:2200::/55",
"2a09:bac0:1001:ecc::/62",
"104.30.177.224/28",
"199.100.12.8/29",
"104.30.172.128/26",
"104.30.174.1",
"104.30.132.115",
"104.30.180.160/27",
"149.6.182.72/29",
"2a09:bac0:1000:c52::/64",
"8.27.79.0/24",
"104.30.177.252/31",
"149.6.39.208/30",
"8.14.202.0/23",
"104.30.180.30/31",
"2a09:bac0:1000:d98::/61",
"104.30.175.1",
"104.30.179.1",
"2a09:bac0:1001:cce::/63",
"2600:cc0c:c003::/64",
"8.45.100.0/23",
"38.140.104.96/29",
"104.30.161.4/30",
"104.30.175.32/27",
"8.44.61.0/24",
"182.23.210.0/24",
"2a09:bac0:1001:ec4::/62",
"149.6.58.192/29",
"12.96.38.96/29",
"12.180.215.192/29",
"12.12.46.184/29",
"2a09:bac0:1000:da0::/64",
"104.30.160.188/31",
"104.30.174.255",
"2001:868:100:5300::/56",
"149.6.174.64/29",
"104.30.167.4/30",
"149.11.120.88/29",
"8.46.113.0/24",
"149.14.10.152/29",
"104.30.177.255",
"8.34.202.0/24",
"194.53.53.0/24",
"8.21.238.0/23",
"188.114.106.0/23",
"38.32.228.0/29",
"12.161.211.24/29",
"104.30.165.64/26",
"149.6.55.192/29",
"149.11.204.216/29",
"104.30.174.8/29",
"2a09:bac0:1001:fc0::/59",
"104.30.168.8/29",
"184.105.45.8/30",
"103.21.246.0/23",
"2001:1890:1d02:af00::/56",
"131.0.72.0/22",
"2a06:98c0:4000::/34",
"104.30.166.8/29",
"104.30.161.16/28",
"104.30.168.32/27",
"104.30.173.240/29",
"104.30.180.136/29",
"206.249.0.168/29",
"149.14.228.144/29",
"104.30.174.2/31",
"2a09:bac0:1004::/46",
"104.30.179.0",
"2a09:bac0:1001:ecb::/64",
"104.30.169.2/31",
"2a09:bac0:1001:ed6::/63",
"8.39.125.0/24",
"8.28.126.0/23",
"8.41.36.0/23",
"104.30.178.255",
"2001:1890:1d28:3d00::/56",
"104.30.170.4/30",
"2a09:bac0:1001:900::/59",
"104.30.180.112/28",
"104.30.160.0",
"2a09:bac0:1000:dc0::/59",
"38.142.1.64/29",
"104.30.160.8/29",
"2a09:bac0:1001:1003::/64",
"8.39.214.0/24",
"2a09:bac0:1000:dbc::/64",
"2a09:bac0:1000:e00::/58",
"2c0f:f248:1000::/36",
"104.30.171.0",
"8.45.42.0/23",
"2a09:bac0:1000:de0::/60",
"2001:1890:1d28:7800::/56",
"38.142.1.192/29",
"103.31.6.0/23",
"2001:1890:1d0d:2800::/56",
"104.30.161.252/31",
"104.30.176.32/27",
"149.14.250.240/29",
"131.226.208.88/29",
"2a09:bac0:1000:ca4::/62",
"104.30.160.254",
"2a09:bac0:1001:ec0::/63",
"2a09:bac0:1000:df0::/62",
"2a09:bac0:1000:d72::/64",
"2a09:bac0:1000:cac::/64",
"154.18.0.176/29",
"104.30.171.252/31",
"2405:b500::/32",
"38.140.177.64/29",
"104.30.168.16/28",
"2a09:bac0:1000:c53::/64",
"2a09:bac0:1000:8e8::/61",
"2a09:bac0:1000:2080::/57",
"104.30.0.0/17",
"2a09:bac0:1000:dbd::/64",
"2a09:bac0:1000:e60::/59",
"2a09:bac0:1001:dd1::/64",
"104.30.164.48/28",
"104.30.180.16/29",
"8.44.60.0/24",
"8.34.70.0/24",
"2a09:bac0:1001:4000::/50"
]
}
DataDogMicrosoftSnowflakeCiscoDocker

Key Features of IP Ranges API

Our IP Ranges API provides accurate, updated information that includes:

Comprehensive IP range data

The domain, the number of ranges, and a full list of ranges

Real-time updates

Our proprietary network data sets are updated every day

Ease of integration

With a free API key, explore our user-friendly console to see IP ranges for yourself

Benefits of Using the IP Ranges API

Whether you’re enforcing cybersecurity, improving efficiency, or adhering to regulatory compliance policies for networks and applications, our API simplifies IP ranges and makes them accessible. IPinfo’s dedication to accuracy ensures that the data you receive is accurate, reliable, and up-to-date.

Improved cybersecurity

Set up firewall rules to allow or block traffic and identify potential threats from unexpected ranges

Better geolocation accuracy

Deliver more accurate region-specific content and maintain compliance with local regulations

Streamlined network management

Maintain updated network configurations like load balancing or routing

Cost management

Ensure that only appropriate network traffic is allowed, cutting down on inefficient data usage

Use Cases for the IP Ranges API

Customizing content

Identify where users are located using IP ranges so websites and ads can display location-specific content like language or currency, or offer location-specific promotions.

Targeting specific domains

Provide custom features or content to corporate or educational IP ranges, such as industry-specific resources or academic discounts.

Enriching data

Match IP ranges to domain data and gain additional demographic insights.

Enhancing cybersecurity

Reveal patterns in traffic from known malicious networks, enriching security logs with valuable threat intelligence and making it easier to spot potential vulnerabilities.

Ensuring compliance with regional restrictions

Restrict content by geographic location and use the IP range API to ensure that users only access content that is legally allowed in their area.

Explore our use cases and usage types, to discover how our APIs can meet your data needs.

One powerful API · one team behind you

Built for rapid, accurate development

Query it live through the API, and contact sales for enterprise access.

Fast and Easy API Access

Gain access to our best-in-class data. Setup takes just a few minutes.

$curl https://ipinfo.io/ranges/cloudflare.com?token=$TOKEN
{
"domain": "cloudflare.com",
"num_ranges": 1151,
"ranges": [
"149.14.58.104/29",
"104.30.171.248/30",
"104.30.176.1",
"8.45.97.0/24",
"2a09:bac0:1000:d00::/58",
"8.34.200.0/23",
"209.66.114.234/31",
"38.122.79.80/29",
"2001:1890:1d0d:2700::/56",
"8.43.121.0/24",
"141.101.64.0/21",
"104.30.163.224/28",
"104.30.163.44/31",
"104.30.132.114",
"199.27.128.0/21",
"104.30.179.4/30",
"2a09:bac0:1001:ff1::/64",
"38.122.229.0/29",
"149.14.228.136/29",
"38.142.110.96/29",
"8.39.6.0/24",
"2a09:bac0:1000:f1a::/64",
"2a09:bac2::/31",
"104.30.174.192/27",
"104.30.178.0",
"2a09:bac0:1001:1800::/53",
"2a06:98c1::/32",
"2a09:bac0:1001:dd4::/62",
"2a09:bac0:1000:2200::/55",
"2a09:bac0:1001:ecc::/62",
"104.30.177.224/28",
"199.100.12.8/29",
"104.30.172.128/26",
"104.30.174.1",
"104.30.132.115",
"104.30.180.160/27",
"149.6.182.72/29",
"2a09:bac0:1000:c52::/64",
"8.27.79.0/24",
"104.30.177.252/31",
"149.6.39.208/30",
"8.14.202.0/23",
"104.30.180.30/31",
"2a09:bac0:1000:d98::/61",
"104.30.175.1",
"104.30.179.1",
"2a09:bac0:1001:cce::/63",
"2600:cc0c:c003::/64",
"8.45.100.0/23",
"38.140.104.96/29",
"104.30.161.4/30",
"104.30.175.32/27",
"8.44.61.0/24",
"182.23.210.0/24",
"2a09:bac0:1001:ec4::/62",
"149.6.58.192/29",
"12.96.38.96/29",
"12.180.215.192/29",
"12.12.46.184/29",
"2a09:bac0:1000:da0::/64",
"104.30.160.188/31",
"104.30.174.255",
"2001:868:100:5300::/56",
"149.6.174.64/29",
"104.30.167.4/30",
"149.11.120.88/29",
"8.46.113.0/24",
"149.14.10.152/29",
"104.30.177.255",
"8.34.202.0/24",
"194.53.53.0/24",
"8.21.238.0/23",
"188.114.106.0/23",
"38.32.228.0/29",
"12.161.211.24/29",
"104.30.165.64/26",
"149.6.55.192/29",
"149.11.204.216/29",
"104.30.174.8/29",
"2a09:bac0:1001:fc0::/59",
"104.30.168.8/29",
"184.105.45.8/30",
"103.21.246.0/23",
"2001:1890:1d02:af00::/56",
"131.0.72.0/22",
"2a06:98c0:4000::/34",
"104.30.166.8/29",
"104.30.161.16/28",
"104.30.168.32/27",
"104.30.173.240/29",
"104.30.180.136/29",
"206.249.0.168/29",
"149.14.228.144/29",
"104.30.174.2/31",
"2a09:bac0:1004::/46",
"104.30.179.0",
"2a09:bac0:1001:ecb::/64",
"104.30.169.2/31",
"2a09:bac0:1001:ed6::/63",
"8.39.125.0/24",
"8.28.126.0/23",
"8.41.36.0/23",
"104.30.178.255",
"2001:1890:1d28:3d00::/56",
"104.30.170.4/30",
"2a09:bac0:1001:900::/59",
"104.30.180.112/28",
"104.30.160.0",
"2a09:bac0:1000:dc0::/59",
"38.142.1.64/29",
"104.30.160.8/29",
"2a09:bac0:1001:1003::/64",
"8.39.214.0/24",
"2a09:bac0:1000:dbc::/64",
"2a09:bac0:1000:e00::/58",
"2c0f:f248:1000::/36",
"104.30.171.0",
"8.45.42.0/23",
"2a09:bac0:1000:de0::/60",
"2001:1890:1d28:7800::/56",
"38.142.1.192/29",
"103.31.6.0/23",
"2001:1890:1d0d:2800::/56",
"104.30.161.252/31",
"104.30.176.32/27",
"149.14.250.240/29",
"131.226.208.88/29",
"2a09:bac0:1000:ca4::/62",
"104.30.160.254",
"2a09:bac0:1001:ec0::/63",
"2a09:bac0:1000:df0::/62",
"2a09:bac0:1000:d72::/64",
"2a09:bac0:1000:cac::/64",
"154.18.0.176/29",
"104.30.171.252/31",
"2405:b500::/32",
"38.140.177.64/29",
"104.30.168.16/28",
"2a09:bac0:1000:c53::/64",
"2a09:bac0:1000:8e8::/61",
"2a09:bac0:1000:2080::/57",
"104.30.0.0/17",
"2a09:bac0:1000:dbd::/64",
"2a09:bac0:1000:e60::/59",
"2a09:bac0:1001:dd1::/64",
"104.30.164.48/28",
"104.30.180.16/29",
"8.44.60.0/24",
"8.34.70.0/24",
"2a09:bac0:1001:4000::/50"
]
}
  • 50-200 ms response time on average
  • 99.999% uptime
  • Data updates every 24 hours
Choose your plan

Group up to a thousand IP address range lookups in one API request

IP Ranges API can be used with our batch endpoint, which allows users to group up to 1,000 API requests into a single request. This feature speeds up processing of bulk IP range lookups, and is useful if you want to lookup information across our different APIs.

Dupaco Community Credit Union

As a financial institution, we're a target for all sorts of bad actors. Dupaco is cautious about adding 3rd party solutions into our existing environment. We must ensure all partners are security-focused and that their product will enrich the lives of our members. After reviewing IPinfo, we were confident in the security, data quality, and the value IPinfo provided for financial fraud prevention.

Kevin Cray
Kevin CraySoftware Development Supervisor at Dupaco Community Credit Union
Donar Online

IPinfo helps us prevent fraud and reduce any other security gaps that may exist

Mario Roset
Mario RosetCEO at Donar Online
Dupaco Community Credit Union

As a financial institution, we're a target for all sorts of bad actors. Dupaco is cautious about adding 3rd party solutions into our existing environment. We must ensure all partners are security-focused and that their product will enrich the lives of our members. After reviewing IPinfo, we were confident in the security, data quality, and the value IPinfo provided for financial fraud prevention.

Kevin Cray
Kevin CraySoftware Development Supervisor at Dupaco Community Credit Union
Donar Online

IPinfo helps us prevent fraud and reduce any other security gaps that may exist

Mario Roset
Mario RosetCEO at Donar Online

Made for Developers, Trusted by Enterprises

Our expert in-house team diligently maintains and supports our IP Ranges API, ensuring you always have accurate, up-to-date IP data at your fingertips. With libraries for more than a dozen popular programming languages—from Ruby to Rust and PHP to Perl—integrating our API is quick and seamless. Explore our developer docs to see just how easy it is to get started.

PHP
Spring
Python
Node.js
Ruby
Django
C#
Rails
Java
Express
Swift
Laravel
Go
Rust
Perl
Erlang

Employ Our Data on Other Leading Platforms

Our API integrations merge the power of IPinfo’s proprietary IP data with other industry-leading cloud platforms. Use your IP data at scale with our supported integrations, such as Snowflake, Splunk, GCP, and more.

Google Cloud
Splunk
Zapier
Palo Alto Networks
Snowflake
Heroku
Wordpress
Datadog
FAQ

Frequently asked questions

  • An IP range is a group of successive public IP addresses that can be assigned to a subnet. For instance, a company may use an IP range of 198.200.30.1 to 100.200.30.20.

  • IP ranges help identify website users by matching IP ranges to domain data. It’s used for content customization, domain-specific targeting, and data enrichment.

  • IP range data is important for cybersecurity because it helps protect networks by controlling and monitoring access. Businesses can use IP range data to reduce unauthorized access, detect potential cyber threats, block malicious traffic, and ensure that only certain IP ranges can access sensitive data.

  • Our proprietary network data sets are updated every day so that our database is as accurate and complete as it gets.

  • The IP Ranges API provides the domain, the number of ranges, and a full list of ranges. It can be used in conjunction with other IP data APIs for even more robust IP data, like registration information, IP address owner, and more.

Industry-leading companies around the world trust our APIs

We offer unlimited free IP country-level geolocation lookups with basic ASN details—sign up now to test our data.

Sign up for free