IP to location APIs

ipquery.io

by ipquery.io

IP to location APIs Added on November 1st, 2026 Checked and working on November 1st, 2026
Visit ipquery.io →

What it does

ipquery.io returns information about an IP address: country, region, city, postal code, time zone and coordinates, the ISP and AS number, and risk flags that show whether the address is mobile, a VPN, Tor or a proxy, with a risk score. Call api.ipquery.io/ for one address, or send a comma-separated list of up to 10,000 addresses in one request. Answers come as JSON, XML, YAML or plain text. Free, no key needed, within a rate limit.
  • API
  • HTTP-GET
  • JSON
  • REST
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed, within a rate limit.
From the browser
Yes (CORS)
Formats
JSON, XML
Interface
REST, HTTP-GET
Provider
ipquery.io
Last checked
Working on November 1st, 2026

More information: https://ipquery.io/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

ipquery.io
ipquery.io

Example request

curl

curl 'https://api.ipquery.io/8.8.8.8'

JavaScript

const response = await fetch("https://api.ipquery.io/8.8.8.8");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://api.ipquery.io/8.8.8.8",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried ipquery.io.