Return the related area names and codes based on given category and search parameters.

get/code

Request

Query parameters

category'postcode' | 'lsoa' | 'msoa' | 'ltla' | 'utla' | 'region' | 'nation'

Search by code category.

searchstring

String to search for in given category.

Response

Returns area names and codes.

postcodestring
trimmedPostcodestring
lsoastring
lsoaNamestring
msoastring
msoaNamestring
nhsTruststring
nhsTrustNamestring
ltlastring
ltlaNamestring
utlastring
utlaNamestring
regionstring
regionNamestring
nhsRegionstring
nhsRegionNamestring
nationstring
nationNamestring

Changes

    • info

      added the new optional query request parameter category

    • info

      added the new optional query request parameter search

    • info

      added the media type application/json for the response with the status