Switzerland Postal Code API
Look up Postleitzahl (PLZ) / numero postal d'acheminement (NPA)s in Switzerland with PostalDataPI — sub-10ms responses, one API key for 70+ countries.
Country Code
CH
Format
NNNN
Example
8001
About Switzerland Postleitzahl (PLZ) / numero postal d'acheminement (NPA)s
Switzerland uses 4-digit postal codes shared with Liechtenstein. Zurich starts with 80, Bern with 30, Geneva with 12.
Local term: Postleitzahl (PLZ) / numero postal d'acheminement (NPA) | Regex pattern: ^\d{4}$
API Usage Examples
cURL
curl -X POST https://postaldatapi.com/api/lookup \
-H "Content-Type: application/json" \
-d '{"zipcode": "8001", "country": "CH", "apiKey": "YOUR_API_KEY"}'Python
from postaldatapi import PostalDataPI
client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("8001", country="CH")
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('8001', { country: 'CH' });
console.log(result.placeName, result.latitude, result.longitude);$0.000028 per query
Same price for Switzerland and all 70+ countries. No tiers, no per-country pricing.