eSIM Bro API
Buy travel eSIMs from your own app or script. The API pays from your account balance and answers with the QR code, in seconds.
Your API account
Loading…
Quick start
- Create an account and an API key on this page.
- Top up your account balance (Account → Balance).
- Send the key in the
X-Api-Keyheader with every request tohttps://esimbro.net/api/v1.
Prices are in USD and are the same as on our website. Every request answers JSON. Limit: 120 requests per minute per key.
1. Find a plan
curl https://esimbro.net/api/v1/countries -H "X-Api-Key: esb_your_key" curl https://esimbro.net/api/v1/countries/GE/packages -H "X-Api-Key: esb_your_key"
Each package has an id (for example FullySignal:GE_5GB_3D_FIXED), dataGb, validityDays and price.
2. Buy an eSIM
curl -X POST https://esimbro.net/api/v1/orders \
-H "X-Api-Key: esb_your_key" -H "Content-Type: application/json" \
-d '{"packageId":"FullySignal:GE_5GB_3D_FIXED","reference":"order-1001"}'packageId(required): from step 1.reference(recommended): your own order id. If you send the same reference again, you get the same order back, and you do not pay again. Use it when a request times out.customerEmailandsendEmail: setsendEmail: trueif we must email the eSIM to your customer. Default: no email.
The answer (201 Created) has status, iccid, activationCode (LPA), qrCodeUrl, and 1-tap install links for iPhone and Android. status: "Completed" = ready to install. status: "Paid" = paid, delivery is late: ask again with the order id.
3. Check orders, data and balance
GET /api/v1/orders/{id}
GET /api/v1/orders/by-reference/{reference}
GET /api/v1/orders?page=1&pageSize=50
GET /api/v1/orders/{id}/usage (installed?, data left; the network reports it late)
GET /api/v1/balanceErrors
401 | Missing or wrong API key. |
402 | Not enough balance. The answer says the price and your balance. |
404 | Unknown package or order. |
429 | Too many requests. Wait a minute. |
503 | Sales are paused for a short time. |
Keep your key secret: anyone with it can spend your balance. Use it only on your server, never in a browser or an app. If a key leaks, delete it on this page. It stops working at once. Use of the API follows our Terms.