Latvia Postal Code API

Look up pasta indeksss in Latvia with PostalDataPI — sub-10ms responses, one API key for 70+ countries.

Country Code

LV

Format

LV-NNNN

Example

LV-1001

About Latvia pasta indeksss

Latvia uses 4-digit postal codes prefixed with LV-. Riga codes start with LV-10.

Local term: pasta indekss | Regex pattern: ^LV-?\d{4}$

API Usage Examples

cURL

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

Python

from postaldatapi import PostalDataPI

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

$0.000028 per query

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

Latvia Postal Code API | PostalDataPI