United Kingdom
Names and codes: GeoNames, CC BY 4.0 · Boundary: Natural Earth, public domain · Refresh date not recorded · Sources and licenses
Codes and identifiers
- ISO alpha-2
- GB
- ISO alpha-3
- GBR
- ISO numeric
- 826
- FIPS 10-4
- UK
- GeoNames ID
- 2635167
Key facts
- Capital
- London
- Area
- 244,820 km²
- Population
- 66,488,991
- Currency
- Pound (GBP)
- Calling code
- +44
- Top-level domain
- .uk
- Official languages
- en-GB,cy-GB,gd
Continent
- Name
- Europe
- Code
- EU
- In this dataset
- 54 countries
Location
- Latitude
- 54.75844
- Longitude
- -2.69531
- Min latitude
- 49.90961334800005
- Min longitude
- -13.69131425699993
- Max latitude
- 60.84788646000004
- Max longitude
- 1.7711694670000497
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/GB?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 244820,
"capital": "London",
"continent_code": "EU",
"currency_code": "GBP",
"iso3_code": "GBR",
"iso_code": "GB",
"name": "United Kingdom",
"population": 66488991
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/GB/regions/v1/cities?country=GB/v1/postal-codes?country=GB/v1/timezones?country=GB
Name in other languages
- Arabic
- المملكة المتحدة
- Chinese
- 英国
- English
- United Kingdom
- French
- Royaume-Uni
- German
- Vereinigtes Königreich
- Hindi
- यू॰के॰
- Italian
- Regno Unito
- Japanese
- 英国
- Korean
- 영국
- Portuguese
- Reino Unido
- Russian
- Британия
- Spanish
- Reino Unido
- Total language variants
- 164
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| Europe/London | UTC+00:00 | UTC+01:00 |
Postal code format
- Format
- @# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA
- Pattern
^([Gg][Ii][Rr]\s?0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))\s?[0-9][A-Za-z]{2})$
First-level administrative regions
- England
- Scotland
- Wales
- Northern Ireland
4 of 4 shown, largest first
Largest cities
| City | Population |
|---|---|
| London | 8,961,989 |
| Birmingham | 1,157,603 |
| Glasgow | 626,410 |
| Manchester | 568,996 |
| Sheffield | 556,500 |
| Leeds | 536,280 |
| Edinburgh | 514,990 |
| Liverpool | 496,770 |
| Bristol | 479,024 |
| Cardiff | 372,089 |
Coverage in this dataset
- Cities
- 43,712
- First-level regions
- 4
- Postal codes
- 27,450
- Name languages
- 164
- Boundary polygon
- Yes
What GeoSearch holds for this country in the current dataset. Counts change with each refresh.
Query this data yourself
The free tier includes every endpoint: 5,000 requests a month, no card.