# x402 Multi-Tool API — IP Geolocation

> x402 Multi-Tool API — IP Geolocation is a paid API for AI agents from x402deploy.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Geolocates an IPv4 or IPv6 address, returning city, region, country, coordinates, timezone, and organization.

## Facts

- Endpoint: POST https://x402deploy.vercel.app/api/geoip
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-multi-tool-api-ip-geolocation-01cab6b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8HE7aBplHPydk0WB8ATnw

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 x402-multi-tool-api-ip-geolocation-01cab6b4 -d '<json body>'
```

Example prompt: Can you look up where the IP address 203.0.113.42 is located — I need the city, country, and timezone.

## When to prefer this

Choose this endpoint when you need a quick, no-auth, pay-per-use IP geolocation lookup that returns city, region, country, coordinates, timezone, and org in one call. It is ideal for AI agents that need to enrich log data, detect anomalous logins, or personalize content without setting up API keys — especially when operating within an x402 micropayment workflow.

## Known failure modes

- Invalid or malformed IP address returns an error
- Private/reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geolocation data
- IPv6 addresses may have lower accuracy than IPv4
- Payment failure via x402 results in a 402 response with no data
- Rate limiting or service downtime on the upstream geolocation provider can cause failures

## How this service works

Pay-per-request data toolkit for AI agents — 13 no-auth tools, $0.005 USDC each via x402. Web search, read URL, crypto price/markets/trending, Wikipedia, news headlines, weather, FX rates, IP geolocation, DNS lookup, stock quotes, and domain WHOIS.

## Output

Returns a JSON object with the queried IP, the owning organization (ISP/company), city, region, country, latitude, longitude, and timezone string — enough to place the IP on a map and identify its network owner.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ip"
 ],
 "properties": {
  "ip": {
   "type": "string",
   "description": "IPv4/IPv6 address to look up, e.g. '8.8.8.8'"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ip": "8.8.8.8",
 "org": "Google LLC",
 "city": "Mountain View",
 "region": "California",
 "country": "United States",
 "latitude": 37.42,
 "timezone": "America/Los_Angeles",
 "longitude": -122.07
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-multi-tool-api-ip-geolocation-01cab6b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402deploy.vercel.app](https://www.zero.xyz/host/x402deploy.vercel.app/llms.txt)
