Calgary, Canada — City Data API

Country: CA Alberta (AB) Pop: 1.3 million

Calgary is a city in Canada (CA), Alberta (AB). Get Calgary geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'CA' and state code 'AB' to retrieve Calgary data. Free to start, JSON, plans from $9.99/mo.

Calgary location data via REST API

Use country code CA and state code AB to query cities and zip codes that include Calgary.

All cities of Canada

List every city in Canada

Cities by country

Cities in Alberta

List every city in Alberta, Canada

Cities by state

Zip codes in Canada

Postal code dataset for Canada

Get zip codes

API Request Example

Fetch cities in Canada (CA) — your response will include Calgary.

Cities by country

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

Authorization: Bearer YOUR_API_KEY

cURL example

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

Access Calgary data via API

Integrate Calgary (Canada) into your application. One API for all countries, states, cities and zip codes.