Public APIs
ip-api favicon

ip-api

Geocoding

Find location with IP address or domain.

ip-api's website screenshot

About ip-api

ip-api is a geolocation API that returns IP address location data via HTTP requests, with responses available in JSON, XML, CSV, Newline, and PHP formats. It includes a Batch API for querying multiple IP addresses in a single HTTP request, and a DNS API for retrieving the Client Subnet (edns-client-subnet) and DNS server information.

The service is queried via simple URL-based requests, allowing use directly from a browser or from a server. A data correction page is available for reporting inaccuracies.

A paid tier is offered providing unlimited queries, SSL, and commercial use rights.

Key features

  • IP geolocation lookup via simple URL-based HTTP requests
  • Multiple response formats: JSON, XML, CSV, Newline, PHP
  • Batch API for querying multiple IP addresses in one request
  • DNS API to retrieve EDNS client subnet and DNS server info

Frequently asked questions

Is there a free tier?

Yes, the API is free to use, with a paid plan available for unlimited queries, SSL, and commercial use.

What response formats are supported?

The API supports JSON, XML, CSV, Newline, and PHP formats.

Can I query multiple IPs at once?

Yes, the Batch API allows querying multiple IP addresses in a single HTTP request.

Who is this for?

It is intended for developers who want to integrate IP geolocation data into their applications via a simple HTTP interface.

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