Phone numbers · LV
Latvia phone number format
Latvia numbers use the country code +371. A mobile number looks like 21 234 567 at home and +37121234567 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 21 234 567 | +371 21 234 567 | +37121234567 | 8 |
| Landline | 63 123 456 | +371 63 123 456 | +37163123456 | 8 |
| Toll-free | 80 123 456 | +371 80 123 456 | +37180123456 | 8 |
| Premium-rate | 90 123 456 | +371 90 123 456 | +37190123456 | 8 |
| Shared-cost | 81 123 456 | +371 81 123 456 | +37181123456 | 8 |
- Country calling code
- +371
- National (trunk) prefix
- None
- International call prefix
- 00
- Separate VoIP range
- No
- Time zones
- Europe/Bucharest
Validate in code
Check a Latvia number.
Send the number as typed plus country: "LV". You get it back in E.164 with its line type, ready to store.
curl https://veqen-app.com/v1/phone/check \
-H "Authorization: Bearer $VEQEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country": "LV", "phone": "21 234 567"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "LV", "phone": "21 234 567"},
timeout=10,
)
result = r.json()
print(result["risk"]["verdict"], result["risk"]["reasons"])const res = await fetch("https://veqen-app.com/v1/phone/check", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VEQEN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"country": "LV", "phone": "21 234 567"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Latvia numbers
What is the country code for Latvia?
+371. Dial it after your international access code, or use +371 from a mobile phone.
How do I format a Latvia phone number in E.164?
Add +371 in front of the number with no spaces, e.g. +37121234567.
How many digits is a Latvia mobile number?
8 digits after the country code.
Does Latvia have VoIP phone numbers?
There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.