# Penny Data UK Postcode Lookup

> Penny Data UK Postcode Lookup is a paid API for AI agents from x402-lab.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-01).

Returns geographic and administrative details for a UK postcode, including ward, region, country, district, latitude/longitude, and constituency, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://x402-lab.vercel.app/api/postcode/%7Bpostcode%7D?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/penny-data-uk-postcode-lookup-b7bd189a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lmRnXXVvaNNQNxNeFHpQc

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 penny-data-uk-postcode-lookup-b7bd189a
```

Example prompt: What ward, region, and constituency does the postcode SW1A 1AA fall under, and can you give me its exact latitude and longitude?

## When to prefer this

Choose this endpoint when you need quick, structured geographic and administrative data for a UK postcode — especially ward, constituency, district, and coordinates — without wanting to set up an API key or account. It is ideal for pay-per-call agent workflows where you only look up postcodes occasionally and want to pay micro-amounts in USDC on Base via x402.

## Known failure modes

- Invalid or malformed postcode returns an error or empty result
- Postcode not found in database returns a 404 or null response
- Missing payment or insufficient USDC balance causes a 402 Payment Required response
- Network timeout on the Vercel-hosted endpoint

## How this service works

Penny Data: pay-per-call data for AI agents. UK company profiles and postcode lookups as JSON, paid per call in USDC on Base with x402. No API key or account.

## Output

A JSON object containing the postcode's ward, region, country, district, latitude, longitude, and constituency — e.g. {"ward":"St James's","region":"London","country":"England","district":"Westminster","latitude":51.50101,"postcode":"SW1A 1AA","longitude":-0.141563,"constituency":"Cities of London and Westminster"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ward": "St James's",
  "region": "London",
  "country": "England",
  "district": "Westminster",
  "latitude": 51.50101,
  "postcode": "SW1A 1AA",
  "longitude": -0.141563,
  "constituency": "Cities of London and Westminster"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/penny-data-uk-postcode-lookup-b7bd189a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-lab.vercel.app](https://www.zero.xyz/host/x402-lab.vercel.app/llms.txt)
