HomePhone numbers › Bosnia & Herzegovina
● Bosnia & Herzegovina · +387

Bosnia & Herzegovina phone number validator & formatter

Check whether a Bosnia & Herzegovina number is valid, detect its line type, and convert it to E.164, international, or national format — instantly and free. Powered by Google's libphonenumber.

validates in your browser — nothing is sent anywhere
Bosnia & Herzegovina phone number  ·  country

Bosnia & Herzegovina phone number format

CountryBosnia & Herzegovina (BA)
Country calling code+387
Example number (international)+387 61 123 456
National format061 123 456
E.164 format+38761123456
RFC 3966 (tel: URI)tel:+38761123456
Example line typemobile

To dial a Bosnia & Herzegovina number from abroad, start with the country code +387 followed by the national subscriber number. In E.164 — the format every SMS gateway, CRM, and payment provider expects — the same number is stored as +38761123456: a leading +, the country code, and the national number with no spaces or separators.

Validate Bosnia & Herzegovina numbers in your app

The interactive tool above runs entirely in your browser. For server-side validation at scale — sign-up forms, lead cleaning, SMS routing — call the API. One GET request, no SDK, works in any language.

# Validate a Bosnia & Herzegovina number via the API
curl "https://phone-validation-and-formatting.p.rapidapi.com/v1/validate?number=%2B38761123456" \
  -H "X-RapidAPI-Key: YOUR_KEY" \
  -H "X-RapidAPI-Host: phone-validation-and-formatting.p.rapidapi.com"

Get a free API key →  ·  1,000 free requests/month, no credit card.

Frequently asked questions

What is the country code for Bosnia & Herzegovina?

The country calling code for Bosnia & Herzegovina is +387. A full number in international (E.164) form looks like +38761123456.

What does a valid Bosnia & Herzegovina phone number look like?

A typical Bosnia & Herzegovina mobile number is written +387 61 123 456 internationally, 061 123 456 nationally, or +38761123456 in E.164 format.

How do I validate a Bosnia & Herzegovina phone number in code?

Send one GET request to the Phone Validation API with the number and country code "BA". The response tells you whether it is valid, the line type, and every standard format. A free tier is available.

Phone validation for every country

Validity, line-type detection, and every format from a single endpoint — 240+ countries, sub-50ms from the edge.

Start free →

Other countries