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. Free to start, JSON, plans from $9.99/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/by-country?country=CNAuthorization: Bearer YOUR_API_KEY
cURL example
curl "https://api.countrydataapi.com/v1/cities/by-country?country=CN" -H "Authorization: Bearer YOUR_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.

