Phone numbers · LY
Libya phone number format
Libya numbers use the country code +218. A mobile number looks like 091-2345678 at home and +218912345678 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 091-2345678 | +218 91-2345678 | +218912345678 | 9 |
| Landline | 021-2345678 | +218 21-2345678 | +218212345678 | 9 |
- Country calling code
- +218
- National (trunk) prefix
- 0
- International call prefix
- 00
- Separate VoIP range
- No
- Time zones
- Europe/Bucharest
Validate in code
Check a Libya number.
Send the number as typed plus country: "LY". 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": "LY", "phone": "091-2345678"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "LY", "phone": "091-2345678"},
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": "LY", "phone": "091-2345678"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Libya numbers
What is the country code for Libya?
+218. Dial it after your international access code, or use +218 from a mobile phone.
How do I format a Libya phone number in E.164?
Drop the national prefix (0) and add +218. For example 091-2345678 becomes +218912345678.
How many digits is a Libya mobile number?
9 digits after the country code.
Does Libya have VoIP phone numbers?
There is no separate VoIP range in the numbering plan, so VoIP numbers look like ordinary numbers.