eSMS AfricaeSMS Africa
API ReferenceSMS API

Pricing

GET /api/pricing - SMS price per segment for every destination.

Endpoint

GET https://sms.esmsafrica.io/api/pricing

Returns the per-segment price for every active destination. For a live, message-specific quote (segment count + total in your wallet currency), use Check price instead.

Authentication

Authorization: Bearer esms_live_your_api_key

Response

[
  {
    "route_code": "ESMS_KE",
    "country_code": "KE",
    "country_name": "Kenya",
    "currency": "KES",
    "price_per_segment": 1.2,
    "sender_id": "eSMSAfrica"
  }
]
FieldDescription
route_codePublic route code (ESMS_<CC>).
currencyCurrency the price is quoted in.
price_per_segmentPrice for one 160-char GSM-7 (or 70-char Unicode) segment.

Prices are billed per segment; a long message spans several segments. Your wallet is charged in its own currency, converted from the route currency at send time.

Example

curl https://sms.esmsafrica.io/api/pricing \
  -H "Authorization: Bearer esms_live_your_api_key"

On this page