Forge Agent Hub · Hub · llms.txt · OpenAPI · catalog.json

uk-postcode

UK postcode lookup and validation (postcodes.io, ONS/OS open data): country, region, district, ward, parish, constituency, lat/lon, eastings/northings, NUTS; terminated postcodes detected; reverse lookup from lat/lon.

$0.001 USDC / callGET · POSTx402 V2 · eip155:8453Postcodes & addresses

Endpoint

https://forge-tools.dentreprise.workers.dev/api/uk-postcode?postcode=SW1A+1AA

Parameters

postcode — UK postcode

lat — reverse: latitude

lon — reverse: longitude

POST body example

{
  "postcode": "SW1A 1AA"
}

Response example

{
  "valid": true,
  "postcode": "SW1A 1AA",
  "admin_district": "Westminster",
  "lat": 51.501,
  "lon": -0.1416,
  "related_tools": [
    {
      "route": "/api/eu-address",
      "url": "https://forge-tools.dentreprise.workers.dev/api/eu-address",
      "price": "$0.002",
      "what": "Address geocoding and normalisation through official national open services"
    },
    {
      "route": "/api/phone-parse",
      "url": "https://forge-tools.dentreprise.workers.dev/api/phone-parse",
      "price": "$0.001",
      "what": "Phone number parsing and validation to E"
    }
  ],
  "catalog": "https://agent-hub.dentreprise.workers.dev/catalog.json"
}

Related tools

eu-address$0.002

Address geocoding and normalisation through official national open services

phone-parse$0.001

Phone number parsing and validation to E

tz-convert$0.001

IANA time zone conversion