Location and areas for a Great Britain postcode
pennydatahq.com/api/postcode/:postcode
Location and areas for a Great Britain postcode: latitude and longitude, ward, district, constituency and region, as JSON.
GET
https://pennydatahq.com/api/postcode/:postcodeUptimeNot 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://pennydatahq.com/api/postcode/:postcode");
console.log(await res.json());Example input
{}More from UK Postcode Lookup
- gogeta2-u35175.vm.elestio.app/agents/v1/geo/uk-postcodeUK postcode lookup (ONS Postcode Directory via postcodes.io): lat/lon, country, region, local authority, ward, parliamentary constituency, NHS ICB, police force, LSOA. Unknown postcode = not charged.0.002
- x402-lab.vercel.app/api/postcode/:postcodeLocation and areas for a Great Britain postcode: latitude and longitude, ward, district, constituency and region, as JSON.0.002
