# IPinfo via Locus x402

> IPinfo via Locus x402 is a paid API for AI agents from ipinfo.x402.paywithlocus.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Returns IP geolocation, ASN, privacy detection, carrier data, and hosting identification for a given IP address.

## Facts

- Endpoint: POST https://ipinfo.x402.paywithlocus.com/ipinfo/ip-lite?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ipinfo-via-locus-x402-7f0edc0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pIwgpeLoNv0CyEln3KkLm

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 ipinfo-via-locus-x402-7f0edc0e -d '<json body>'
```

Example prompt: Look up the geolocation, ASN, and privacy details for the IP address 203.0.113.42 — I want to know what country and city it's in, who owns the network, and whether it's a VPN or proxy.

## When to prefer this

Prefer this endpoint when you need a pay-per-use IP intelligence lookup without a subscription, especially when you require a combination of geolocation, ASN, privacy detection, and carrier data in a single call. It is ideal for fraud detection pipelines, access control, content personalization, and network auditing where you pay only for what you use via the x402 micropayment protocol.

## Known failure modes

- Invalid IP format returns an error or empty data object
- Private/reserved IP ranges (e.g. 192.168.x.x) may return no useful geolocation
- Payment failure or insufficient USDC balance prevents the call from completing
- Rate limits or quota exhaustion may result in 402 or 429 responses
- The 'me' shortcut depends on correct caller IP forwarding by the x402 gateway

## How this service works

IP intelligence — geolocation, ASN, privacy detection, carrier data, and hosting identification.

## Output

A JSON object containing IP intelligence data including geolocation fields (country, region, city, coordinates, timezone), ASN and network ownership details, privacy/proxy/VPN detection flags, carrier information for mobile IPs, and hosting/data-center identification. The response also includes payment settlement metadata and a request ID for tracking.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "payment": {
   "scheme": "exact",
   "settledUsdc": "0.001000",
   "authorizedMaxUsdc": "0.001000"
  },
  "request": {
   "id": "00000000-0000-4000-8000-000000000000",
   "statusUrl": "/requests/00000000-0000-4000-8000-000000000000"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ipinfo-via-locus-x402-7f0edc0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ipinfo.x402.paywithlocus.com](https://www.zero.xyz/host/ipinfo.x402.paywithlocus.com/llms.txt)
