# ip-country-bulk

> ip-country-bulk is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Resolves up to 20 IP addresses to their country/geo data in a single concurrent batch call, returning results in input order with per-item error fields.

## Facts

- Endpoint: GET https://intel.rallylive.ca/bulk/ip/geo
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ip-country-bulk-730cc8aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qPZGjREtlKfNXXcY5SmNR

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-country-bulk-730cc8aa
```

Example prompt: I have a list of IP addresses — 203.0.113.5, 198.51.100.12, 192.0.2.77, and 104.21.44.1 — can you look up the country for all of them at once and tell me if any failed?

## When to prefer this

Choose this endpoint when you have multiple IP addresses (2–20) to geolocate and want to minimize round trips and cost — it processes all IPs concurrently and returns results in input order, making it ideal for batch enrichment pipelines, log analysis, or analytics jobs. For a single IP, prefer the single /ip/geo endpoint to avoid unnecessary overhead.

## Known failure modes

- Invalid or malformed IP address in input list returns a per-item error rather than failing the whole batch
- More than 20 IPs submitted may result in rejection or truncation
- Private/reserved IP ranges (e.g. 10.x.x.x, 192.168.x.x) may return no country data with an error flag
- Payment failure (x402) if USDC balance is insufficient
- Network timeout if upstream geo data source is unavailable
- Empty input list returns an error or empty results array

## How this service works

Bulk ip country: up to 20 ips in one call, processed concurrently, results returned in input order with a per-item error field and a count of failures. Same answer per item as the single /ip/geo endpoint (IP to country). Batch enrichment for agents that hold a list. $0.01 per batch.

## Output

An ordered array of geolocation results (one per input IP) matching the order of the input list. Each item contains country and geo data equivalent to the single /ip/geo endpoint response, plus a per-item error field if that IP could not be resolved. A summary failure count is also returned for the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ip-country-bulk-730cc8aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
