# Cinderwright API Hub – IP Geolocation

> Cinderwright API Hub – IP Geolocation is a paid API for AI agents from api.ideafactorylab.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Geolocates an IP address, returning city, country, and organization/ASN information

## Facts

- Endpoint: GET https://api.ideafactorylab.org/x402/ip
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cinderwright-api-hub-ip-geolocation-add727fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KAA7cHX1xEgFouniM97Ap

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 cinderwright-api-hub-ip-geolocation-add727fe
```

Example prompt: Can you geolocate the IP address 203.0.113.42 and tell me what city, country, and organization it belongs to?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use IP geolocation lookup returning city, country, and ASN/org without committing to a subscription. Ideal for agents that perform occasional lookups across many different data categories using a single API key (Cinderwright Hub). Not ideal for high-volume batch geolocation or when you need detailed postal-code or lat/lng precision.

## Known failure modes

- Invalid or malformed IP address returns an error or empty result
- Private/reserved IP ranges (e.g. 192.168.x.x, 10.x.x.x) may return no geographic data
- Missing 'ip' query parameter may default to caller's IP or return an error
- Rate limiting or insufficient credit balance results in payment-required (402) response
- Geolocation data may be inaccurate for VPNs, proxies, or Tor exit nodes

## How this service works

900+ pay-per-use data services for AI agents. One key unlocks weather, finance, geolocation, GitHub stats, DNS, Wikipedia, science, health, food, sports, music, trivia and more. No subscriptions, no per-service API keys. Generate a free trial key with $0.10 credit in one POST request, no wallet required.

## Output

A JSON object containing the queried IP address, the city and country it resolves to, and the organization/ASN that owns the IP block (e.g. {"ip":"8.8.8.8","org":"AS15169 Google LLC","city":"Mountain View","country":"US"}).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ip": {
       "type": "string",
       "description": "IP address to geolocate"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ip": "8.8.8.8",
  "org": "AS15169 Google LLC",
  "city": "Mountain View",
  "country": "US"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cinderwright-api-hub-ip-geolocation-add727fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ideafactorylab.org](https://www.zero.xyz/host/api.ideafactorylab.org/llms.txt)
