SMS API for Libya: bulk SMS to +218 numbers
Libya
Calling code +218
- Per SMS segment
- $0.02697
- Messages for $100
- 3,707
- Local language
- Arabic
- Encoding
- Unicode (UCS-2)
What a bulk SMS send to Libya costs
| Messages | 1 segment | 2 segments |
|---|---|---|
| 1 | $0.02697 | $0.05394 |
| 1,000 | $26.97 | $53.94 |
| 10,000 | $269.70 | $539.40 |
| 100,000 | $2,697.00 | $5,394.00 |
Number format in Libya
Mobile numbers in Libya have 9 digits after +218. Locally they are written with a leading 0 (091-2345678); in the API that 0 is dropped, so the same number goes in the to field as +218 91 2345678.
Alphabet and segments
Text in Arabic is always Unicode, so a message to Libya written in Arabic carries 70 characters in one segment and 67 in each part of a longer one. Codes and alerts written in English or plain Latin letters fit 160 characters, which halves the cost of a long notice.
Time zone and timing
Libya keeps UTC+2 all year with no clock change, so 09:00 in Tripoli is always 07:00 UTC. send_at takes UTC or any ISO 8601 offset, and the console scheduler converts from your own time zone.
Send to Libya with one request
The answer comes back at once with the message id, the country the number was matched to (LY) and the price. A delivered or failed event follows on your webhook, and a failed message is refunded.
For a list, send the same text to up to 10,000 numbers with POST /v1/batches, or a personal text per number in messages.
curl https://bulksmsapi.cc/v1/messages \
-H "Authorization: Bearer $BULKSMSAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+218912345678", "text": "Your Northwind code is 482913. It expires in 10 minutes."}'const res = await fetch("https://bulksmsapi.cc/v1/messages", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BULKSMSAPI_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ to: "+218912345678", text: "Your Northwind code is 482913. It expires in 10 minutes." }),
});
console.log(await res.json()); // price: "0.02697", country: "LY"import json, os, urllib.request
req = urllib.request.Request(
"https://bulksmsapi.cc/v1/messages",
data=json.dumps({"to": "+218912345678", "text": "Your Northwind code is 482913. It expires in 10 minutes."}).encode(),
headers={"Authorization": "Bearer " + os.environ["BULKSMSAPI_KEY"], "Content-Type": "application/json", "User-Agent": "northwind-app/1.0"},
method="POST",
)
with urllib.request.urlopen(req) as res:
print(json.load(res)["price"]) # "0.02697"What developers send to Libya
Payment alerts
Banks in Tripoli send SMS notifications for successful transactions and account updates.
Appointment reminders
Hospitals in Benghazi notify patients about upcoming medical appointments via SMS.
Delivery updates
E-commerce platforms in Misrata inform customers about order shipment statuses.
Service notifications
Utility companies in Sabha send SMS alerts about maintenance schedules or outages.
More countries in North Africa
SMS to Libya: questions
More answers on accounts, payments and the API are in the FAQ.
How much does it cost to send bulk SMS to Libya?
How many SMS to Libya does a $100 top-up send?
How do I write Libya numbers for the API?
What language should messages use?
How do I reach users in remote areas?
Start sending to Libya
Create an account, top up from $40 and send to Libya at $0.02697 per segment, from the console or with one API call.