fourzerotwo
← UK Geography Codes
geo by fourzerotwo

County or unitary authority

The local authority districts in a county or unitary authority.

County or unitary authority Free

The local authority districts in a county or unitary authority.

cost
Free then $0.001 / call
MCP tool
uk-geography__county
method
GET

Free up to 100 calls a day over MCP (500 with a free key), then $0.001 per call by card credit or USDC. Free key · Pay by card

GET https://fourzerotwo.si/v1/uk-geography/county

ParamTypeDescription
code string ONS county/unitary code
# free: send a free key from https://fourzerotwo.si/free
curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/uk-geography/county?code=E10000016"

# no key: returns 402 with the price, for x402 agents
curl -i "https://fourzerotwo.si/v1/uk-geography/county?code=E10000016"

by fourzerotwo

Report this endpoint

Use it from an AI agent (MCP)

Add the server once, then ask for this data in plain English. The agent finds the endpoint with search_apis and runs it with call_api.

{
  "mcpServers": {
    "fourzerotwo": { "type": "http", "url": "https://fourzerotwo.si/mcp" }
  }
}
# the call the agent makes
call_api {"tool": "uk-geography__county", "arguments": {"code":"E10000016"}}

More from UK Geography Codes

  • Ward — A ward's local authority, county/unitary, region, country and Westminster constituency.
  • Local authority — A local authority district's county/unitary, region and country, with all its wards and constituencies.
  • Westminster constituency — The wards (split wards flagged) and local authorities making up a 2024 Westminster constituency.
  • LSOA — The ward and local authority for a 2021 Lower Layer Super Output Area.
  • MSOA — The wards and local authority for a 2021 Middle Layer Super Output Area.
  • Parish — The ward(s) and local authority for a civil parish.
  • Region — The local authority districts in an English region.
  • Find a code by name — Search ward, local-authority, county, region, constituency or parish names for their ONS codes.

Source: Office for National Statistics licensed under the Open Government Licence v.3.0.