Documentazione API

API è un protocollo di interazione tra il vostro SOFTWARE e il nostro server di attivazione.

L’API è necessaria per automatizzare il processo di ricezione dei messaggi SMS da parte vostra Tutte le richieste (supportate da POST e GET) devono andare a

https://sms-service-online.com/stubs/handler_api

Attenzione

Tutte le richieste devono avere API key-parametro "api_key", localizzazione per l’interazione con rublo / dollaro (ru/en) balance-parametro "lang", nome del metodo-parametro "action".

Chiave API È possibile ottenere nella sezione:Profilo.

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

action

string

Nome del metodo

lang

string

Localizzazione ru o en

Risposta del server:

Пример ответа:

463.02

getCountryAndOperators

Ottenere tutti i paesi e gli operatori disponibili

https://sms-service-online.com/stubs/handler_api?api_key=APIKEY&action=getCountryAndOperators&lang=LANG

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

lang

string

Localizzazione ru o en

Risposta del server:

Пример ответа в JSON:

[{"id":0,"name":"Россия","operators":{"any":"any","tele2":"tele2","tinkoff":"tinkoff","ttk":"ttk","yota":"yota"}},{"id":1,"name":"Украина","operators":{"any":"any","kyivstar":"kyivstar","life":"life","lycamobile":"lycamobile","mts":"mts","utel":"utel","vodafone":"vodafone"}}]

Campo

Esempio

Descrizione

id

0

ID страны

name

Россия

Название страны

operators

["operators":{"aiva":"aiva", "any":"any"}]

Массив с ID операторов

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

operator

string

Сотовый оператор номер которого необходимо получить см. "Список стран"

country

integer

ID Страны номер которой необходимо получить см. "Список стран"

lang

string

Localizzazione ru o en

Risposta del server:

Пример ответа в JSON:

[{"id":"vk","name":"Вконтакте","price":29.88,"quantity":"19"},{"id":"ok","name":"Ok.ru","price":1.34,"quantity":"2776"},{"id":"wa","name":"Whatsapp","price":0,"quantity":"0"}]

Campo

Esempio

Descrizione

id

vk

ID сервиса

name

Вконтакте

Название сервиса

price

29.88

Актуальная цена

quantity

19

Количество номеров

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

action

string

Nome del metodo

service

string

Сервис, номер для которого необходимо получить см. "Список сервисов"

operator

string

Сотовый оператор номер которого необходимо получить см. "Список стран"

country

integer

ID Страны номер которой необходимо получить см. "Список стран"

lang

string

Localizzazione ru o en

Risposta del server:

Risposta del server

Esempio

Descrizione

NO_BALANCE

NO_BALANCE

Недостаточно баланса на аккаунте API

NO_NUMBERS

NO_NUMBERS

Нет номеров с заданными параметрами, попробуйте позже, или поменяйте оператора, страну.

ACCESS_NUMBER:ID:NUMBER

ACCESS_NUMBER:234242:79991728822

Получили номер, ID активации - ID, сам номер с кодом страны - NUMBER

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

action

string

Nome del metodo

id

integer

ID di attivazione ricevuto quando si richiede un numero

status

integer

Stato da trasferire all’attivazione

lang

string

Localizzazione ru o en

Stati disponibili:

3 - Запросить еще одну смс

6 - Завершить активацию

8 - Отменить заказ

Risposta del server:

Risposta del server

Descrizione

NO_BALANCE

Недостаточно баланса на аккаунте API

ACCESS_CANCEL

Активация отменена

ACCESS_RETRY_GET

Ожидаем новое смс

ACCESS_ACTIVATION

Активация успешно завершена

Campo

Tipo

Descrizione

api_key

string

La tua chiave API fornisce l’accesso ai servizi a pagamento. La chiave API dovrebbe essere tenuta segreta

action

string

Nome del metodo

id

integer

ID di attivazione ricevuto quando si richiede un numero

lang

string

Localizzazione ru o en

Risposta del server:

Risposta del server

Descrizione

STATUS_WAIT_CODE

Ожидаем прихода смс

STATUS_CANCEL

активация отменена

STATUS_OK:CODE

Код получен (где CODE - код активации)

Allegato 1. Elenco dei paesi

ID

Наименование

Доступные операторы

0

Russia

