💳 Get Price

Retrieves a number price.

Request object

username (required) string password (required) string country (required) string service (required) string

JSON Object
JSON Object
{
"auth": {
"username": "demo",
"password": "demo"
},
"country": "Russia",
"service": "ProtonMail"
}

📃 Code example

PHP Example
PHP Example
$data = array(
"auth" => array(
"username" => "demo",
"password" => "demo"
),
"country" => "Russia",
"service" => "ProtonMail"
);
$payload = json_encode($data);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://smsverification.xyz/api/v2/disposable/price',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS => $payload,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
'Content-Length: ' . strlen($payload)
)
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response; // json

Successful Response

  • service => string

  • country => string

  • price => float

JSON Object
JSON Object
{
"status": "success",
"data": {
"country": "Russia",
"service": "ProtonMail",
"phone": {
"price": 0.018331200000000002
}
}
}