# ipdata API reference

> ipdata returns geolocation, ASN, currency, time zone and threat data for an IP address. Investigators use it to place an address, see who owns the network and check flags such as Tor, proxy, datacenter or known attacker. Calls go to https://api.ipdata.co (or https://eu-api.ipdata.co for EU-only…

Source: https://osinttools.io/apis/ipdata/ (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/ipdata/

- Base URL: https://api.ipdata.co
- Authentication: API key in the `api-key` query parameter. Get a key: https://ipdata.co/ The EU endpoint is https://eu-api.ipdata.co.
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.ipdata.co/

## Overview

ipdata returns geolocation, ASN, currency, time zone and threat data for an IP address. Investigators use it to place an address, see who owns the network and check flags such as Tor, proxy, datacenter or known attacker.

Calls go to `https://api.ipdata.co` (or `https://eu-api.ipdata.co` for EU-only routing). The API key is sent as the `api-key` query parameter. The `fields` parameter limits the response to the fields you name. Bulk lookup of up to 100 addresses and ASN data need a paid plan.

The docs page for this reference did not state rate limits, so none are listed.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Private, reserved or malformed IP, or a bulk request that is not a valid JSON array or has more than 100 addresses |
| 401 | API key missing or invalid |
| 403 | Quota exceeded, paid feature used without a paid plan, or IP or domain not on the whitelist |
| 404 | The requested ASN does not exist |

## IP lookup

### Geolocation and threat data for one IP address.

`GET /{ip}`

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

Looks up a specific IP address. GET / with no address looks up the device making the request. Which field groups come back depends on your plan.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IP address to look up Example: 203.0.113.7 |
| `fields` | query | string | no | Comma-separated response fields to return Example: ip,country_name,asn |
| `callback` | query | string | no | JSONP callback function name Example: handle |

Response fields:

- `ip` (string): The address looked up
- `is_eu` (boolean): Whether the country is an EU member
- `count` (integer): Requests made by your key in the last 24 hours
- `city` (string): City name
- `region` (string): Region name
- `region_code` (string): ISO 3166-2 region code
- `country_name` (string): Country name
- `country_code` (string): ISO 3166-1 alpha-2 country code
- `continent_name` (string): Continent name
- `continent_code` (string): Two-letter continent code
- `latitude` (number): Approximate latitude
- `longitude` (number): Approximate longitude
- `postal` (string): Postal code
- `calling_code` (string): International calling code
- `is_anycast` (boolean): Present only when true: anycast IP, location is the nearest instance
- `asn.asn` (string): Autonomous System Number
- `asn.name` (string): Organization that owns the ASN
- `asn.domain` (string): Organization website
- `asn.route` (string): Network prefix the IP belongs to
- `asn.type` (string): Usage type
- `currency.code` (string): ISO 4217 currency code
- `time_zone.name` (string): Timezone name
- `time_zone.current_time` (string): Current local time
- `threat.is_tor` (boolean): IP is a Tor node
- `threat.is_proxy` (boolean): IP is a known proxy
- `threat.is_datacenter` (boolean): IP belongs to a datacenter or cloud provider
- `threat.is_known_attacker` (boolean): IP is a known source of malicious activity
- `threat.is_known_abuser` (boolean): IP is a known source of abuse such as spam
- `threat.is_threat` (boolean): True if known attacker or known abuser
- `threat.is_bogon` (boolean): IP is a bogon
- `threat.blocklists[]` (object): Blocklists reporting the IP, with name, website and list type

```bash
curl 'https://api.ipdata.co/203.0.113.7?api-key=YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "is_eu": false,
  "city": "Exampleville",
  "region": "Example Region",
  "country_name": "Exampleland",
  "country_code": "EX",
  "continent_code": "EU",
  "latitude": 10.5,
  "longitude": 20.25,
  "asn": {
    "asn": "AS64496",
    "name": "Example Networks",
    "domain": "example.com",
    "route": "203.0.113.0/24",
    "type": "hosting"
  },
  "currency": {
    "code": "EXC"
  },
  "time_zone": {
    "name": "Example/Zone",
    "current_time": "2026-01-01T12:00:00+00:00"
  },
  "threat": {
    "is_tor": false,
    "is_proxy": false,
    "is_datacenter": true,
    "is_known_attacker": false,
    "is_known_abuser": false,
    "is_threat": false,
    "is_bogon": false
  }
}
```

### Look up up to 100 IP addresses in one call (paid plans).

`POST /bulk`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Cost: One request per address
- Plan: Paid plans

Send a JSON array of IP addresses. Each address counts as one request against your quota. Only available to paid users; larger batches need support.

Response fields:

- `[].ip` (string): The address looked up
- `[].country_name` (string): Country name
- `[].city` (string): City name
- `[].latitude` (number): Approximate latitude
- `[].longitude` (number): Approximate longitude
- `[].asn` (object): ASN data
- `[].currency` (object): Currency data
- `[].time_zone` (object): Timezone data
- `[].threat` (object): Threat data

```bash
curl -X POST 'https://api.ipdata.co/bulk?api-key=YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '["203.0.113.7","198.51.100.9"]'
```

Example response (200):

```json
[
  {
    "ip": "203.0.113.7",
    "country_name": "Exampleland",
    "city": "Exampleville",
    "latitude": 10.5,
    "longitude": 20.25
  }
]
```

---

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/
