# BizIntel API – Postal Code Lookup

> BizIntel API – Postal Code 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-14).

Resolves a postal/ZIP code and country into city and state/region information with confidence scoring

## Facts

- Endpoint: POST https://bizintel-api.hahavoid0.workers.dev/geography/postal-code
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bizintel-api-postal-code-lookup-54dcf12e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_inS-71nck2Gox7422Od9Z

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-postal-code-lookup-54dcf12e -d '<json body>'
```

Example prompt: What city and state does the ZIP code 90210 belong to in the US?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call postal code to city/state lookup without managing an API key, especially within an agentic workflow already using x402 micropayments on Base. Ideal for lightweight address enrichment, lead data normalization, or shipping form auto-fill where full geocoding (lat/lon) is not required.

## Known failure modes

- Unsupported postal code returns supported:false with empty city/state fields
- Invalid or malformed ZIP/postal code may return low confidence or no result
- Unsupported country codes may return supported:false
- Network or worker errors may return HTTP 5xx
- Payment failure via x402 if USDC balance is insufficient

## How this service works

Resolves city, state, and coordinates for a postal/zip code using the Zippopotam registry.

## Output

Returns the resolved city name and state/region for the given postal code and country, along with a confidence level (e.g. 'high'), a supported flag indicating whether the postal code was recognized, optional warnings, and a data freshness date.

## 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": [
      "country",
      "zip"
     ],
     "properties": {
      "zip": {
       "type": "string",
       "description": "Postal or ZIP code"
      },
      "country": {
       "type": "string",
       "default": "US",
       "description": "2-character country code (e.g. US, CA, DE)"
      }
     }
    },
    "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": "Beverly Hills",
   "state": "California"
  },
  "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-postal-code-lookup-54dcf12e/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)
