# Orders of Magnitude IP Geolocation API

> Orders of Magnitude IP Geolocation API is a paid API for AI agents from x402-api-production-5133.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-09).

Geolocates an IP address, returning location data such as country, region, city, and coordinates

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/data/ip-geolocation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orders-of-magnitude-ip-geolocation-api-4bc2167f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iBqXQFdYXqY9SlXMAX_Zc

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 orders-of-magnitude-ip-geolocation-api-4bc2167f
```

Example prompt: Can you geolocate the IP address 203.0.113.42 and tell me what country and city it's coming from?

## When to prefer this

Choose this endpoint when you need a pay-per-use, micropayment-based IP geolocation service billed via the x402 crypto payment protocol (USDC on-chain), making it ideal for agents or serverless workflows that want programmatic, wallet-driven billing without API key subscriptions. Prefer it when you need lightweight per-query geolocation at $0.01 per call without a SaaS contract.

## Known failure modes

- Invalid or malformed IP address returns an error response
- Private or reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no meaningful location data
- IPv6 addresses may have limited coverage
- Payment failure via x402 protocol blocks the request
- Rate limiting if too many requests are made in a short window
- Geolocation data may be inaccurate for VPNs, proxies, or Tor exit nodes

## How this service works

Data and AI services via x402 payment protocol

## Output

A JSON object containing geolocation data for the given IP address, expected to include fields such as country, region/state, city, latitude, longitude, timezone, and ISP/organization name.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ip"
 ],
 "properties": {
  "ip": {
   "type": "string",
   "description": "IP address to geolocate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orders-of-magnitude-ip-geolocation-api-4bc2167f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-5133.up.railway.app](https://www.zero.xyz/host/x402-api-production-5133.up.railway.app/llms.txt)
