Customer API

Get price for service/country combination

Public endpoint - no authentication required. Returns the current price for a specific service and country combination.

get/api/v1/price

Request

  • Base URL: https://virtualsms.io
  • URL: https://virtualsms.io/api/v1/price
  • Auth: none required

Query parameters

servicestring required

Service code (e.g. tg, wa, ig)

countrystring required

ISO country code (e.g. ID, PH, US)

Response

Price returned

successboolean
pricenumber float
servicestring
countrystring
service_namestring
country_namestring
estimatedboolean

Example response

{
  "success": true,
  "price": 0.4,
  "service": "tg",
  "country": "ID",
  "service_name": "Telegram",
  "country_name": "Indonesia"
}

Changes

No recorded changes to this operation across all 1 revision of this API.