<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />

Hanoi, Vietnam — City Data API

Country: VN Pop: 8 million

Hanoi is a city in Vietnam (VN). Get Hanoi geographic data, postal codes and location info via the Country Data API REST endpoints. Query by country code 'VN' to retrieve Hanoi data. JSON, plans from €5/mo.

Hanoi location data via REST API

Use country code VN to query cities and zip codes that include Hanoi.

All cities of Vietnam

List every city in Vietnam

Cities by country

Zip codes in Vietnam

Postal code dataset for Vietnam

Get zip codes

API Request Example

Fetch cities in Vietnam (VN) — your response will include Hanoi.

Cities by country

GET https://api.countrydataapi.com/v1/cities/country?country=Vietnam&limitToken=1000&apikey=YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/cities?city=Hanoi&apikey=YOUR_API_KEY"

Access Hanoi data via API

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