# Polyform IP Geolocation & ASN Lookup

> Polyform IP Geolocation & ASN Lookup is a paid API for AI agents from api.polyform.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Looks up geolocation and ASN/org metadata for an IP address, returning country, organization, CIDR range, and registry — paid per call via USDC micropayment.

## Facts

- Endpoint: GET https://api.polyform.org/v1/ip/%7Bip%7D
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polyform-ip-geolocation-asn-lookup-3afbc93b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AcZHU58ohIASKnP8-b5eN

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 polyform-ip-geolocation-asn-lookup-3afbc93b
```

Example prompt: Look up the IP address 203.0.113.42 and tell me what country it's from, which organization owns it, and what network range it belongs to.

## When to prefer this

Choose this endpoint when you need a lightweight, no-account IP metadata lookup paid via USDC micropayment on Base — ideal for AI agents that need on-demand IP enrichment without managing API keys. Best for single-IP lookups where you need org, country, CIDR range, and registry in one call.

## Known failure modes

- Invalid or malformed IP address returns an error response
- Private/reserved IP ranges (RFC 1918) may return no organization or registry data
- Payment failure (insufficient USDC balance or x402 handshake error) results in 402 response with no data
- Rate limits or network issues may cause transient 5xx errors

## How this service works

Pay-per-call data endpoints for AI agents. USDC on Base via x402. No account, no API key — one micropayment per call.

## Output

Returns a JSON object with the queried IP address, the owning organization (ASN org name), the CIDR network range, the ISO country code, and the regional internet registry (e.g. ARIN, RIPE, APNIC).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "8.8.8.8",
  "org": "GOGL",
  "range": "8.8.8.0/24",
  "country": "US",
  "registry": "ARIN"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polyform-ip-geolocation-asn-lookup-3afbc93b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.polyform.org](https://www.zero.xyz/host/api.polyform.org/llms.txt)
