# Arch Tools IP Lookup

> Arch Tools IP Lookup is a paid API for AI agents from archtools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Looks up geolocation and network metadata for a given IP address (or the caller's IP if none provided)

## Facts

- Endpoint: POST https://archtools.dev/v1/tools/ip-lookup
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arch-tools-ip-lookup-b828cdbc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oUph1eIJheyqQyCENOwVz

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 arch-tools-ip-lookup-b828cdbc -d '<json body>'
```

Example prompt: Can you look up the geolocation and network info for the IP address 203.0.113.42?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call IP geolocation without a subscription, especially in agent workflows that already use x402/USDC micropayments. Ideal when you want to enrich a single IP with location and network metadata on demand. It also supports auto-detection of the caller's IP, making it convenient for self-lookup scenarios.

## 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
- Payment failure (insufficient USDC balance) results in a 402 response
- Omitting the ip field causes the endpoint to use the caller's IP, which may be unexpected

## How this service works

Geo, ISP, VPN/proxy detection. Pay per call with USDC (x402) or credits - archtools.dev

## Output

A JSON object containing geolocation and network metadata for the queried IP address, including fields such as country, region, city, ISP, organization, and possibly ASN, timezone, and coordinates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ip": {
   "type": "string",
   "description": "IP address (uses caller's IP if omitted)"
  }
 }
}
```

## More

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