Error message

  • Warning: preg_match(): Unknown modifier '2' in os_check() (line 252 of /var/www/custom/tools/tools.inc).
  • Warning: preg_match(): Unknown modifier 'T' in os_check() (line 252 of /var/www/custom/tools/tools.inc).
API Test
API namepostcode
DescriptionPostcode lookup
Sample requestSW1A0AA
GET response
{"status":200,"result":{"postcode":"SW1A 0AA","quality":1,"eastings":530268,"nor
things":179545,"country":"England","nhs_ha":"London","longitude":-0.124638,"lati
tude":51.499842,"european_electoral_region":"London","primary_care_trust":"Westm
inster","region":"London","lsoa":"Westminster 020C","msoa":"Westminster 020","in
code":"0AA","outcode":"SW1A","parliamentary_constituency":"Cities of London and
Westminster","parliamentary_constituency_2024":"Cities of London and Westminster
","senedd_constituency":null,"senedd_constituency_no":null,"admin_district":"Wes
tminster","parish":"Westminster, unparished area","admin_county":null,"date_of_i
ntroduction":"199002","date_of_termination":null,"index_of_multiple_deprivation"
:15991,"admin_ward":"St James's","ced":null,"ccg":"NHS North West London","nuts"
:"Westminster","pfa":"Metropolitan Police","nhs_region":"London","ttwa":"London"
,"national_park":"England (non-National Park)","bua":"City of Westminster","icb"
:"NHS North West London Integrated Care Board","cancer_alliance":"West London","
lsoa11":"Westminster 020C","msoa11":"Westminster 020","lsoa21":"Westminster 020C
","msoa21":"Westminster 020","oa21":"E00023945","ruc11":"(England\/Wales) Urban
major conurbation","ruc21":"Urban: Nearer to a major town or city","lep1":"Londo
n","lep2":null,"codes":{"admin_district":"E09000033","admin_county":"E99999999",
"admin_ward":"E05013806","parish":"E43000236","parliamentary_constituency":"E140
01172","parliamentary_constituency_2024":"E14001172","ccg":"E38000256","ccg_id":
"W2U3Z","ced":"E99999999","nuts":"TLI35","lsoa":"E01004733","msoa":"E02000979","
lau2":"E09000033","pfa":"E23000001","nhs_region":"E40000003","ttwa":"E30000234",
"national_park":"E65000001","bua":"E63012036","icb":"E54000027","cancer_alliance
":"E56000021","lsoa11":"E01004733","msoa11":"E02000979","lsoa21":"E01004733","ms
oa21":"E02000979","oa21":"E00023945","ruc11":"A1","ruc21":"UN1","lep1":"E3700005
1","lep2":null}}}