Toronto, Canada — City Data API
Country: CA Ontario (ON) Pop: 2.9 million
Toronto is a city in Canada (CA), Ontario (ON). Get Toronto geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'CA' and state code 'ON' to retrieve Toronto data. Free to start, JSON, plans from $9.99/mo.
Toronto location data via REST API
Use country code CA and state code ON to query cities and zip codes that include Toronto.
All cities of Canada
List every city in Canada
Cities in Ontario
List every city in Ontario, Canada
Zip codes in Canada
Postal code dataset for Canada
API Request Example
Fetch cities in Canada (CA) — your response will include Toronto.
Cities by country
GET https://api.countrydataapi.com/v1/cities/by-country?country=CAAuthorization: Bearer YOUR_API_KEY
cURL example
curl "https://api.countrydataapi.com/v1/cities/by-country?country=CA" -H "Authorization: Bearer YOUR_KEY"More cities in Canada
Access Toronto data via API
Integrate Toronto (Canada) into your application. One API for all countries, states, cities and zip codes.

