Skip to content
Fourohtwo

agent-tools-production-e6aa.up.railway.app/v1/uk-postcode/:postcode

Look up any UK postcode and get latitude/longitude, local council, county, ward, parish, parliamentary constituency, region and country, from official ONS data. Use when you need to place a UK address on a map, work out which council or MP covers it, or check a postcode is real. Spaces optional. Errors: 400 invalid format, 404 postcode not found.

BaseUnchecked
GEThttps://agent-tools-production-e6aa.up.railway.app/v1/uk-postcode/:postcode

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-tools-production-e6aa.up.railway.app/v1/uk-postcode/:postcode");
console.log(await res.json());

Example input

{}

More from Agent Tools UK