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