# IP Geolocation Batch Lookup

> IP Geolocation Batch Lookup is a paid API for AI agents from ip-geolocation.api.klymax402.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Geolocates up to 20 IP addresses in a single API call, returning location data for each IP.

## Facts

- Endpoint: GET https://ip-geolocation.api.klymax402.com/api/lookup/batch
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-geolocation-batch-lookup-4a7103ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b7BMyX51ZJ3gu6vzrvdKq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ip-geolocation-batch-lookup-4a7103ce
```

Example prompt: Can you geolocate these IP addresses for me all at once: 8.8.8.8, 1.1.1.1, 185.220.101.45, and 203.0.113.42 — I need to know what country and city each one is from.

## When to prefer this

Use this endpoint when you need to geolocate multiple IP addresses efficiently in a single call, rather than making separate single-IP lookups. Ideal for enriching log data, analyzing traffic sources, or processing batches of up to 20 IPs with minimal latency and cost.

## Known failure modes

- Invalid IP address format in the array causes lookup failure or partial results
- Exceeding 20 IPs in a single batch call may result in an error or truncation
- Private/reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return null or empty location data
- Payment failure via x402 protocol results in 402 response and no data returned
- Network timeout if the batch is processed slowly

## How this service works

Geolocate up to 20 IP addresses in one call

## Output

Returns geolocation records for each submitted IP address, typically including country, region, city, latitude, longitude, and ISP/ASN information for up to 20 IPs per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ips": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Array of IP addresses to lookup (max 20)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-geolocation-batch-lookup-4a7103ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ip-geolocation.api.klymax402.com](https://www.zero.xyz/host/ip-geolocation.api.klymax402.com/llms.txt)