aiva, any, beeline, center2m, danycom, ezmobile, lycamobile, matrix, megafon, motiv, mts, mtt, mtt_virtual, rostelecom, sber, simsim, tele2, tinkoff, ttk, winmobile, yota,

1

Ucraina

3mob, any, intertelecom, kyivstar, life, lycamobile, mts, utel, vodafone,

2

Kazakistan

activ, altel, any, beeline, kcell, tele2,

3

Cina

any, chinamobile, china_unicom, unicom,

16

Inghilterra (Regno Unito)

any, cmlink, ee, ezmobile, lebara, lycamobile, o2, talk_telecom, three, tmobile, vectone, vodafone,

5

Myanmar

any, telenor,

6

Indonesia

any, axis, indosat, telkomsel, three,

7

Malesia

any, celcom, digi, hotlink, u_mobile, xox,

8

Kenya

airtel, any, econet, orange, safaricom, telkom,

9

Tanzania

any,

10

Viet Nam

any, itelecom, mobifone, vietnamobile, viettel, vinaphone,

11

Kirghizistan

any, beeline, megacom, o!,

12

USA

any, cellular, tmobile,

13

Israele

019mobile, any, golan_telecom, home_cellular, hot_mobile, jawwal, ooredoo, orange, pelephone, rami_levy,

14

Hong Kong

any, chinamobile, csl_mobile, imc, smartone, three, unicom,

15

Polonia

aero2, any, e_telko, klucz, lycamobile, netia, orange, play, plus, tmobile,

4

Filippine

any, globe_telecom, smart, tm,

17

Madagascar

any,

18

Dem. Congo

africel, airtel, any, orange, vodacom,

19

Nigeria

airtel, any, etisalat, glomobile, mtn,

20

Macao

any,

21

Egitto

any, etisalat, orange, vodafone,

22

India

any,

23

Irlanda

any, lycamobile,

24

Cambogia

any,

25

Laos

any, etl, telekom, tplus, unitel,

26

Haiti

any, natcom,

27

Costa d’Avorio

any, moov, mtn, orange,

28

Gambia

africel, any, comium, gamcel, qcell,

29

Serbia

any, mobtel, mts, vip,

30

Yemen

any, mtn, sabafon, yemen_mobile,

31

SUD AFRICA

any, cell_c, lycamobile, mtn, telkom, vodacom,

32

Romania

any, digi, lycamobile, my_avon, orange, runex_telecom, telekom, vodafone,

33

Colombia

any, claro,

34

Estonia

any, elisa, goodline, super, tele2, topconnect,

35

Azerbaijan

any,

36

Canada (virtuale)

any, cellular, lucky, rogers,

37

Marocco

any, iam, inwi, itissalat, orange,

38

Ghana

airtel, any, glomobile, millicom, mtn, vodafone,

39

Argentina

any,

40

Uzbekistan

any, beeline, mts, ucell, uzmobile,

41

Camerun

any, mtn, nexttel, orange,

42

Ciad

airtel, any, salam, tigo,

43

Germania

any, fonic, lebara, lycamobile, o2, ortel_mobile, telekom, vodafone,

44

Lituania

any, tele2, telia,

45

Croazia

a1, any, tele2, tmobile,

46

Svezia

any, comviq, lycamobile, tele2, telenor, telia, three, vectone, vodafone,

47

Iraq

any, asiacell, korek, zain,

48

Paesi Bassi

any, kpn, lebara, lycamobile, l_mobi, tmobile, vodafone,

49

Lettonia

any, tele2,

50

Austria

a1, any, orange, telering, three, tmobile,

51

Bielorussia

any, life, mdc, mts,

52

Thailandia

ais, any, dtac, truemove,

53

Arabia Saudita Arabia Saudita

any,

54

Messico

any, telcel,

55

Taiwan

any, chunghwa, fareast,

56

Spagna

altecom, any, euskaltel, lebara, lycamobile, movistar, orange, vodafone, yoigo, you_mobile,

57

Iran

any, aptel, azartel, hamrah_e_aval, irancell, rightel, samantel, shatel, taliya,

58

Algeria

any, djezzy, mobilis, ooredoo,

59

Slovenia

any,

60

Bangladesh

any,

61

Senegal

any, expresso, free, orange,

62

Turchia

any, turkcell,

63

Repubblica Ceca

any, o2, tmobile, vodafone,

64

Sri Lanka

