API documentation
API request scheme:
https://smspva.eu/api/?action=(method_name)&apikey=(api_key){¶m1..¶mN}
Response in JSON-format
Methods
getuserinfo - getting info about user data
Request:
https://smspva.eu/api/?action=getuserinfo&apikey=(api_key)
Response:
{"status":1,"userdata":{"id":"1","name":"admin","balance":"15.743","karma":499,"group":"3"}}
"status":1 - status of request
"id":"1" - user id
"name":"admin" - username
"balance":"15.743" - balance of account
"karma":499 - rating of user account
getcount - getting count of available phone numbers
Request:
https://smspva.eu/api/?action=getcount&apikey=(api_key)&serviceid=(ID of service)&countryid=(ID of country){&operatorid=(ID of operator)}
Response:
{"status":1,"data":{"id":"0","name":"ICQ","total":379,"price":"0.10"}}
"status":1 - status of request
"data"
"id":"0" - ID of service
"name":"ICQ" - service's name
"total":379 - count of available numbers
"price":"0.10" - price for SMS
getnumber - getting phone number
Request:
https://smspva.eu/api/?action=getnumber&apikey=(api_key)&serviceid=(ID of service)&countryid=(ID of country){&operatorid=(ID of operator)}
Response:
{"status":1,"deviceId":-1,"karma":498.18,"data":{"id":13857082,"numbercode":"+7","number":"9033666014"}}
"status":1 - status of request
"karma":498.18 - rating of user account
"data"
"id":13857082 - ID of order
"numbercode":"+7" - country code of number
"number":"9033666014" - phone number
getsms - getting SMS
Request:
https://smspva.eu/api/?action=getsms&apikey=(api_key)&numberid=(ID of order){¬close=1}
¬close=1 - param that indicate you need to receive more than 1 SMS and don't close order after receiving first SMS
Response:
{"status":1,"data":{"code":"123456","recipient":"9033666014","sender":"ICQ","text":"You code 123456"},"karma":498.02}
"status":1 - SMS received
"status":2 - SMS has not been received yet. You need to repeat getsms-request after sometime (10-15 seconds)
"status":3 - Order expired
"data"
"code":"123456" - code from SMS
"recipient":"9033666014" - phone number
"sender":"ICQ" - sender of SMS
"text":"You code 123456" - full text of SMS
"karma":498.02 - rating of user account
setnumberdenial - denial phone number
Request:
https://smspva.eu/api/?action=setnumberdenial&apikey=(api_key)&numberid=(ID of order)
Response:
{"status":1,"karma":498.02}
"status":1 - status of request
"karma":498.02 - rating of user account
setnumberban - ban phone number
Request:
https://smspva.eu/api/?action=setnumberban&apikey=(api_key)&numberid=(ID of order)
Response:
{"status":1,"karma":498.02}
"status":1 - status of request
"karma":498.02 - rating of user account
setnumberclose - close order
Request:
https://smspva.eu/api/?action=setnumberclose&apikey=(api_key)&numberid=(ID of order)
Response:
{"status":1,"karma":498.02}
"status":1 - status of request
"karma":498.02 - rating of user account
setsearchsms - search next SMS
Request:
https://smspva.eu/api/?action=setsearchsms&apikey=(api_key)&numberid=(ID of order)
Response:
{"status":1,"karma":498.02}
"status":1 - status of request (phone number is ready to receive next SMS)
"karma":498.02 - rating of user account
List of countries, operators and services
List of countries, operators ►
| Country | Operator | ID | Description |
|---|---|---|---|
| Argentina | 408 | Argentina description | |
| Any | 0 | ||
| Claro | 75 | ||
| Personal | 74 | ||
| Belarus | 4 | ||
| Any | 0 | ||
| Bosnia and Herzegovina | 122 | ||
| Any | 0 | ||
| Brazil | 406 | ||
| Any | 0 | ||
| Claro | 69 | ||
| Cambodia | 213 | ||
| Any | 0 | ||
| Canada | 403 | ||
| Any | 0 | ||
| China | 200 | ||
| Any | 0 | ||
| Croatia | 118 | ||
| Any | 0 | ||
| Estonia | 7 | ||
| Any | 0 | ||
| Tele2 | 47 | ||
| Finland | 16 | ||
| Any | 0 | ||
| DNA | 83 | ||
| France | 101 | ||
| Any | 0 | ||
| LycaMobile | 51 | ||
| Symamobile | 81 | ||
| Georgia | 19 | ||
| Any | 0 | ||
| Haiti | 1410 | ||
| Any | 0 | ||
| Indonesia | 211 | ||
| Any | 0 | ||
| AXIS | 41 | ||
| Hutchison 3 | 31 | ||
| Smrat Gold | 37 | ||
| Telkomsel | 26 | ||
| Telkomsel2 | 27 | ||
| XL Axiata | 29 | ||
| Israel | 302 | ||
| 019 | 55 | ||
| Any | 0 | ||
| Cellcom | 56 | ||
| Orange | 52 | ||
| Pelephone | 54 | ||
| Kazakhstan | 3 | ||
| Activ | 14 | ||
| Altel | 15 | ||
| Any | 0 | ||
| Beeline | 11 | ||
| Tele2 | 13 | ||
| Kenya | 304 | ||
| Airtel | 82 | ||
| Any | 0 | ||
| Safaricom | 84 | ||
| Kyrgyzstan | 12 | ||
| Any | 0 | ||
| Beeline | 72 | ||
| MegaCom | 68 | ||
| O | 73 | ||
| Latvia | 6 | ||
| Any | 0 | ||
| Bite | 38 | ||
| LMT | 39 | ||
| Tele2 | 46 | ||
| Lithuania | 8 | ||
| Any | 0 | ||
| Bite | 71 | ||
| Omnitel | 63 | ||
| Tele2 | 58 | ||
| Makao | 202 | ||
| Any | 0 | ||
| Macao1 | 76 | ||
| Macao2 | 77 | ||
| Malaysia | 218 | ||
| Any | 0 | ||
| UMobile | 25 | ||
| Moldova | 10 | ||
| Any | 0 | ||
| Moldovia_Virtual | 79 | ||
| Netherlands | 106 | ||
| Any | 0 | ||
| Lyca | 67 | ||
| NewZealand | 400 | ||
| Any | 0 | ||
| NewZealand_Virtual | 78 | ||
| Paraguay | 405 | ||
| Any | 0 | ||
| Copaco | 66 | ||
| Personal | 64 | ||
| Tigo | 65 | ||
| Philippines | 212 | ||
| Any | 0 | ||
| Globe | 28 | ||
| Smart Gold | 35 | ||
| Poland | 5 | ||
| Any | 0 | ||
| Orange | 60 | ||
| Play | 59 | ||
| Plus | 61 | ||
| TMobile | 62 | ||
| Portugal | 114 | ||
| Any | 0 | ||
| Romania | 11 | ||
| Any | 0 | ||
| Telekom | 48 | ||
| Vodafone | 53 | ||
| Serbia | 116 | ||
| Any | 0 | ||
| Spain | 102 | Spaniards live in Spain | |
| Any | 0 | ||
| LycaMobile | 32 | ||
| Vodafone | 33 | ||
| Sweden | 108 | ||
| Any | 0 | ||
| Ukraine | 2 | ||
| Any | 0 | ||
| KievStar | 17 | ||
| Lifecell | 16 | ||
| LycaMobile | 19 | ||
| Vodafone | 18 | ||
| United Kingdom | 100 | ||
| Any | 0 | ||
| ASDA | 21 | ||
| EE | 20 | ||
| O2 | 23 | ||
| T-Mobile | 24 | ||
| Vodafone | 22 | ||
| USA | 401 | ||
| Any | 0 | ||
| T-Mobile | 40 | ||
| Vietnam | 217 | ||
| Any | 0 | ||
| VietnamMobile | 49 | ||
| VietnamMobile2 | 57 | ||
List of services ►
| Service name | ID | Description |
|---|---|---|
| 1668.com | 28 | |
| Adidas | 85 | |
| Airbnb | 46 | |
| Amazon | 44 | |
| AOL | 10 | |
| Auto.ru | 38 | |
| Avito | 59 | |
| Badoo | 56 | |
| Bigo Live | 92 | |
| BurgerKing | 3 | |
| Careem | 89 | |
| Cash Show | 25 | |
| CDKeys.com | 39 | |
| CityMobil | 76 | |
| CoinBase | 112 | |
| Craigslist | 26 | |
| Delivery Club | 69 | |
| Dent | 99 | |
| Discord | 45 | |
| Dodopizza.ru | 27 | |
| DoorDash | 40 | |
| Drom.ru | 32 | |
| DrugVokrug | 31 | |
| FastMail | 43 | |
| Fishka | 91 | |
| Fiverr | 6 | |
| Fotostrana | 13 | |
| G2A.COM | 68 | |
| GameFlip | 77 | |
| GetTaxi | 35 | |
| Glovo | Raketa | 108 | |
| GrabTaxi | 30 | |
| Grailed | 9001 | |
| Holvi | 80 | |
| HQ Trivia | 47 | |
| 16 | ||
| JD.com | 94 | |
| KakaoTalk | 71 | |
| Keybase | 88 | |
| Kriptomat.io | 0 | |
| KuCoinPlay | 113 | |
| Lazada | 60 | |
| Line Messenger | 37 | |
| 8 | ||
| Lyft | 75 | |
| Mail.ru | 33 | |
| Mail.ru Groups | 4 | |
| Mamba | 100 | |
| MeetMe | 17 | |
| MiL.k | 110 | |
| Naver | 73 | |
| Netflix | 101 | |
| Nike | 86 | |
| Odnoklasniki | 5 | |
| OlaCabs | 95 | |
| OLX | 70 | |
| OTHER | 19 | |
| Paddy Power | 109 | |
| POF.com | 84 | |
| Post Bank | 97 | |
| Prom.UA | 107 | |
| Pyaterochka | 102 | |
| Rambler | 53 | |
| RSA | 111 | |
| Saicmobility | 82 | |
| SEOSprint.net | 22 | |
| Sipnet.ru | 51 | |
| Skout | 49 | |
| Snapchat | 90 | |
| Steam | 58 | |
| Steemit | 78 | |
| Streetbees | 98 | |
| TAN (micropayment) | 55 | |
| TaoBao | 61 | |
| Taxi Maxim | 74 | |
| Telegram | 29 | |
| Tencent QQ | 34 | |
| The Insiders | 14 | |
| TikTok | 104 | |
| Tinder | 9 | |
| Twilio | 66 | |
| 41 | ||
| Uber | 72 | |
| UpWork | 81 | |
| Viber | 11 | |
| 67 | ||
| Weebly | 54 | |
| Yahoo | 65 | |
| Yandex | 23 | |
| Zoho | 93 |