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