SMS API for Iraq: bulk SMS to +964 numbers
Iraq
Calling code +964
- Per SMS segment
- $0.02237
- Messages for $100
- 4,470
- Local language
- Arabic and Kurdish
- Encoding
- Unicode (UCS-2)
What a bulk SMS send to Iraq costs
| Messages | 1 segment | 2 segments |
|---|---|---|
| 1 | $0.02237 | $0.04474 |
| 1,000 | $22.37 | $44.74 |
| 10,000 | $223.70 | $447.40 |
| 100,000 | $2,237.00 | $4,474.00 |
Number format in Iraq
Mobile numbers in Iraq have 10 digits after +964. Locally they are written with a leading 0 (0791 234 5678); in the API that 0 is dropped, so the same number goes in the to field as +964 791 234 5678.
Alphabet and segments
Text in Arabic is always Unicode, so a message to Iraq 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
Iraq keeps UTC+3 all year with no clock change, so 09:00 in Baghdad is always 06:00 UTC. send_at takes UTC or any ISO 8601 offset, and the console scheduler converts from your own time zone.
Send to Iraq with one request
The answer comes back at once with the message id, the country the number was matched to (IQ) 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": "+9647912345678", "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: "+9647912345678", text: "Your Northwind code is 482913. It expires in 10 minutes." }),
});
console.log(await res.json()); // price: "0.02237", country: "IQ"import json, os, urllib.request
req = urllib.request.Request(
"https://bulksmsapi.cc/v1/messages",
data=json.dumps({"to": "+9647912345678", "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.02237"What developers send to Iraq
Payment confirmations
Users in Erbil receive an SMS when a mobile payment is successfully processed through their banking app.
Delivery updates
Customers in Basra get an SMS when their online order is out for delivery, with an estimated arrival time.
Appointment reminders
Patients in Najaf receive an SMS the day before their scheduled doctor's appointment to reduce no-shows.
Exam results
Students in Mosul are notified by SMS when their university exam results are published online.
More countries in Middle East
SMS to Iraq: questions
More answers on accounts, payments and the API are in the FAQ.
How much does it cost to send bulk SMS to Iraq?
How many SMS to Iraq does a $100 top-up send?
How do I write Iraq numbers for the API?
What languages are used for SMS in Iraq?
How does SMS reach users in rural areas of Iraq?
Start sending to Iraq
Create an account, top up from $40 and send to Iraq at $0.02237 per segment, from the console or with one API call.