Phone numbers · BA
Bosnia and Herzegovina phone number format
Bosnia and Herzegovina numbers use the country code +387. A mobile number looks like 061 123 456 at home and +38761123456 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 061 123 456 | +387 61 123 456 | +38761123456 | 8, 9 |
| Landline | 030 212-345 | +387 30 212-345 | +38730212345 | 8 |
| Toll-free | 080 123 456 | +387 80 123 456 | +38780123456 | 8 |
| Premium-rate | 090 123 456 | +387 90 123 456 | +38790123456 | 8 |
| Shared-cost | 082 123 456 | +387 82 123 456 | +38782123456 | 8 |
| Company (UAN) number | 070 341 234 | +387 70 341 234 | +38770341234 | 8 |
- Country calling code
- +387
- National (trunk) prefix
- 0
- International call prefix
- 00
- Separate VoIP range
- No
- Time zones
- Europe/Sarajevo
Validate in code
Check a Bosnia and Herzegovina number.
Send the number as typed plus country: "BA". 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": "BA", "phone": "061 123 456"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "BA", "phone": "061 123 456"},
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": "BA", "phone": "061 123 456"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Bosnia and Herzegovina numbers
What is the country code for Bosnia and Herzegovina?
+387. Dial it after your international access code, or use +387 from a mobile phone.
How do I format a Bosnia and Herzegovina phone number in E.164?
Drop the national prefix (0) and add +387. For example 061 123 456 becomes +38761123456.
How many digits is a Bosnia and Herzegovina mobile number?
8 or 9 digits after the country code.
Does Bosnia and Herzegovina have VoIP phone numbers?
There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.