any,

65

Perù

any,

66

Pakistan

any,

67

Nuova Zelanda

2degree, any, vodafone,

68

Guinea

any, cellcom, mtn, orange,

69

Mali

any, malitel, orange, telecel,

70

Venezuela

any,

71

Etiopia

any,

72

Mongolia

any, beeline,

73

Brasile

algartelecom, any, claro, correios_celular, oi, tim, vivo,

74

Afghanistan

any, salaam,

75

Uganda

airtel, any, k2_telecom, lycamobile, mtn, orange, smart, smile, uganda_telecom,

76

Angola

any,

77

Cipro

any, cyta, epic, lemontel, primetel, vectone,

78

Francia

any, lebara, lycamobile, orange, sfr, syma_mobile, vectone,

79

Nuova Guinea

any,

80

Mozambico

any,

81

Nepal

any,

82

Belgio

any,

83

Bulgaria

any,

84

Ungheria

any,

85

Moldavia

any, moldcell, orange, unite,

86

Italia

any,

87

Paraguay

any,

88

Honduras

any,

89

Tunisia

any,

90

Nicaragua

any,

91

Timor-Leste

any,

92

Bolivia

any,

93

Costa Rica

any,

94

Guatemala

any, claro, movistar, tigo,

95

EMIRATI ARABI UNITI

any,

96

Zimbabwe

any,

97

Portorico

any,

98

Sudan

any, mtn, sudani_one, zain,

99

Togo

any,

100

Kuwait

any,

101

El Salvador

any,

102

Libia

any,

103

Giamaica

any, digi,

104

Trinidad e Tobago

any,

105

Ecuador

any,

106

Swaziland

any,

107

Oman

any,

108

Bosnia ed Erzegovina

any,

109

Repubblica Dominicana

altice, any, claro, viva,

111

Qatar

any,

113

Cuba

any,

112

Panama

any,

114

Mauritania

any, chinguitel, mattel, mauritel,

115

Sierra Leone

africel, airtel, any, qcell,

116

Giordania

any, orange, umniah, xpress, zain,

117

Portogallo

any, lycamobile, vodafone,

118

Barbados

any,

119

Burundi

any,

120

Benin

any,

121

Brunei

any,

122

Bahamas

any,

123

Botswana

any, be_mobile, mascom, orange,

124

Belize

any,

125

CAR

any,

126

Dominica

any,

127

Grenada

any,

128

Georgia

any, beeline, geocell, hamrah_e_aval, magticom,

129

Grecia

any, cosmote, q_telecom, vodafone,

130

Guinea-Bissau

any,

131

Guyana

any,

132

Islanda

any,

133

Comore

any,

134

Saint Kitts e Nevis

any,

135

Liberia

any, cellcom, comium, libercell, libtelco, lonestar,

136

Lesotho

any,

137

Malawi

any,

138

Namibia

any,

139

Niger

any,

140

Ruanda

any,

141

Slovacchia

any,

142

Suriname

any,

143

Tagikistan

any,

144

Monaco

any,

145

Bahrain

any,

146

Reunion

any,

147

Zambia

any,

148

Armenia

any, viva, vivo,

149

Somalia

any,

150

Congo

any,

151

Cile

any,

152

Burkina Faso

airtel, any, onatel, telecel,

153

Libano

alfa, any, ogero, touch,

154

Gabon

any,

155

Albania

any,

156

Uruguay

any,

157

Mauritius

any,

158

Bhutan

any,

159

Maldive

any,

160

Guadalupa

any,

161

Turkmenistan

any,

162

Guiana Francese

any,

163

Finlandia

any,

164

Santa Lucia

any,

165

Lussemburgo

any,

166

San Pietro e Miquelon

any,

167

Guinea Equatoriale

any,

168

Gibuti

any,

169

Saint Kitts e Nevis

any,

170

Isole Cayman

any,

171

Montenegro

any,

172

Danimarca

any, lycamobile,

173

Svizzera

any,

174

Norvegia

any,

175

Australia

any,

176

Eritrea

any,

177

Sudan del Sud

any,

178

São Tomé e Principe

any,

179

Aruba

any,

180

Montserrat

any,

181

Anguilla

any,

182

Giappone

any,

183

Macedonia del Nord

any,

184

Repubblica delle Seychelles

any,

185

Nuova Caledonia

any,

