United Kingdom

United Kingdom Administrative Division Codes

When dealing with addresses or locations in the United Kingdom, our API uses the following administrative division codes based on the ISO 3166-2:GB standard.

England - Counties and Unitary Authorities

CodeName
GB-CAMCambridgeshire
GB-CMACumbria
GB-DBYDerbyshire
GB-DEVDevon
GB-DORDorset
GB-ESXEast Sussex
GB-ESSEssex
GB-GLSGloucestershire
GB-HAMHampshire
GB-HRTHertfordshire
GB-KENKent
GB-LANLancashire
GB-LECLeicestershire
GB-LINLincolnshire
GB-NFKNorfolk
GB-NYKNorth Yorkshire
GB-NTTNottinghamshire
GB-OXFOxfordshire
GB-SOMSomerset
GB-STSStaffordshire
GB-SFKSuffolk
GB-SRYSurrey
GB-WARWarwickshire
GB-WSXWest Sussex
GB-WORWorcestershire

London Boroughs

CodeBorough
GB-LNDCity of London
GB-BDGBarking and Dagenham
GB-BNEBarnet
GB-BEXBexley
GB-BENBrent
GB-BRYBromley
GB-CMDCamden
GB-CRYCroydon
GB-EALEaling
GB-ENFEnfield
GB-GREGreenwich
GB-HCKHackney
GB-HMFHammersmith and Fulham
GB-HRYHaringey
GB-HRWHarrow
GB-HAVHavering
GB-HILHillingdon
GB-HNSHounslow
GB-ISLIslington
GB-KECKensington and Chelsea
GB-KTTKingston upon Thames
GB-LBHLambeth
GB-LEWLewisham
GB-MRTMerton
GB-NWMNewham
GB-RDBRedbridge
GB-RICRichmond upon Thames
GB-SWKSouthwark
GB-STNSutton
GB-TWHTower Hamlets
GB-WFTWaltham Forest
GB-WNDWandsworth
GB-WSMWestminster

Metropolitan Counties

CodeArea
GB-BIRBirmingham
GB-LDSLeeds
GB-LIVLiverpool
GB-MANManchester
GB-SHFSheffield
GB-WKFWakefield

Scotland

CodeArea
GB-ABEAberdeen City
GB-EDHEdinburgh
GB-GLGGlasgow City
GB-HLDHighland
GB-ZETShetland Islands
GB-ORKOrkney Islands

Wales

CodeArea
GB-CRFCardiff
GB-SWASwansea
GB-WRXWrexham
GB-BGWBlaenau Gwent
GB-CGNCeredigion
GB-CMNCarmarthenshire

Northern Ireland

CodeArea
GB-BFSBelfast
GB-DRSDerry and Strabane
GB-ABCArmagh, Banbridge and Craigavon
GB-ANDArds and North Down

Usage Notes

  • The UK is divided into four countries:
    • England
    • Scotland
    • Wales
    • Northern Ireland
  • Each country has its own administrative structure:
    • England: Counties, Unitary Authorities, Metropolitan Counties, and London Boroughs
    • Scotland: Council Areas
    • Wales: Principal Areas
    • Northern Ireland: Districts
  • All codes follow the format 'GB-' followed by three letters
  • Notable regions:
    • London (GB-LND and surrounding boroughs) is the capital
    • Edinburgh (GB-EDH) is the capital of Scotland
    • Cardiff (GB-CRF) is the capital of Wales
    • Belfast (GB-BFS) is the capital of Northern Ireland
  • When specifying locations in the UK in your API requests, please use these exact codes for the administrative division

Note: This list shows the main administrative divisions. Some smaller or specialized administrative areas may exist but are not included in this standard coding system.