Skip to content
OSINTtools.io

IPQuery API

Free keyless API: send an IPv4 or IPv6 address, get its ISP, ASN, approximate location and VPN, proxy, Tor and datacenter flags.

Base URL
https://api.ipquery.io
Sign-in
No key
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from ipquery.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

IPQuery describes an IPv4 or IPv6 address: the network (ASN, organisation, ISP), the location (country, city, coordinates, timezone) and risk flags such as VPN, Tor, proxy and datacenter use. An investigator uses it to place an address on a network and to see whether it is a known anonymiser.

Calls are plain GET requests to https://api.ipquery.io. The docs list no API key. The format query parameter picks json, xml, yaml or text.

The docs say source strings can be empty and that a false flag is a non-match, not a safety verdict. Bulk lookup with comma-separated addresses is disabled. The docs state no rate limit and no prices; for pricing or full-list access they say to email contact@ipquery.io.

Quick start

  1. No key needed

    The IPQuery API answers without an account or key.

  2. Make your first request

    Describe one IPv4 or IPv6 address: ISP, location and risk flags.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.ipquery.io/203.0.113.7'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "ip": "203.0.113.7",
      "isp": {
        "asn": "AS64496",
        "org": "Example Networks",
        "isp": "Example Networks"
      },
      "location": {
        "country": "Exampleland",
        "country_code": "EX",
        "city": "Exampleton",
        "state": "Example State",
        "zipcode": "00000",
        "latitude": 10,
        "longitude": 20,
        "timezone": "UTC",
        "localtime": "2026-01-01T12:00:00"
      },
      "risk": {
        "is_mobile": false,
        "is_vpn": false,
        "is_tor": false,
        "is_proxy": false,
        "is_datacenter": true,
    …

Authentication

No key or account: every endpoint answers without one.

Rate limits and pricing

Not stated in the docs

Errors

StatusMeaning
400Unsupported format (plain text body) or a bulk lookup with comma-separated addresses, which is disabled
404Invalid address (JSON body with an error message)

Lookups

Describes the given address regardless of the caller's connection. Source strings can be empty, and a false risk flag is a non-match, not a safety verdict.

Path parameters

ipstringrequiredtakes your ip address

One IPv4 or IPv6 address

Example: 203.0.113.7

Query parameters

formatstring

Response format

Example: jsonOne of: json, xml, yaml, text
Response fields · 19Show

ipstring

The address looked up

asnstring

Autonomous system number

orgstring

Organisation

ispstring

ISP name

countrystring

Country name

country_codestring

Country code

citystring

City

statestring

State or region

zipcodestring

Postal code

latitudenumber

Latitude

longitudenumber

Longitude

timezonestring

Timezone

localtimestring

Local time at the location

is_mobileboolean

Mobile network flag

is_vpnboolean

VPN flag

is_torboolean

Tor flag

is_proxyboolean

Proxy flag

is_datacenterboolean

Datacenter flag

risk_scoreinteger

Risk score

curl 'https://api.ipquery.io/203.0.113.7'
No key needed
Response
{
  "ip": "203.0.113.7",
  "isp": {
    "asn": "AS64496",
    "org": "Example Networks",
    "isp": "Example Networks"
  },
  "location": {
    "country": "Exampleland",
    "country_code": "EX",
    "city": "Exampleton",
    "state": "Example State",
    "zipcode": "00000",
    "latitude": 10,
    "longitude": 20,
    "timezone": "UTC",
    "localtime": "2026-01-01T12:00:00"
  },
  "risk": {
    "is_mobile": false,
    "is_vpn": false,
    "is_tor": false,
    "is_proxy": false,
    "is_datacenter": true,
    "risk_score": 0
  }
}
  • Passive: the target is not contacted

Default format is plain text. A browser fetch reports the browser's connection, a server-side fetch reports the server.

Query parameters

formatstring

Response format

Example: jsonOne of: json, xml, yaml, text
Response fields · 1Show

ipstring

The caller's address

curl 'https://api.ipquery.io/'
No key needed
Response
203.0.113.7