Public APIs
IP2Location favicon

IP2Location

Geocoding

IP geolocation web service to get more than 55 parameters.

IP2Location's website screenshot

About IP2Location

IP2Location is a REST API providing reverse IP geolocation lookups, returning data such as ISO3166 country code, region or state, city, latitude and longitude, ZIP/postal code, time zone, ISP or company name, domain name, net speed, area code, weather station code and name, mobile country code (MCC), mobile network code (MNC), carrier brand, elevation, usage type, address type, and IAB content category. Both IPv4 and IPv6 addresses are supported, and lookups are served over HTTP or HTTPS GET requests in JSON or XML format, drawing on an index of over 4 billion unique IP addresses.

The API offers 25 package tiers (WS1 through WS25) that vary in the granularity of data returned, plus optional add-ons for continent, country, region, city, geotargeting, country groupings, and time zone information, with translations available in 22 languages. Each purchased unit grants 100,000 query credits valid for one year, and one API key is issued per user account regardless of the number of units purchased.

The page states that new registrations for this web service are no longer being accepted, with the provider directing new sign-ups to a separate service, IP2Location.io, instead.

Key features

  • Reverse IP geolocation lookup via REST API (HTTP/HTTPS GET) returning country, region, city, latitude/longitude
  • Supports 25 different query packages (WS1-WS25) with varying data granularity
  • IPv4 and IPv6 address support
  • Optional addon data including continent, time zone, geotargeting, and multilingual name translations
  • Returns ISP, domain, net speed, mobile carrier (MCC/MNC), elevation, usage type, and IAB content category data
  • JSON or XML response format

Frequently asked questions

Is there a free tier?

IP2Location offers a free trial with 5,000 credits, but new registrations for this web service are no longer being accepted; new users are directed to IP2Location.io instead.

What are the pricing options?

Paid plans include 100,000 credits for $49, 1,000,000 credits for $441, and 5,000,000 credits for $1,960, each valid for 1 year.

What data can I retrieve from the API?

Depending on the package selected, you can retrieve country, region, city, ZIP code, time zone, ISP, domain, net speed, area code, weather station data, mobile carrier info, elevation, usage type, address type, and IAB category.

Does it support both IPv4 and IPv6?

Yes, the REST API supports reverse IP location lookups for both IPv4 and IPv6 addresses.

Can responses be translated into other languages?

Yes, the lang parameter supports translation of continent, country, region, and city names into languages such as ar, de, es, fr, ja, ko, ru, and zh-cn, among others.

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