Public APIs
IPinfo favicon

IPinfo

Development

Another simple IP Address API.

IPinfo's website screenshot

About IPinfo

IPinfo provides an API for IP address data lookup, returning information such as ASN, country, continent, and organization details for a given IPv4 or IPv6 address. The service is accessed via the api.ipinfo.io endpoint, with authentication handled through a token query parameter, HTTP Basic Authentication, or a Bearer token in the Authorization header. Multiple product tiers exist, including a free IPinfo Lite tier offering unlimited access with country and ASN data, and higher tiers such as Core, Plus, and Max that provide additional data types including geolocation, privacy detection, mobile carrier information, and company data.

The API supports lookups for a specific IP address or the caller's own IP when none is specified, and responses can be filtered to return individual fields or objects rather than the full JSON payload. The system is dual-stacked, supporting both IPv4 and IPv6 connections, with explicit v4 and v6 subdomains available for forcing a particular connection type. Paid plans include a monthly request quota with no daily, hourly, or per-second throttling limits, and optional metered billing for usage beyond the plan limit.

The product is aimed at developers who need to integrate IP geolocation, network, or privacy-related data into applications. Official client libraries are available for languages and frameworks including Python, Django, Java, Spring, C#, Node.js, ExpressJS, PHP, Laravel, Go, Ruby, and Ruby on Rails. IPinfo also offers downloadable databases in CSV, JSON, MMDB, and Parquet formats, along with integrations for platforms such as Snowflake, Splunk, Google Cloud/BigQuery, Microsoft Sentinel, and Google SecOps.

Key features

  • IP geolocation lookup returning country, ASN, and continent data
  • Free IPinfo Lite tier with unlimited requests and no quota restrictions
  • Authentication via token query parameter, HTTP Basic Auth, or Bearer token
  • Response filtering to return specific fields or objects (e.g. /country, /asn)
  • Dual-stack IPv4 and IPv6 API support with explicit v4/v6 subdomain endpoints
  • Official client libraries for Python, Node.js, Go, PHP, Java, C#, and Ruby

Frequently asked questions

Is there a free tier?

Yes, IPinfo Lite is a free API service available to all users with no API request quota restrictions, returning country and ASN information.

What happens if I exceed my plan's request limit?

Paid plans include a monthly request limit, and exceeding it returns a 429 HTTP status code, though usage can continue via overages if metered billing is enabled.

What programming languages have official client libraries?

IPinfo offers official libraries for Python, Django, Java, Spring, C#, Node.js, ExpressJS, PHP, Laravel, Go, and Ruby/Ruby on Rails.

How do I authenticate API requests?

You can authenticate using a token query parameter, HTTP Basic Authentication with the token as username, or a Bearer token in the Authorization header.

Does the API support IPv6?

Yes, the API is dual-stacked so IPv6 users can access it seamlessly, with optional v4/v6 subdomains to force a specific connection type.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product