# Tollkit Attest IP Lookup

> Tollkit Attest IP Lookup is a paid API for AI agents from attest.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Looks up geolocation and metadata for a given IPv4 or IPv6 address, paid per-call via x402 in USDC with no account required.

## Facts

- Endpoint: POST https://attest.tollkit.dev/ip?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-attest-ip-lookup-0d499f50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_38_IVh0boJJKacG7hrR_f

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 tollkit-attest-ip-lookup-0d499f50 -d '<json body>'
```

Example prompt: Look up the geolocation and network info for IP address 203.0.113.42 — I want to know what country, city, and ISP it belongs to.

## When to prefer this

Choose this endpoint when you need frictionless, pay-per-use IP geolocation with no API key or account setup — ideal for agents or workflows that handle sporadic IP lookups and want to pay only for what they use via x402 micropayments in USDC. Prefer this over subscription-based IP lookup services when call volume is low or unpredictable.

## Known failure modes

- Invalid IP address format returns an error
- Private or reserved IP ranges may return no geolocation data
- Payment failure via x402 results in a 402 response and no data returned
- Malformed request body missing the ip field causes a validation error
- IPv6 addresses may have less granular geolocation coverage

## How this service works

Pay-per-call product page extraction. No account, no API key: pay in-band with x402 in USDC on Base or Solana.

## Output

Returns geolocation and network metadata for the submitted IP address, likely including country, region, city, ISP, and ASN details. The response is returned directly after a successful micropayment of $0.002 USDC via x402 on Base or Solana.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ip": {
   "type": "string",
   "description": "IPv4 or IPv6 address."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-attest-ip-lookup-0d499f50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from attest.tollkit.dev](https://www.zero.xyz/host/attest.tollkit.dev/llms.txt)
