Get Price
Check the price in satoshis for any country and service combination.
GET https://api2.sms4sats.com/price
Returns pricing in satoshis for receive, send, and rental operations. Optionally pass a country and service to get the exact computed price for that combination.
Query Parameters
country
Number or String
No
ISO country name or numeric country code (e.g. "us" or 187)
service
String
No
Short or long service name (e.g. "google", "tg", "ot")
{
"receive": "1500",
"send": 3000,
"rent": 15000,
"s4s": "4000",
"query": {
"country": "us",
"service": "google"
},
"computed": {
"price": 1500,
"country": 187,
"description": "sms4sats payment US google"
}
}Response Fields
receive
String
Price to receive an SMS activation code (satoshis)
send
Number
Price to send an SMS message (satoshis)
rent
Number
Price to rent a phone number (satoshis)
s4s
String
Platform fee (satoshis)
computed.price
Number
Exact price for the queried country/service (satoshis)
computed.country
Number
Resolved numeric country code
computed.description
String
Human-readable description of the computed order
Last updated