186

Capo Verde

any,

187

USA

any, lycamobile, tmobile,

190

Corea del Sud

any,

189

Fiji

any,

195

Bermuda

any,

Allegato 2. Elenco dei servizi

ID

Наименование

yw

Grindr

cy

РСА

qq

Tencent QQ

yb

Квартплата+

ni

Gojek

tq

Swvl

gb

YouStar

sk

Skroutz

zg

Setel

fz

KFC

rd

Lenta

bp

GoFundMe

zm

OfferUp

hg

Switips

nr

Tosla

gc

TradingView

be

СберМегаМаркет

un

humblebundle

ij

Revolut

ma

Mail.ru

uz

OffGamers

fe

CliQQ

uy

Meliuz

po

premium.one

kp

HQ Trivia

bj

Вита экспресс

eo

Sizeer

uk

Airbnb

ip

Burger King

ca

SuperS

cp

Uklon

oh

MapleSEA

es

iQIYI

si

Cita Previa

pl

Перекресток

tw

Twitter

qw

Киви

la

ssoidnet

lv

Megogo

cn

Fiverr

tk

МВидео

rp

hamrahaval

ia

Socios

pf

pof.com

co

Rediffmail

my

CAIXA

qc

Праймериз 2020

re

Coinbase

dp

ProtonMail

cx

Icrypex

tl

Truecaller

hl

Band

dm

Iwplay

nn

Giftcloud

mj

Zalo

oi

Tinder

mu

MyMusicTaste

cs

AgriDevelop

io

ЗдравСити

sb

Lamoda

yz

Около

gi

Hotline

ph

SnappFood

iv

Inboxlv

uo

CafeBazaar

ny

Pyro Music

vw

CoinField

ad

Iti

dw

Divar

pz

Lidl

ry

McDonalds

uc

Tatneft

xj

СберМаркет

cm

Prom

ed

Gamer

hc

MOMO

yn

Allegro

ot

Not in list

bd

X5ID

kw

Foody

og

Okko

ft

Букмекерские

dk

Pairs

qd

Taobao

zz

Dent

ok

Ok.ru

me

Line msg

pp

Huya

sn

OLX

sh

ВкусВилл

ua

BlaBlaCar

gj

Carousell

li

Baidu

th

WestStein

km

Rozetka

vd

Betfair

sd

dodopizza

vn

Yaay

zd

Zilch

wh

TanTan

gv

Humta

ts

PayPal

ly

Olacabs

wb

WeChat

yk

СпортМастер

tg

Telegram

tp

IndiaGold

bt

Alfa

ym

Юла

dt

Delivery Club

el

Bisu

de

Karusel

kx

Vivo

vi

Viber

ev

Picpay

ol

KazanExpress

wp

163СOM

im

Imo

lb

Mailru Group

fy

Mylove

ak

Douyu

db

ezbuy

kb

kufarby

jg

Grab

mm

Microsoft

ui

RuTube

gd

Surveytime

vk

Вконтакте

lf

TikTok/Douyin

pd

IFood

rz

EasyPay

kl

kolesa.kz

wl

YouGotaGift

zf

OnTaxi

xz

paycell

gl

GlobalTel

mg

Магнит

lj

Santander

dn

Paxful

qb

Payberry

up

Magnolia

vc

Banqi

af

GalaxyWin

ql

CMTcuzdan

ju

Indomaret

fm

Touchance

ig

Instagram

fx

PGbonus

en

Hermes

ue

Onet

ki

99app

qj

Whoosh

xq

MPL

bf

Keybase

ej

MrQ

gt

Gett

wk

Mobile01

cd

SpotHit

mr

Fastmail

sj

HandyPick

cw

PaddyPower

lt

BitClout

mc

Michat

nk

Gittigidiyor

py

Monese

jl

Hopi

zv

Digikala

jc

IVI

oz

Poshmark

vv

Seosprint

sf

SneakersnStuff

za

JDcom

ee

Twilio

hz

Drom

zh

Zoho

we

ДругВокруг

an

Adidas

ku

RoyalWin

vf

Q12 Trivia

vx

HeyBox

lp

Algida

rx

Sheerid

yp

Payzapp

kf

Weibo

qn

Blued

fj

Potato Chat

eu

LiveScore

lk

PurePlatfrom

dy

Zomato

au

Haraj

cf

irancell

