Want all of the data behind our APIs? Our downloadable IP address databases deliver insights into millions of IPs

Learn more
IP Ranges API

IP Ranges API

Our IP ranges API returns IP ranges that are owned or operated by a company, identified by domain name. This data will include the total number of ranges and an array with each of them. IP ranges requests can also be used with the IPinfo's batch API.

  • domain:"cloudflare.com",
  • num_ranges:541,
  • ranges:Array[541],

    Advanced usage enabled

    Group up to a thousand
    lookups in one API request

    IP Ranges API can be used with our /batch endpoint. It allows you to group up to 1000 API requests into a single request. This can really speed up processing of bulk IP lookups, and it can also be useful if you want to lookup information across our different APIs.

    Andrew Morris

    We needed to further contextualize Internet scanners, crawlers, and bots. Origin networks, data centers, ASNs, and countries are a huge component of that. We were looking for a faster, more developer-friendly alternative to existing geo-IP providers. A close friend of mine hit the IPinfo API with cURL, and I saw all the information we needed.

    Andrew Morris Founder / CEO, GreyNoise

    Billion API requests last month

    Reliable & updated
    IP ranges data

    IPinfo offers the most reliable domain to IP ranges lookup service on the web. Our proprietary network data sets are updated every day so that our database is as accurate and complete as it gets.

    • Number of ranges
    • List of all ranges
    Ranges

    A few ways to use our
    IP Ranges API

    • Our customers benefit greatly by doing specific targeting based on IP ranges belonging to a company or by fingerprinting web traffic and using IP ranges information for data enrichment.
    • Identifying users by matching IP ranges to domain data is useful for content customisation, domain-specific targeting and data enrichment.
    Sign up for freeContact us

    Want to leverage the power of raw datasets? Try our Downloadable Database.

    Our database downloads contain the same accurate IP address information available with our APIs. These downloads are available in any format (eg. CSV, JSON, MMBD) with additional options to customize the fields.

    Read about data downloads
    DatabaseDownload

    Made for developers
    Trusted by enterprises

    Our database is built, maintained, and supported by our in-house team of developers and engineers. These data experts are ready to troubleshoot problems, build unique use cases, and create additional enterprise solutions.

    • Zapier
    • Snowflake
    • Wordpress
    • Maltego
    • Splunk
    • Palo Alto Networks
    • Heroku
    • Polarity

    Supports integrations

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

    • PHP
    • Python
    • Ruby
    • Java
    • Spring
    • Node.js
    • C#
    • Rust

    Official libraries

    We offer libraries for the most commonly used programming languages and frameworks. Check out our documentation to facilitate easier setup.

    Frequently Asked Questions

    What are IP ranges?

    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.

    Why is range data important?

    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.

    Industry-leading companies
    around the world trust our APIs

    Get started for free

    We offer 50,000 free IP geolocation lookups per month. Sign up for free to test our data. No gimmicks or credit cards required.