Sweden Postal Code API
Look up postnummers in Sweden with PostalDataPI — sub-10ms responses, one API key for 70+ countries.
Country Code
SE
Format
NNN NN
Example
111 21
About Sweden postnummers
Sweden uses 5-digit postal codes, formatted with a space after the third digit. Stockholm codes start with 1.
Local term: postnummer | Regex pattern: ^\d{3}\s?\d{2}$
API Usage Examples
cURL
curl -X POST https://postaldatapi.com/api/lookup \
-H "Content-Type: application/json" \
-d '{"zipcode": "111 21", "country": "SE", "apiKey": "YOUR_API_KEY"}'Python
from postaldatapi import PostalDataPI
client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("111 21", country="SE")
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('111 21', { country: 'SE' });
console.log(result.placeName, result.latitude, result.longitude);$0.000028 per query
Same price for Sweden and all 70+ countries. No tiers, no per-country pricing.