Lagos, Nigeria — City Data API
Country: NG Pop: 15.4 million
Lagos is a city in Nigeria (NG). Get Lagos geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'NG' to retrieve Lagos data. JSON, plans from €5/mo.
Lagos location data via REST API
Use country code NG to query cities and zip codes that include Lagos.
All cities of Nigeria
List every city in Nigeria
Zip codes in Nigeria
Postal code dataset for Nigeria
API Request Example
Fetch cities in Nigeria (NG) — your response will include Lagos.
Cities by country
GET https://api.countrydataapi.com/v1/cities/country?country=Nigeria&limitToken=1000&apikey=YOUR_API_KEYcURL example
curl "https://api.countrydataapi.com/v1/cities?city=Lagos&apikey=YOUR_API_KEY"Access Lagos data via API
Integrate Lagos (Nigeria) into your application. One API for all countries, states, cities and zip codes.