# QuantaFlow IP Geolocation API (x402)

> QuantaFlow IP Geolocation API (x402) is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Looks up geolocation and metadata for an IP address via a pay-per-request x402 micropayment gateway at $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/ip-api?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-ip-geolocation-api-x402-2506178a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6OLX3LB7orNORuygJvc3V

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 quantaflow-ip-geolocation-api-x402-2506178a -d '<json body>'
```

Example prompt: Look up the geolocation details for IP address 8.8.8.8 — I need the country, city, region, ISP, and timezone.

## When to prefer this

Choose this endpoint when you need IP geolocation data and want to pay per-query via x402 USDC micropayments without a subscription or API key, especially in web3-native or agent-based workflows where on-chain micropayments are preferred over traditional billing.

## Known failure modes

- Invalid or private IP address returns an error or empty result from upstream
- Payment failure or insufficient USDC balance results in 402 Payment Required with no data returned
- Malformed request path or query parameters may cause upstream to return a fail status
- Rate limiting by the upstream ip-api.com service may result in throttled or blocked responses
- Network timeout from the upstream provider returns no geolocation data

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

Returns the upstream ip-api.com response body containing geolocation fields such as country, countryCode, region, city, zip, latitude, longitude, timezone, ISP, organization, and AS number for the queried IP address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-ip-geolocation-api-x402-2506178a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
