https://api.grizzlysms.com/stubs/handler_api.php?api_key=$api_key&action=getNumberV2&service=$service&country=$country&maxPrice=maxPrice&providerIds=$providerIds&exceptProviderIds=$exceptProviderIds
&action=getNumberV2
The method works similarly to the getNumber method, accepts the same parameters, but returns additional activation information.
$api_key — your API key (Settings);
$service — service code;
$country — country code;
$maxPrice — the maximum price for which you are ready to buy a number;
$providerIds - a list of providers from which purchases will be made, separated by commas (1,2,3)
$exceptProviderIds - a list of providers excluded from the number purchase, separated by commas (1,2,3)
Possible errors:
BAD_KEY — check your API key;
NO_NUMBERS — repeat a request or choose another country;
The service is prohibited for sale by administration — select another service;
SERVICE_UNAVAILABLE_REGION — access from your region is restricted, please use another IP.
The example of successful answer:
{
"activationId": 38496653,
"phoneNumber": "66846426435",
"activationCost": 12.34,
"currency": 840,
"countryCode": "2",
"canGetAnotherSms": "1",
"activationTime": "2025-12-31 23:30:55"
}
Where 38496653 is activation id. 66846426435 is a phone number,
12.34 - purchase price,
870 - currency code by ISO 4217, 2 - country code,
0/1 = true/false support second sms,
2025-12-31 23:30:55 - activation start date