il

IQOS

yo

Amasia

kt

KakaoTalk

tf

Noon

ls

Careem

iu

Bykea

je

Nanovest

dh

eBay

xs

GroupMe

ub

Uber

hw

AliPay

pr

Trendyol

xr

Tango

fs

Şikayet var

ey

miloan

xe

GalaxyChat

vp

Kwai

da

MTS CashBack

pm

AOL

tj

dbrUA

nq

Trip

nb

Верный

nf

Netflix

tc

Rambler

ob

Onlinerby

vm

OkCupid

dv

NoBroker

jj

Aitu

ve

Dream11

wa

Whatsapp

xh

OVO

ff

AVON

ri

BillMill

hy

Ininal

ge

Paytm

td

ChaingeFinance

ei

Taksheel

qf

RedBook

jq

Paysafecard

pq

CDkeys

vo

Brand20ua

jf

Likee

zr

Papara

dx

Powerkredite

vy

Meta

zy

Nttgame

ji

Monobank

os

Dhani

lx

DewuPoison

rv

Kotak811

wn

GameArena

qo

Moneylion

lq

Potato

ch

Pocket52

ss

Hezzl

gw

CallApp

jm

mzadqatar

ke

Эльдорадо

px

Nifty

bl

BIGO LIVE

fi

Dundle

dz

Dominos Pizza

ae

myGLO

jb

Wing Money

ib

Immowelt

jr

Самокат

np

Siply

bz

Blizzard

cq

Mercado

md

Банки

yl

Yalla

ul

Getir

qi

23red

op

MIRATORG

sq

KuCoinPlay

wt

IZI

gp

Ticketmaster

mt

Steam

ll

888casino

kr

Eyecon

tm

Akulaku

go

Google,youtube,Gmail

qu

Agroinform

sv

Dostavista

tn

LinkedIN

zo

Kaggle

az

CityBase

fd

Mamba

ya

Яндекс

ew

Nike

hb

Twitch

qm

RosaKhutor

va

SportGully

nv

Naver

pt

Bitaqaty

iz

Global24

rt

hily

hu

Ukrnet

uj

СhampionСasino

rl

inDriver

et

Clubhouse

yu

Xiaomi

tr

Paysend

qh

Oriflame

hm

Globus

wx

Apple

hn

1688

hr

JKF

xi

InFund

ea

JamesDelivery

xl

Wmaraci

ab

Alibaba

ww

BIP

nz

Foodpanda

rr

Wolt

hj

Столото

gz

LYKA

mn

RRSA

wg

Skout

rm

Faberlic

mb

Yahoo

zl

Airtel

sw

NCsoft

kc

Vinted

zn

Biedronka

hk

4Fun

wf

YandexGo

qk

Bit

am

Amazon

gm

Mocospace

sg

OZON

cc

Quipp

ti

cryptocom

ud

Disney Hotstar

xf

LightChat

kn

Verse

tx

Bolt

bo

Wise

sl

СберАптека

wc

Craigslist

ce

mosru

lr

Okta

ka

Shopee

fu

Snapchat

lw

MrGreen

yg

CourseHero

st

Auchan

xv

Wish

yi

Yemeksepeti

uh

Yubo

ug

Fiqsy

ga

Roposo

ou

Gabi

xk

DiDi

uu

Wildberries

yf

Citymobil/Urent

iq

icq

nu

Stripe

gx

Hepsiburadacom

av

avito

pa

Gamekit

kz

NimoTV

rj

Детский мир

ra

KeyPay

wj

1хbet

zw

Quack

pg

NRJ Music Awards

qz

Faceit

vg

ShellBox

zs

Bilibili

dl

Lazada

le

E bike Gewinnspiel

qa

MyFishka

zk

Deliveroo

tt

Ziglu

jh

PingPong

pu

Justdating

bv

Metro

qr

MEGA

uf

Eneba

ds

Discord

qe

GG

df

Happn

aq

Glovo

fb

facebook

hx

AliExpress

Possibile errore

Risposta del server

Descrizione

BAD_ACTION

Неправильное формирование запроса

BAD_KEY

Неверный API-ключ

BAD_LANG

Неверная локазация, принимаются ru или en

NO_ACTIVATION

ID активации не существует

ERROR_SQL

Ошибка базы SQL-сервера

ERROR_API

Ошибка обработки