# Postal Code Lookup

> Postal Code Lookup is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Returns place names, state/region, and coordinates for a given postal or ZIP code in about 60 countries.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/geo/postcode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/postal-code-lookup-c16b47f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HPGicUUSKJxe4_tzO46BN

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 postal-code-lookup-c16b47f7
```

Example prompt: What city, region, and coordinates are associated with postal code 10115 in Germany?

## When to prefer this

Use this endpoint when you need lightweight postal-code-to-location resolution without a full geocoding pipeline — ideal for address validation, form autofill, or customer location enrichment across ~60 countries at very low cost per call.

## Known failure modes

- Invalid or unknown postal code returns empty results or error
- Unsupported country code returns an error or no data
- Malformed ISO country code causes a validation error
- Some countries have incomplete postal code coverage, returning partial or no results

## How this service works

Places for a postal or ZIP code in about 60 countries: place names, state or region and coordinates. Use to validate addresses, fill forms or locate customers.

## Output

Returns one or more places matching the postal code, including place name(s), state or region name, and geographic coordinates (latitude/longitude) for the given country and code combination.

## 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",
     "required": [
      "country",
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Postal code"
      },
      "country": {
       "type": "string",
       "description": "ISO 2-letter country code"
      }
     }
    }
   },
   "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/postal-code-lookup-c16b47f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
