Slovenia Postal Code API

Look up postna stevilkas in Slovenia with PostalDataPI — sub-10ms responses, one API key for 70+ countries.

Country Code

SI

Format

NNNN

Example

1000

About Slovenia postna stevilkas

Slovenia uses 4-digit postal codes. Ljubljana starts with 1000.

Local term: postna stevilka | Regex pattern: ^\d{4}$

API Usage Examples

cURL

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

Python

from postaldatapi import PostalDataPI

client = PostalDataPI(api_key="YOUR_API_KEY")
result = client.lookup("1000", country="SI")
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('1000', { country: 'SI' });
console.log(result.placeName, result.latitude, result.longitude);

$0.000028 per query

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

Slovenia Postal Code API | PostalDataPI