London, United Kingdom — City Data API

Country: GB Pop: 9 million

London is a city in United Kingdom (GB). Get London geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'GB' to retrieve London data. Free to start, JSON, plans from $9.99/mo.

London location data via REST API

Use country code GB to query cities and zip codes that include London.

All cities of United Kingdom

List every city in United Kingdom

Cities by country

Zip codes in United Kingdom

Postal code dataset for United Kingdom

Get zip codes

API Request Example

Fetch cities in United Kingdom (GB) — your response will include London.

Cities by country

GET https://api.countrydataapi.com/v1/cities/by-country?country=GB

Authorization: Bearer YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/cities/by-country?country=GB"   -H "Authorization: Bearer YOUR_KEY"

Access London data via API

Integrate London (United Kingdom) into your application. One API for all countries, states, cities and zip codes.