# Forgemesh Postal Code Lookup

> Forgemesh Postal Code Lookup is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Given a postal code and country code, returns the place name, region/state, and geographic coordinates for that postal code — covering 60+ countries.

## Facts

- Endpoint: POST https://x402.forgemesh.io/address-postal-lookup
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-postal-code-lookup-dce06c99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2gGWI7lUj7a9dZxk_e1g

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

Example prompt: What city, state, and coordinates correspond to the UK postal code SW1A 1AA? Use country code GB.

## When to prefer this

Use this endpoint when you need to resolve a raw postal code to a human-readable place name, region, and geographic coordinates — especially in signup, checkout, or logistics workflows where address enrichment or validation is needed across 60+ countries including the US, Canada, UK, Germany, and France.

## Known failure modes

- Invalid or malformed postal code returns an error or empty result
- Unsupported country code returns an error
- Postal code not found in database returns no match
- Missing required 'code' field causes a validation error
- Network or payment authorization failure prevents response

## How this service works

Given a postal code and country, get back the associated place name, region or state, and geographic coordinates — covering 60+ countries including the US, Canada, UK, Germany, and France. Built for address validation and geo-enrichment steps in signup, checkout, and logistics pipelines. Cached 24 hours.

## Output

Returns the place name (city/town), region or state, and geographic coordinates (latitude and longitude) associated with the given postal code and country. Results are cached for 24 hours.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "postal code, e.g. 77001"
  },
  "country": {
   "type": "string",
   "description": "2-letter country, default us"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "places": [
    {
     "state": "Texas",
     "latitude": "29.7522",
     "longitude": "-95.3595",
     "place name": "Houston"
    }
   ],
   "post code": "77001"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-postal-code-lookup-dce06c99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
