Skip to content

SMS rates per destination country and network.

GET  /api/v1/user/pricing  · Permission: pricing.read

Terminal window
curl https://restlink23telecom.com/api/v1/user/pricing \
-H "X-API-Key: $API_KEY"

An array of pricing entries — one per network:

200 OK (one entry shown)
[
{
"mcc": "310",
"mnc": "004",
"mccmnc": "310004",
"dialcode": "1",
"country": "United States",
"network": "Verizon Wireless",
"rate": 0.0085,
"prev_rate": 0.0080,
"rate_start_date": "2026.01.08 22:15:29",
"rate_end_date": "2100.01.01 00:00:00",
"change_type": "Increase"
}
]
FieldDescription
mcc / mnc / mccmncMobile Country Code, Network Code and the combined identifier
dialcodeInternational dialing prefix
country / networkHuman-readable names
rateCurrent rate in your account currency
prev_ratePrevious rate, for change tracking
rate_start_dateWhen the current rate took effect (YYYY.MM.DD HH:MM:SS)
rate_end_dateFar-future sentinel (2100.01.01) while the rate is ongoing
change_typeSame, Increase or Decrease
  • POST /user/pricing returns identical data (kept for frontend compatibility; the request body is ignored).
  • GET /user/pricing/:id is currently a stub returning {} — fetch the full list and filter client-side by mccmnc.
  • During account setup the endpoint returns HTTP 200 with {"status": false, "error": "Account is in setup process", …}.
  • Degraded-cache behavior matches balance: an empty array [] plus X-Sms-Gateway-Status: unavailable.