China Postal Code API

Look up postal code (youzheng bianma)s in China with PostalDataPI — sub-10ms responses, one API key for 70+ countries.

Country Code

CN

Format

NNNNNN

Example

100000

About China postal code (youzheng bianma)s

China uses 6-digit postal codes. The first two digits indicate the province or municipality; 10 for Beijing, 20 for Shanghai, etc.

Local term: postal code (youzheng bianma) | Regex pattern: ^\d{6}$

API Usage Examples

cURL

curl -X POST https://postaldatapi.com/api/lookup \
  -H "Content-Type: application/json" \
  -d '{"zipcode": "100000", "country": "CN", "apiKey": "YOUR_API_KEY"}'

Python

from postaldatapi import PostalDataPI

client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("100000", country="CN")
print(result.place_name, result.latitude, result.longitude)

Node.js

import { PostalDataPI } from 'postaldatapi';

const client = new PostalDataPI({ apiKey: 'YOUR_API_KEY' });
const result = await client.lookup('100000', { country: 'CN' });
console.log(result.placeName, result.latitude, result.longitude);

$0.000028 per query

Same price for China and all 70+ countries. No tiers, no per-country pricing.

China Postal Code API | PostalDataPI