This library provides the following features
- Sms active api allows you to get a number with the api and get the status of whether the verification code has arrived.
- If we don't have the type of number you want in stock, it waits until it arrives and returns the number information to you when you buy a number.
- You don't need to constantly check if you have received a verification code. It contains a function that checks the status until the verification code arrives and returns the code when it arrives.
- It allows you to cancel a number you have received, confirm that you have received the code, and receive another code for the same number for free.
- You can read your account balance.
npm i node-sms-active
const smsActive = require("node-sms-active");
smsActive.buyNumber({
country: 6, // See the bottom of the documentation for the country list.
service: 'dr', // See the bottom of the documentation for the service list.
operator: 'any',
apiKey: '',
verification: false
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
country: The number of sms active in the country where the number will be received. To find the country you are looking for, see the country codes at the bottom of the page.
service: The sms active short code of the service to receive the number. To find the service you are looking for, see the service codes at the bottom of the page.
operator: You can use it if you want to get a number from a private operator in your country. It is not mandatory to send it. Default any
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
verification: Default false. Sending is not mandatory. If true, a number that supports the call will be received.
Sample Successful Response
{
status: true,
data: {
activationId: '1779177117',
phoneNumber: '628973921615',
activationCost: '4.50',
countryCode: '6',
canGetAnotherSms: true,
activationTime: '2023-09-30 02:36:18',
activationOperator: 'three'
}
}
Sample Failed Response
{
status: false,
data: 'WRONG_COUNTRY'
}
const smsActive = require("node-sms-active");
smsActive.getCode({
activationId: '',
apiKey: '',
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
activationId: When you buy the number, you need to send the value returned to you in json.
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
Sample Successful Response
{
status: true,
data: '396989'
}
Sample Failed Response
{
status: false,
data: 'STATUS_WAIT_CODE'
}
const smsActive = require("node-sms-active");
smsActive.waitForBuyNumber({
country: 6, // See the bottom of the documentation for the country list.
service: 'dr', // See the bottom of the documentation for the service list.
operator: 'any',
apiKey: '',
verification: false,
timeOut: 0
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
country: The number of sms active in the country where the number will be received. To find the country you are looking for, see the country codes at the bottom of the page.
service: The sms active short code of the service to receive the number. To find the service you are looking for, see the service codes at the bottom of the page.
operator: You can use it if you want to get a number from a private operator in your country. It is not mandatory to send it. Default any
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
verification: Default false. Sending is not mandatory. If true, a number that supports the call will be received.
timeOut: 0 Wait indefinitely if sent. If sent in milliseconds, it will return the status when the time expires. 1 Second = 1000 Milliseconds
Sample Successful Response
{
status: true,
data: {
activationId: '1779177117',
phoneNumber: '628973921615',
activationCost: '4.50',
countryCode: '6',
canGetAnotherSms: true,
activationTime: '2023-09-30 02:36:18',
activationOperator: 'three'
}
}
Sample Failed Response
{
status: false,
data: 'WRONG_COUNTRY'
}
const smsActive = require("node-sms-active");
smsActive.waitForCode({
activationId: '',
apiKey: '',
timeOut: 0
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
activationId: When you buy the number, you need to send the value returned to you in json.
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
timeOut: 0 Wait indefinitely if sent. If sent in milliseconds, it will return the status when the time expires. 1 Second = 1000 Milliseconds
Sample Successful Response
{
status: true,
data: '396989'
}
Sample Failed Response
{
status: false,
data: 'STATUS_WAIT_CODE'
}
const smsActive = require("node-sms-active");
smsActive.setStatusActivation({
activationId: '',
apiKey: '',
status: 8
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
activationId: When you buy the number, you need to send the value returned to you in json.
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
status: Can only take values 1, 3, 6, 8
1 inform about the readiness of the number (SMS sent to the number)
3 request another code (free)
6 complete activation *
8 inform that the number has been used and cancel the activation
Sample Successful Response
{
status: true,
data: 'ACCESS_CANCEL'
}
Sample Failed Response
{
status: false,
data: 'EARLY_CANCEL_DENIED - You can‘t cancel the number within the first 2 minutes'
}
const smsActive = require("node-sms-active");
smsActive.getBallance({
apiKey: '',
})
.then(response=>{
console.log(response)
})
.catch(error =>{
console.log(error)
})
apiKey: https://sms-activate.org/en/api2 You can create a key by saying create api key from this link.
Sample Successful Response
{
status: true,
data: 498.28
}
Sample Failed Response
{
status: false,
data: 'ERROR_SQL'
}
Service Code | Name |
---|---|
full | Full Rent |
full | Full rent |
tg | Telegram |
ig | Instagram+Threads |
wa | |
fb | |
go | Google,youtube,Gmail |
tw | |
mm | Microsoft |
hw | Alipay/Alibaba/1688 |
am | Amazon |
oi | Tinder |
ma | Mail.ru |
ds | Discord |
mt | Steam |
ju | Indomaret |
lf | TikTok/Douyin |
me | Line messenger |
ot | Any other call forwarding |
ot | Any other |
of | urent/jet/RuSharing |
da | MTS CashBack |
nv | Naver |
dr | OpenAI |
tn | |
vk | vk.com |
ew | Nike |
mb | Yahoo |
ya | Yandex |
ya | Yandex call forwarding |
dh | eBay |
pm | AOL |
vs | WinzoGame |
ts | PayPal |
dl | Lazada |
ok | ok.ru |
ka | Shopee |
av | avito |
av | avito call forwarding |
nz | Foodpanda |
ub | Uber |
ki | 99app |
uu | Wildberries |
wb | |
yw | Grindr |
acz | Claude |
bw | Signal |
vi | Viber |
xd | Tokopedia |
kt | KakaoTalk |
fw | 99acres |
sn | OLX |
kc | Vinted |
be | СберМегаМаркет |
ft | Букмекерские |
pf | pof.com |
qf | RedBook |
ll | 888casino |
wx | Apple |
yl | Yalla |
mj | Zalo |
fu | Snapchat |
xk | DiDi |
pd | IFood |
ni | Gojek |
xh | OVO |
vm | OkCupid |
fr | Dana |
xj | СберМаркет |
df | Happn |
cy | РСА |
bc | GCash |
jg | Grab |
mv | Fruitz |
tk | МВидео |
im | Imo |
pc | Casino/bet/gambling |
gf | GoogleVoice |
sg | OZON |
act | Maxis |
ly | Olacabs |
vz | Hinge |
nf | Netflix |
cq | Mercado |
mo | Bumble |
yy | Venmo |
bz | Blizzard |
vr | MotorkuX |
uk | Airbnb |
fx | PGbonus call forwarding |
fx | PGbonus |
bv | Metro |
do | Leboncoin |
cb | Bazos |
zp | Pinduoduo |
wh | TanTan |
ac | DoorDash |
ev | Picpay |
ado | SmartyPig |
gx | Hepsiburadacom |
kf | |
tx | Bolt |
acp | BonusLink |
Tencent QQ | |
rr | Wolt |
cp | Uklon |
aav | Alchemy |
yr | Miravia |
ie | bet365 |
acy | Airtime |
fo | MobiKwik |
ep | Temu |
ns | Oldubil |
em | ZéDelivery |
zk | Deliveroo |
dt | Delivery Club |
acb | Spark Driver |
et | Clubhouse |
tu | Lyft |
ah | EscapeFromTarkov |
gp | Ticketmaster |
ad | Iti |
xq | MPL |
abx | Kaching |
abk | GMX |
ze | Shpock |
pu | Justdating |
ada | TRUTH SOCIAL |
ke | Эльдорадо |
zb | FreeNow |
gj | Carousell |
ib | Immowelt |
qv | Badoo |
ls | Careem |
hu | Ukrnet |
fd | Mamba |
zu | BigC |
hs | Asda |
fk | BLIBLI |
aaa | Nubank |
rd | Lenta |
yu | Xiaomi |
ua | BlaBlaCar |
xy | Depop |
ym | youla.ru call forwarding |
ym | youla.ru |
bn | Alfagift |
kj | YAPPY |
nc | Payoneer |
xm | Лэтуаль |
jr | Самокат |
mg | Magnit |
nt | Sravni |
abq | Upwork |
abt | ArenaPlus |
kl | kolesa.kz |
ge | Paytm |
wv | AIS |
aec | JinJiang |
zs | Bilibili |
lx | DewuPoison |
ae | myGLO |
acc | LuckyLand Slots |
za | JDcom |
yk | СпортМастер |
gu | Fora |
adc | PlayOJO |
hx | AliExpress |
vd | Betfair |
zh | Zoho |
zo | Kaggle |
bd | X5ID |
mx | SoulApp |
ov | Beget |
lj | Santander |
qz | Faceit |
gq | Freelancer |
bl | BIGO LIVE |
bm | MarketGuru |
vg | ShellBox |
fz | KFC |
ff | AVON |
rl | inDriver |
lc | Subito |
bo | Wise |
at | Perfluence |
jx | Swiggy |
abl | gpnbonus |
io | ЗдравСити |
wc | Craigslist |
ue | Onet |
km | Rozetka |
gr | Astropay |
jl | Hopi |
cm | Prom |
ex | Linode |
tl | Truecaller |
ps | Zdorov |
rt | hily |
acn | Radium |
xu | RecargaPay |
jq | Paysafecard |
gk | AptekaRU |
ng | FunPay |
acj | Meituan |
li | Baidu |
mi | Zupee |
rn | neftm |
abc | Taptap Send |
cn | Fiverr |
ta | Wink |
sh | Vkusvill |
sm | YoWin |
qy | Zhihu |
hb | Twitch |
kx | Vivo |
nl | Myntra |
vp | Kwai |
abn | Namars |
dp | ProtonMail |
re | Coinbase |
gi | Hotline |
rc | Skype |
ys | ZCity |
yj | eWallet |
co | Rediffmail |
ye | ZaleyCash |
yx | JTExpress |
th | WestStein |
vy | Meta |
cr | TenChat |
bh | Uteka |
ix | Celcoin |
zm | OfferUp |
hy | Ininal |
ml | ApostaGanha |
mz | Zolushka |
hz | Drom |
po | premium.one |
bb | LazyPay |
tz | Лейка |
hp | Meesho |
aau | RockeTreach |
ip | Burger King |
acw | YouDo |
oj | LoveRu |
aq | Glovo |
wg | Skout |
cj | Dotz |
xt | Flipkart |
rk | Fotka |
fh | Lalamove |
jv | Consultant |
vc | Banqi |
my | CAIXA |
ky | SpatenOktoberfest |
sd | dodopizza |
ln | Grofers |
kh | Bukalapak |
zd | Zilch |
ve | Dream11 |
xz | paycell |
ul | Getir |
aeb | GoPayz |
oz | Poshmark |
ao | UU163 |
wd | CasinoPlus |
js | GolosZa |
aba | Rappi |
kk | Idealista |
rj | Детский мир |
adp | Cabify |
uz | OffGamers |
oe | Codashop |
adr | Boosty |
ck | BeReal |
sr | Starbucks |
il | IQOS |
ady | ТОКИО-CITY |
fj | Potato Chat |
sy | Brahma |
yi | Yemeksepeti |
aby | Couponscom |
ax | CrefisaMais |
dn | Paxful |
no | Virgo |
wr | Walmart |
ko | AdaKami |
acs | Tata CLiQ Palette |
rm | Faberlic |
aaq | Netease |
sz | Pivko24 |
jc | IVI |
fa | XadrezFeliz |
mc | Michat |
ow | RegRu |
an | Adidas |
kq | FotoCasa |
tm | Akulaku |
gw | CallApp |
fl | RummyLoot |
jd | GiraBank |
ld | Cashmine |
adl | EarnEasy |
kb | kufarby |
abo | WEBDE |
dd | CloudChat |
ks | Hirect |
lt | BitClout |
zr | Papara |
je | Nanovest |
rf | Akudo |
cg | Gemgala |
vh | Штолле |
sc | Crypto |
xg | Дзен |
ilr | YANDEX |
uwc | Odobrenie |
lsq | Spoiler |
acf | ShopeeMY |
syg | JustDates |
tc | AmazonML |
twm | Solana |
kd | IviNews |
ktp | Divo |
lp | CryptoMining |
dx | CubeTV |
yuq | CCB |
atq | Авто2Ру |
adq | ACMarket |
ijd | INTENCITY |
lyd | Birge |
adg | иРНД |
iud | AdGuard |
adw | Wolt |
lyw | Трк ГуляйПоле |
fp | Buy+ |
liq | Limpkin |
fpq | YouZik |
adk | Однокласники |
abp | Youzik |
kn | KINOPOISK |
lxq | Lmz |
fwq | Новая почта |
ffq | Тануки |
fq | Розетка |
flq | GuaiGuai |
fn | Shopee |
fzq | СмартьФинанс |
qfq | Амедиа |
fqq | BlockParty |
bf | Olx |
fqq | Firestarter |