PayAPI Market

Postcode & Address Lookup API

5 endpoints for UK postcode and address intelligence: full postcode lookup (coordinates, council, ward, parliamentary constituency, region), free-text address search, nearest postcodes within a radius (lat/lng), validity check, and partial-postcode autocomplete. Backed by Ordnance Survey-derived data.

x402 verified · $0.001 USDC/request · 5 endpoints / 5 tools · Data · base network · x402 protocol

UK postcode and address lookup: validate, geocode, autocomplete, and find nearby addresses.

Endpoints

Example request

curl -X POST https://postcode-api-production.up.railway.app/lookup/postcode \
  -H 'content-type: application/json' \
  -d '{"postcode":"SW1A 1AA"}'

Example response

{
  "postcode": "SW1A 1AA",
  "region": "London",
  "country": "England",
  "latitude": 51.501,
  "longitude": -0.1416,
  "addresses": ["Buckingham Palace, London, SW1A 1AA"]
}

How an agent calls this

What region and coordinates does postcode SW1A 1AA map to, and what addresses are there?

An MCP-connected agent discovers this API, picks it for the task, and pays per call in USDC. No keys, no account.

How to call this API

Every protected route returns HTTP 402 with x402 payment requirements. An agent pays the stated USDC amount on Base and retries with the payment header. No API keys, no accounts. Browse the marketplace or list your own API.

By PayAPI Market