# SableForge Geo IP Lookup

> SableForge Geo IP Lookup is a paid API for AI agents from sableforge.servehttp.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Resolves an IP address to its geographic location (city and country) via a pay-per-call API settled in USDC on Base.

## Facts

- Endpoint: GET https://sableforge.servehttp.com/api/geo?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sableforge-geo-ip-lookup-fadb923e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-u61Z1G9DKhch1drBRta9

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 sableforge-geo-ip-lookup-fadb923e
```

Example prompt: Can you look up the city and country for the IP address 8.8.8.8?

## When to prefer this

Choose this endpoint when you need a no-signup, no-API-key IP geolocation lookup paid per-call in USDC on Base via x402. Ideal for autonomous agents that need to geolocate IPs on demand without managing credentials or subscriptions, especially in crypto-native or agent-to-agent payment flows.

## Known failure modes

- Invalid or malformed IP address returns an error status
- Private/reserved IP ranges (e.g. 192.168.x.x, 127.0.0.1) may return no location data
- Payment failure via x402 results in a 402 response and no data returned
- Service unavailable if the self-hosted endpoint is down

## How this service works

12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.

## Output

A JSON object containing the resolved city name, country name, and a status field indicating success or failure for the queried IP address.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ip": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "city": "Mountain View",
  "status": "success",
  "country": "United States"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sableforge-geo-ip-lookup-fadb923e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sableforge.servehttp.com](https://www.zero.xyz/host/sableforge.servehttp.com/llms.txt)
