# Quant Agent Shop IP Geolocation

> Quant Agent Shop IP Geolocation is a paid API for AI agents from quantagentshop.com, paid per call via x402, $0.0013/call, status unknown (last checked 2026-10-23).

Looks up country, region, city, coordinates, continent, and ASN/network info for a single public IPv4 or IPv6 address using a local database.

## Facts

- Endpoint: POST https://quantagentshop.com/v1/ip-geo?utm_source=zero.xyz
- Price: $0.0013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quant-agent-shop-ip-geolocation-0338b45a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UmJcAflSvfu7I6X9wZK6d

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 quant-agent-shop-ip-geolocation-0338b45a -d '<json body>'
```

Example prompt: Can you look up the geolocation for the IP address 203.0.113.42 — I need the country, city, coordinates, and the ASN or network owner?

## When to prefer this

Choose this endpoint when you need fast, sub-100ms IP geolocation without third-party API dependencies, especially in fraud detection pipelines, analytics enrichment, or geographic routing logic. It covers both IPv4 and IPv6, returns ASN/network data alongside geographic fields, and failed lookups are not billed — making it low-risk for high-volume or speculative checks. Prefer it over web-scraping or external geolocation APIs when latency and cost predictability matter.

## Known failure modes

- Private or reserved IP addresses (e.g. 10.x.x.x, 192.168.x.x) cannot be geolocated — returns an error or empty result
- Malformed IP strings (wrong format, out-of-range octets) will fail input validation
- Very new IP allocations may not yet appear in the local database
- City-level data is an estimate and may be inaccurate for mobile or VPN IPs
- ASN data may be absent for small or unregistered network blocks

## How this service works

IP address lookup for one public IPv4 or IPv6 address: country, region and city (a city-level estimate with coordinates), continent, and network (ASN number and organisation). Use for fraud checks, analytics or routing. Not for finding a street address or a person. Local database, no third-party call per lookup. Typical response under 100 ms. Failed calls are not charged.

## Output

Returns structured geolocation data for the queried IP including country, region, city (with lat/lng coordinates), continent, ASN number, and network organisation name. Response is derived from a local database with no third-party call, typically under 100 ms. Failed calls are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "ip"
     ],
     "properties": {
      "ip": {
       "type": "string",
       "title": "Ip",
       "maxLength": 45,
       "minLength": 2,
       "description": "One public IPv4 or IPv6 address."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quant-agent-shop-ip-geolocation-0338b45a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quantagentshop.com](https://www.zero.xyz/host/quantagentshop.com/llms.txt)
