Getting started
All requests must go to http://api1.5sim.net/stubs/handler_api.php
For compatibility with existing software, where there is no our service, but there is our API
For Windows
Add the line 88.99.223.62 domain
in the file C:\Windows\System32\drivers\etc\hosts
, replace domain with the desired domain that is used in the software
For Linux
Add the line 88.99.223.62 domain
in the file /etc/hosts
, replace domain with the desired domain that is used in the software
If the software does not work
Download the root certificate and install it:
Windows
- Open Chrome
- Open Settings
- Select Manage Certificates
- Select Trusted Root Certificate Authorities
- Import — 5sim_rootCA.crt
Linux
sudo mkdir /usr/share/ca-certificates/extra
sudo cp 5sim_rootCA.crt /usr/share/ca-certificates/extra/5sim_rootCA.crt
Numbers
Request for the number of available numbers
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getNumbersStatus&country=$country"
Response example
{
"at_0":"330",
"fb_0":"330",
"gm_0":"323",
"go_0":"323",
"ig_0":"326",
"mb_0":"330",
"mm_0":"330",
"ok_0":"330",
"or_0":"315",
"ot_0":"315",
"qw_0":"327",
"tg_0":"329",
"tw_0":"330",
"vi_0":"330",
"vk_0":"292",
"vr_0":"330",
"wa_0":"330",
"wb_0":"328",
"we_0":"330",
"ya_0":"203",
"ym_0":"13"
}
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getNumbersStatus&country=$country
Returns the number of available numbers
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
country | number / string | 不 | Country number / Country name |
List of available countries
Response
Name | 种类 | Description |
---|---|---|
serviceName_{0/1} | string | The name of the service before the dash, after the designation of whether to enable redirection. 0 - do not enable. 1 - enable |
total | string | Number of available numbers |
Buy number
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getNumber&service=$service&forward=$forward&operator=$operator&country=$country"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getNumber&service=$service&forward=$forward&operator=$operator&country=$country
Orders a phone number for a specific service
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
service | string | 是 | Ordering service |
forward | number | 不 | Enabling redirection. 0 (do not execute), 1 - (execute). The default value is 0 |
operator | string | 不 | The name of the operator. Accepted values: mts, beeline, any, where any is any operator. Optional parameter, default is any |
country | number / string | 不 | Country number / Country name |
List of available services
List of available countries
List of available operators
Response
Set status
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=setStatus&status=$status&id=$id&forward=$forward"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=setStatus&status=$status&id=$id&forward=$forward
Set activation status of the number
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
id | string | 是 | Activation ID |
forward | number | 是 / 不 | The phone number to be forwarded to. Required only if the forward=1 parameter was passed in getNumber |
status | string | 不 | Activation status |
Possible activation statuses:
- -1 - cancel activation
- 1 - inform about the availability of the number (sms sent to the number)
- 3 - request another code (free of charge)
- 6 - complete activation(if the status was "code received" - marks successful and completes, if it was "preparation" - deletes and places an error, if the status was "waiting for a repeat" - puts the activation in waiting for SMS)
- 8 - notify that the number is used and cancel the activation
Response
Get order status
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getStatus&id=$id"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getStatus&id=$id
Return order status
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
id | string | 是 | Order ID |
Response
价格
Request for prices
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices
Returns product prices
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
Response
Response example
{
"russia":{
"telegram":{
"beeline":{
"cost":8,
"count":0
},
"matrix":{
"cost":8,
"count":0
},
"megafon":{
"cost":8,
"count":0
},
"mts":{
"cost":8,
"count":0
},
"rostelecom":{
"cost":8,
"count":0
},
"tele2":{
"cost":8,
"count":0
},
"virtual15":{
"cost":8,
"count":0
},
"yota":{
"cost":8,
"count":0
}
}
}
}
Request prices by country
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&country=russia"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&country=russia
Returns product prices by country
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
country | number / string | 是 | Country number / Country name |
List of available countries
Response
Response example
{
"russia":{
"1688":{
"beeline":{
"cost":4,
"count":1260
},
"lycamobile":{
"cost":4,
"count":935
},
"matrix":{
"cost":4,
"count":0
}
}
}
}
Request for a price for a product
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&service=vkontakte"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&service=vkontakte
Returns prices for a specific product
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
service | string | 是 | 我们服务平台的名称 |
List of available services
Response
Response example
{
"telegram":{
"afghanistan":{
"virtual18":{
"cost":4,
"count":1260
},
"virtual23":{
"cost":4,
"count":935
},
"virtual4":{
"cost":4,
"count":0
}
}
}
}
Request price by country and product
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&country=russia&service=vkontakte"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$apikey&action=getPrices&country=russia&service=vkontakte
Returns product prices by country and specific product
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
service | string | 是 | Service name |
country | number / string | 是 | Country number / Country name |
List of available services
List of available countries
Response
Response example
{
"russia":{
"telegram":{
"beeline":{
"cost":8,
"count":0
},
"matrix":{
"cost":8,
"count":0
},
"megafon":{
"cost":8,
"count":0
},
"mts":{
"cost":8,
"count":0
},
"rostelecom":{
"cost":8,
"count":0
},
"tele2":{
"cost":8,
"count":0
},
"virtual15":{
"cost":8,
"count":0
},
"yota":{
"cost":8,
"count":0
}
}
}
}
金额
Balance request
Request example
curl "http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getBalance"
GET / POST - http://api1.5sim.net/stubs/handler_api.php?api_key=$api_key&action=getBalance
Returns user balance
Request parameters
Name | 种类 | Required | Description |
---|---|---|---|
api_key | string | 是 | API-key |
Response
Countries
Available countries
国家/地区 | 旧API1 |
---|---|
![]() | 0 |
![]() | 1 |
![]() | 2 |
![]() | 3 |
![]() | 4 |
![]() | 6 |
![]() | 7 |
![]() | 8 |
![]() | 9 |
![]() | 10 |
![]() | 11 |
![]() | 12 |
![]() | 13 |
![]() | 14 |
![]() | 15 |
![]() | 16 |
![]() | 17 |
![]() | 18 |
![]() | 19 |
![]() | 20 |
![]() | 21 |
![]() | 22 |
![]() | 23 |
![]() | 25 |
![]() | 26 |
![]() | 27 |
![]() | 28 |
![]() | 29 |
![]() | 31 |
![]() | 32 |
![]() | 33 |
![]() | 34 |
![]() | 35 |
![]() | 36 |
![]() | 37 |
![]() | 38 |
![]() | 39 |
![]() | 40 |
![]() | 41 |
![]() | 42 |
![]() | 43 |
![]() | 44 |
![]() | 45 |
![]() | 46 |
![]() | 48 |
![]() | 49 |
![]() | 50 |
![]() | 51 |
![]() | 52 |
![]() | 53 |
![]() | 54 |
![]() | 55 |
![]() | 56 |
![]() | 58 |
![]() | 59 |
![]() | 60 |
![]() | 61 |
![]() | 62 |
![]() | 63 |
![]() | 64 |
![]() | 65 |
![]() | 66 |
![]() | 67 |
![]() | 70 |
![]() | 71 |
![]() | 72 |
![]() | 73 |
![]() | 74 |
![]() | 75 |
![]() | 76 |
![]() | 77 |
![]() | 78 |
![]() | 79 |
![]() | 80 |
![]() | 81 |
![]() | 82 |
![]() | 83 |
![]() | 84 |
![]() | 85 |
![]() | 86 |
![]() | 87 |
![]() | 88 |
![]() | 89 |
![]() | 90 |
![]() | 91 |
![]() | 92 |
![]() | 93 |
![]() | 94 |
![]() | 96 |
![]() | 97 |
![]() | 99 |
![]() | 100 |
![]() | 101 |
![]() | 103 |
![]() | 104 |
![]() | 105 |
![]() | 106 |
![]() | 107 |
![]() | 108 |
![]() | 109 |
![]() | 112 |
![]() | 114 |
![]() | 115 |
![]() | 116 |
![]() | 117 |
![]() | 118 |
![]() | 119 |
![]() | 120 |
![]() | 123 |
![]() | 128 |
![]() | 129 |
![]() | 130 |
![]() | 131 |
![]() | 134 |
![]() | 135 |
![]() | 136 |
![]() | 137 |
![]() | 138 |
![]() | 140 |
![]() | 141 |
![]() | 142 |
![]() | 143 |
![]() | 145 |
![]() | 146 |
![]() | 147 |
![]() | 148 |
![]() | 152 |
![]() | 154 |
![]() | 155 |
![]() | 156 |
![]() | 157 |
![]() | 158 |
![]() | 159 |
![]() | 161 |
![]() | 162 |
![]() | 163 |
![]() | 164 |
![]() | 165 |
![]() | 166 |
![]() | 169 |
![]() | 173 |
![]() | 174 |
![]() | 175 |
![]() | 179 |
![]() | 181 |
![]() | 183 |
![]() | 185 |
![]() | 186 |
You can also use the full name of the country:
国家/地区 | API 5SIM |
---|
Services
Available services
产品 | 旧API1 |
---|---|
![]() | hn |
![]() | wj |
![]() | qi |
![]() | ll |
![]() | ki |
![]() | an |
![]() | qu |
![]() | uk |
![]() | zl |
![]() | wf |
![]() | jj |
![]() | bt |
![]() | lp |
![]() | ab |
![]() | hx |
![]() | al |
![]() | hw |
![]() | yo |
![]() | am |
![]() | pm |
![]() | wx |
![]() | asp |
![]() | st |
![]() | av |
![]() | ff |
![]() | bu |
![]() | li |
![]() | vc |
![]() | bl |
![]() | ri |
![]() | el |
![]() | pt |
![]() | lt |
![]() | ua |
![]() | bz |
![]() | qn |
![]() | tx |
![]() | vo |
![]() | ip |
![]() | iu |
![]() | uo |
![]() | my |
![]() | ls |
![]() | gj |
![]() | pq |
![]() | si |
![]() | yf |
![]() | fe |
![]() | et |
![]() | ql |
![]() | re |
![]() | vw |
![]() | wc |
![]() | ti |
![]() | tj |
![]() | zk |
![]() | dt |
![]() | zz |
![]() | os |
![]() | xk |
![]() | zv |
![]() | ds |
![]() | ud |
![]() | dw |
![]() | sd |
![]() | dz |
![]() | sv |
![]() | ak |
![]() | ve |
![]() | hz |
![]() | we |
![]() | rz |
![]() | dh |
![]() | le |
![]() | uf |
![]() | db |
![]() | rm |
![]() | fb |
![]() | ug |
![]() | cn |
![]() | nz |
![]() | kw |
![]() | otp |
![]() | wn |
![]() | pa |
![]() | ed |
![]() | ul |
![]() | gt |
![]() | qe |
![]() | nk |
![]() | iz |
![]() | gl |
![]() | hm |
![]() | aq |
![]() | go |
![]() | jg |
![]() | yw |
![]() | rp |
![]() | df |
![]() | au |
![]() | gx |
![]() | ss |
![]() | rt |
![]() | jl |
![]() | kp |
![]() | un |
![]() | gv |
![]() | pp |
![]() | iq |
![]() | cx |
![]() | pd |
![]() | ib |
![]() | im |
![]() | iv |
![]() | rl |
![]() | hy |
![]() | ig |
![]() | il |
![]() | jc |
![]() | za |
![]() | hr |
![]() | pu |
![]() | jdl |
![]() | kt |
![]() | de |
![]() | bf |
![]() | rv |
![]() | sq |
![]() | kb |
![]() | yb |
![]() | vp |
![]() | dl |
![]() | rd |
![]() | me |
![]() | tn |
![]() | eu |
![]() | mg |
![]() | up |
![]() | ma |
![]() | fd |
![]() | ry |
![]() | qr |
![]() | cq |
![]() | mc |
![]() | mm |
![]() | ey |
![]() | op |
![]() | wk |
![]() | hc |
![]() | py |
![]() | ji |
![]() | ce |
![]() | lw |
![]() | da |
![]() | qa |
![]() | ae |
![]() | fy |
![]() | mu |
![]() | jm |
![]() | na |
![]() | nv |
![]() | sw |
![]() | nf |
![]() | nh7 |
![]() | px |
![]() | ew |
![]() | pg |
![]() | zy |
![]() | ok |
![]() | zm |
![]() | uz |
![]() | lr |
![]() | ly |
![]() | sn |
![]() | ob |
![]() | qh |
![]() | ot |
![]() | sg |
![]() | cw |
![]() | dk |
![]() | zr |
![]() | dn |
![]() | qb |
![]() | xz |
![]() | ts |
![]() | tr |
![]() | ge |
![]() | pe |
![]() | pl |
![]() | fx |
![]() | ev |
![]() | pf |
![]() | pk |
![]() | fj |
![]() | dx |
![]() | qc |
![]() | po |
![]() | cm |
![]() | dp |
![]() | rra |
![]() | lk |
![]() | bd |
![]() | ny |
![]() | vf |
![]() | qw |
![]() | cc |
![]() | tc |
![]() | co |
![]() | qm |
![]() | cy |
![]() | ui |
![]() | jr |
![]() | vv |
![]() | rx |
![]() | ka |
![]() | fs |
![]() | wg |
![]() | fu |
![]() | ph |
![]() | sf |
![]() | ia |
![]() | yk |
![]() | cd |
![]() | la |
![]() | mt |
![]() | gd |
![]() | tq |
![]() | ei |
![]() | xr |
![]() | ta |
![]() | qd |
![]() | tg |
![]() | |
![]() | gp |
![]() | lf |
![]() | oi |
![]() | nr |
![]() | fm |
![]() | pr |
![]() | tl |
![]() | hb |
![]() | tw |
![]() | ub |
![]() | hu |
![]() | nb |
![]() | vi |
![]() | bj |
![]() | vk |
![]() | wb |
![]() | kf |
![]() | th |
![]() | wa |
![]() | uu |
![]() | jb |
![]() | xv |
![]() | xl |
![]() | rr |
![]() | vn |
![]() | mb |
![]() | yl |
![]() | ya |
![]() | yi |
![]() | ym |
![]() | gb |
![]() | mj |
![]() | zh |
You can also use the full name of the service:
产品 | API 5SIM |
---|
Operators
In order to get a list of operators, you need authorization.