Chicago, United States — City Data API

Country: US Illinois (IL) Pop: 2.7 million

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

Chicago location data via REST API

Use country code US and state code IL to query cities and zip codes that include Chicago.

All cities of United States

List every city in United States

Cities by country

Cities in Illinois

List every city in Illinois, United States

Cities by state

Zip codes in United States

Postal code dataset for United States

Get zip codes

API Request Example

Fetch cities in United States (US) — your response will include Chicago.

Cities by country

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

Authorization: Bearer YOUR_API_KEY

cURL example

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

Access Chicago data via API

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