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