# BizIntel API – IP Geolocation Lookup

> BizIntel API – IP Geolocation Lookup is a paid API for AI agents from bizintel-api.hahavoid0.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Resolves an IP address to its geographic location, returning city, region, and country with a confidence score.

## Facts

- Endpoint: POST https://bizintel-api.hahavoid0.workers.dev/geography/ip-lookup
- 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/bizintel-api-ip-geolocation-lookup-bc322163
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UjWwDzAFxXnUn7jXWgekF

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 bizintel-api-ip-geolocation-lookup-bc322163 -d '<json body>'
```

Example prompt: Can you look up the geographic location of the IP address 8.8.8.8 and tell me what city, region, and country it maps to?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call IP-to-geography resolution without managing API keys, especially in agent workflows that require USDC micropayment billing via x402 on Base. Useful when you need city-level granularity with a confidence signal rather than just country-level data.

## Known failure modes

- Invalid or malformed IP address returns an error or unsupported flag
- Private/reserved IP ranges (e.g. 192.168.x.x) may return no location data or low confidence
- Very new or unallocated IP blocks may yield outdated or missing results
- Network timeouts from the upstream geolocation data source

## How this service works

Resolves geographic city, region, ISP, and coordinates for an IP address via ip-api.com.

## Output

Returns a JSON object containing the resolved city, region name, and country for the given IP, along with a confidence level (e.g. 'high'), a data freshness date, and any warnings or disclaimers. Indicates whether the IP lookup is supported.

## 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",
       "description": "Target IP address"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "city": "Ashburn",
   "country": "United States",
   "regionName": "Virginia"
  },
  "warnings": [],
  "supported": true,
  "confidence": "high",
  "data_as_of": "2026-06",
  "disclaimer": "Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bizintel-api-ip-geolocation-lookup-bc322163/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bizintel-api.hahavoid0.workers.dev](https://www.zero.xyz/host/bizintel-api.hahavoid0.workers.dev/llms.txt)
