# IPWHOIS.IO API reference

> IPWHOIS.IO returns location, network and time zone facts for an IPv4 or IPv6 address. An investigator uses it to see the country, city, ASN, organisation and ISP behind an address. The free endpoint needs no API key. Add an IP to the path, or leave it out to look up the address making the call.…

Source: https://osinttools.io/apis/ipwhois-io/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ipwhois-io/

- Base URL: https://ipwho.is
- Authentication: No key needed. Get a key: https://ipwhois.io/ The free endpoint needs no key; paid endpoints use a key from the dashboard.
- Free tier: yes
- Pricing: Subscription
- Rate limits: Free: 1,000 requests per day per client IP; browser (CORS) requests are counted per calling domain. Paid plans: monthly quota from 600K requests to unlimited.
- Vendor docs: https://ipwhois.io/documentation

## Overview

IPWHOIS.IO returns location, network and time zone facts for an IPv4 or IPv6 address. An investigator uses it to see the country, city, ASN, organisation and ISP behind an address.

The free endpoint needs no API key. Add an IP to the path, or leave it out to look up the address making the call. Responses are JSON by default; XML and CSV are available with the `output` parameter. Check the `success` field in the body: some errors (`Invalid IP address`, `Reserved range`) come back with HTTP 200.

Paid plans add currency and security data (proxy, VPN, Tor, hosting) and a Bulk endpoint of up to 100 IPs per call. The docs do not show how to pass a paid key, so only the free endpoint is described here. Plan names for individual options are inconsistent on the docs page; check the pricing page.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Bad request |
| 403 | The current plan does not support this endpoint |
| 404 | Not found |
| 405 | HTTP method is not allowed |
| 414 | URI too long |
| 429 | Rate limit exceeded; see the Retry-After header |

## IP lookup

### Look up location, connection and time zone data for one IP address.

`GET /{ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Free endpoint

Returns the address's location, ASN and organisation, time zone and flag. Leave the IP out of the URL to look up the caller's own address. Check `success` in the body, since some errors return HTTP 200.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 or IPv6 address Example: 203.0.113.7 |
| `output` | query | string | no | Response format Example: json One of: json, xml, csv |
| `fields` | query | string | no | Comma-separated fields to return; nested fields use dot notation Example: country,city,flag.emoji |
| `lang` | query | string | no | Language for city, region, country, capital, continent and currency names Example: en One of: en, ru, de, es, pt-BR, fr, zh-CN, ja |

Response fields:

- `ip` (string): The address looked up
- `success` (boolean): False when the lookup failed
- `message` (string): Error text, present only when success is false
- `type` (string): IPv4 or IPv6
- `continent` (string): Continent name
- `country` (string): Country name
- `country_code` (string): Country code
- `region` (string): Region name
- `city` (string): City name
- `latitude` (number): Latitude
- `longitude` (number): Longitude
- `postal` (string): Postal code
- `is_eu` (boolean): Whether the country is in the EU
- `connection.asn` (integer): Autonomous system number
- `connection.org` (string): Organisation
- `connection.isp` (string): Internet service provider
- `connection.domain` (string): Domain of the provider
- `timezone.id` (string): Time zone identifier
- `timezone.utc` (string): UTC offset
- `timezone.current_time` (string): Current local time, ISO 8601
- `flag.emoji` (string): Flag emoji

```bash
curl 'https://ipwho.is/203.0.113.7'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "success": true,
  "type": "IPv4",
  "continent": "Europe",
  "country": "Examplia",
  "country_code": "EX",
  "region": "Example Region",
  "city": "Exampleville",
  "latitude": 52.1,
  "longitude": 4.3,
  "postal": "00000",
  "is_eu": false,
  "connection": {
    "asn": 64496,
    "org": "Example Networks",
    "isp": "Example Networks",
    "domain": "example.com"
  },
  "timezone": {
    "id": "Europe/Example",
    "utc": "+01:00",
    "current_time": "2026-01-01T12:00:00+01:00"
  },
  "flag": {
    "emoji": "EX"
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
