User
Balance
Request example
curl "https://5sim.net/v1/user/profile" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id":1,
"email":"[email protected]",
"vendor":"demo",
"default_forwarding_number":"78009005040",
"balance":100,
"rating":96,
"default_country": {
"name":"russia","iso":"ru","prefix":"+7"
},
"default_operator": {
"name":""
},
"frozen_balance":0
}
GET - https://5sim.net/v1/user/profile
Provides profile data: email, balance and rating.
Headers
- Authorization: Bearer $token
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
id | number | User ID |
string | User email | |
balance | number | Balance |
rating | number | Rating |
default_country | array | Default country |
default_country.name | string | Country name |
default_country.iso | string | ISO country code |
default_country.prefix | string | Mobile prefix |
default_operator | array | Default operator |
default_operator.name | string | Operator name |
frozen_balance | number | Frozen balance |
default_forwarding_number | string | Default forwarding number |
vendor | string | Vendor name |
Order history
Request example
curl "https://5sim.net/v1/user/orders?category=hosting&limit=15&offset=0&order=id&reverse=true" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"Data": [
{
"id":53533933,
"phone":"+79085895281",
"operator":"tele2",
"product":"aliexpress",
"price":2,
"status":"BANNED",
"expires":"2020-06-28T16:32:43.307041Z",
"sms":[],
"created_at":"2020-06-28T16:17:43.307041Z",
"country":"russia"
}
],
"ProductNames":[],
"Statuses":[],
"Total":3
}
GET - https://5sim.net/v1/user/orders?category=$category
Provides orders history by choosen category.
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
category | query string | Yes | Category can be 'hosting' or 'activation' |
limit | query string | No | Pagination limit |
offset | query string | No | Pagination offset |
order | query string | No | Pagination order, should be field name |
reverse | query string | No | Is reversed history, true / false |
Response
Name | Type | Description |
---|---|---|
Data | array | Orders list |
ProductNames | array | Products list |
Statuses | array | Statuses list |
Total | number | Orders count |
Payments history
Request example
curl "https://5sim.net/v1/user/payments?limit=15&offset=0&order=id&reverse=true" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"Data": [
{
"ID":30011934,
"TypeName":"charge",
"ProviderName":"admin",
"Amount":100,
"Balance":100,
"CreatedAt":"2020-06-24T15:37:08.149895Z"
}
],
"PaymentTypes": [{"Name":"charge"}],
"PaymentProviders":[{"Name":"admin"}],
"Total":1
}
GET - https://5sim.net/v1/user/payments
Provides payments history.
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
limit | query string | No | Pagination limit |
offset | query string | No | Pagination offset |
order | query string | No | Pagination order, should be field name |
reverse | query string | No | Is reversed history, true / false |
Response
Name | Type | Description |
---|---|---|
Data | array | Payments list |
PaymentProviders | array | Names of payments systems |
PaymentTypes | array | Payments types |
Total | number | Payments count |
Prices limit
Get a list
Request example
curl "https://5sim.net/v1/user/max-prices" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
[
{
"id": 14,
"product": "telegram",
"price": 11,
"CreatedAt": "2020-06-24T15:37:08.149895Z"
}
]
GET - https://5sim.net/v1/user/max-prices
Get a list of established price limits.
Headers
- Authorization: Bearer $token
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
id | number | ID |
product | string | Product name |
price | number | Price |
created_at | date string | The date and time when the object was created |
Create or update the price limit per product
Request example
curl -X POST "https://5sim.net/v1/user/max-prices" \
-d '{"product_name": "telegram", "price": 30}'\
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
POST - https://5sim.net/v1/user/max-prices
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
product_name | query string | Yes | Product name |
price | query number | Yes | Price |
Delete the price limit per product
Request example
curl -X DELETE "https://5sim.net/v1/user/max-prices" \
-d '{"product_name": "telegram"}'\
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
DELETE - https://5sim.net/v1/user/max-prices
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
product_name | query string | Yes | Product name |
Products and prices
Products request
Request example
curl "https://5sim.net/v1/guest/products/$country/$operator" \
-H "Accept: application/json"
Response example
{
"1day":{"Category":"hosting","Qty":14,"Price":80},
"vkontakte":{"Category":"activation","Qty":133,"Price":21}
}
GET - https://5sim.net/v1/guest/products/$country/$operator
To receive the name, the price, quantity of all products, available to buy.
Headers
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
country | query string | Yes | The country, "any" - any country |
operator | query string | Yes | The operator, "any" - any operator |
Response
Name | Type | Description |
---|---|---|
Category | string | activation/hosting |
Qty | number | Available quantity |
Price | number | Price |
Prices request
Request example
curl "https://5sim.net/v1/guest/prices" \
-H "Accept: application/json"
Response example
{
"russia":{
"1688":{
"beeline":{
"cost":4,
"count":1260,
"rate": 99.99
},
"lycamobile":{
"cost":4,
"count":935,
"rate": 99.99
},
"matrix":{
"cost":4,
"count":0,
"rate": 99.99
}
}
}
}
GET - https://5sim.net/v1/guest/prices
Returns product prices
Headers
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
cost | float | Virtual number price, two decimal places |
count | number | Available quantity |
rate | float | Delivery percentage, two decimal places, omitted less than 20% or too few orders |
Prices by country
Request example
curl "https://5sim.net/v1/guest/prices?country=$country" \
-H "Accept: application/json"
Response example
{
"russia":{
"1688":{
"beeline":{
"cost":4,
"count":1260,
"rate": 99.99
},
"lycamobile":{
"cost":4,
"count":935,
"rate": 99.99
},
"matrix":{
"cost":4,
"count":0,
"rate": 99.99
}
}
}
}
GET - https://5sim.net/v1/guest/prices?country=$country
Returns product prices by country
Headers
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
country | query string | Yes | Country name |
Response
Name | Type | Description |
---|---|---|
cost | float | Virtual number price, two decimal places |
count | number | Available quantity |
rate | float | Delivery percentage, two decimal places, omitted less than 20% or too few orders |
Prices by product
Request example
curl "https://5sim.net/v1/guest/prices?product=$product" \
-H "Accept: application/json"
Response example
{
"telegram":{
"afghanistan":{
"virtual18":{
"cost":4,
"count":1260,
"rate": 99.99
},
"virtual23":{
"cost":4,
"count":935,
"rate": 99.99
},
"virtual4":{
"cost":4,
"count":0,
"rate": 99.99
}
}
}
}
GET - https://5sim.net/v1/guest/prices?product=$product
Returns product prices for a specific product
Headers
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
product | query string | Yes | Product name |
Response
Name | Type | Description |
---|---|---|
cost | float | Virtual number price, two decimal places |
count | number | Available quantity |
rate | float | Delivery percentage, two decimal places, omitted less than 20% or too few orders |
Prices by country and product
Request example
curl "https://5sim.net/v1/guest/prices?country=$country&product=$product" \
-H "Accept: application/json"
Response example
{
"russia":{
"telegram":{
"beeline":{
"cost":8,
"count":0,
"rate": 99.99
},
"matrix":{
"cost":8,
"count":0,
"rate": 99.99
},
"megafon":{
"cost":8,
"count":0,
"rate": 99.99
},
"mts":{
"cost":8,
"count":0,
"rate": 99.99
},
"rostelecom":{
"cost":8,
"count":0,
"rate": 99.99
},
"tele2":{
"cost":8,
"count":0,
"rate": 99.99
},
"virtual15":{
"cost":8,
"count":0,
"rate": 99.99
},
"yota":{
"cost":8,
"count":0,
"rate": 99.99
}
}
}
}
GET - https://5sim.net/v1/guest/prices?country=$country&product=$product
Returns product prices by country and specific product
Headers
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
country | query string | Yes | Country name |
product | query string | Yes | Product name |
Response
Name | Type | Description |
---|---|---|
cost | float | Virtual number price, two decimal places |
count | number | Available quantity |
rate | float | Delivery percentage, two decimal places, omitted less than 20% or too few orders |
Purchase
Buy activation number
Request example
curl "https://5sim.net/v1/user/buy/activation/$country/$operator/$product" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id":11631253,
"phone":"+79000381454",
"operator":"beeline",
"product":"vkontakte",
"price":21,
"status":"PENDING",
"expires":"2018-10-13T08:28:38.809469028Z",
"sms":null,
"created_at":"2018-10-13T08:13:38.809469028Z",
"forwarding":false,
"forwarding_number":"",
"country":"russia"
}
GET - https://5sim.net/v1/user/buy/activation/$country/$operator/$product
GET - https://5sim.net/v1/user/buy/activation/$country/$operator/$product?forwarding=$forwarding&number=$number&reuse=$reuse&voice=$voice&ref=$ref
Headers
- Authorization: Bearer $token
- Accept: application/json
URL parameters
Name | Type | Required | Description |
---|---|---|---|
country | query string | Yes | The country, "any" - any country |
operator | query string | Yes | The operator, "any" - any operator |
product | query string | Yes | Product name |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
forwarding | query string | No | Whether or not to enable forwarding |
number | query string | No | Number for which the call will be forwarded, only the Russian numbers, 11 digits, without the + sign |
reuse | query string | No | If equal to "1" buy with the ability to reuse the number, if available |
voice | query string | No | If equal to "1" buy with the ability to receive a call from the robot, if available |
ref | query string | No | Your referral key if you have it, if you are developer of the software, you can read terms here |
maxPrice | query string | No | Max price specified in the Purchase method parameters shall have priority over the settings adjusted in the Max purchase price section and shall work only if the operator value is set as "any" |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
phone | string | Phone number |
operator | string | Operator |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
created_at | date string | When the order was created |
forwarding | boolean | Whether or not to enable forwarding |
forwarding_number | string | Call forwarding number |
country | string | Name of country of number |
- not enough user balance
- not enough rating
- select country
- select operator
- bad country
- bad operator
- no product
- server offline
Request limits
Buy hosting number
Request example
curl "https://5sim.net/v1/user/buy/hosting/$country/$operator/$product" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id": 1,
"phone": "+79008001122",
"product": "1day",
"price": 1,
"status": "PENDING",
"expires": "1970-12-01T03:00:00.000000Z",
"sms": [
{
"id":3027531,
"created_at":"1970-12-01T17:23:25.106597Z",
"date":"1970-12-01T17:23:15Z",
"sender":"Facebook",
"text":"Use 415127 as your login code",
"code":"415127"
}
],
"created_at": "1970-12-01T00:00:00.000000Z"
}
GET - https://5sim.net/v1/user/buy/hosting/$country/$operator/$product
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
country | query string | Yes | The country, "any" - any country |
operator | query string | Yes | The operator, "any" - any operator |
product | query string | Yes | Product name, {3hours, 1day} |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
phone | string | Phone number |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
created_at | date string | When the order was created |
- no free phones
- not enough user balance
- not enough rating
- select country
- select operator
- bad country
- bad operator
- no product
- server offline
Re-buy number
Request example
curl "https://5sim.net/v1/user/reuse/$product/$number" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
GET - https://5sim.net/v1/user/reuse/$product/$number
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
product | query string | Yes | Product name |
number | query string | Yes | Phone number, 4-15 digits (without the + sign) |
Response
- no free phones
- select operator
- not enough user balance
- bad country
- bad operator
- server offline
- not enough rating
- no product
- reuse not possible
- reuse false
- reuse expired
Order management
Check order (Get SMS)
Request example
curl "https://5sim.net/v1/user/check/$id" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id": 11631253,
"created_at": "2018-10-13T08:13:38.809469028Z",
"phone": "+79000381454",
"product": "vkontakte",
"price": 21,
"status": "RECEIVED",
"expires": "2018-10-13T08:28:38.809469028Z",
"sms": [
{
"created_at":"2018-10-13T08:20:38.809469028Z",
"date":"2018-10-13T08:19:38Z",
"sender":"VKcom",
"text":"VK: 09363 - use this code to reclaim your suspended profile.",
"code":"09363"
}
],
"forwarding": false,
"forwarding_number": "",
"country":"russia"
}
GET - https://5sim.net/v1/user/check/$id
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
id | query string | Yes | Order ID |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
created_at | date string | When the order was created |
phone | string | Phone number |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
forwarding | boolean | Whether or not to enable forwarding |
forwarding_number | string | Call forwarding number |
country | string | Name of country of number |
Finish order
Request example
curl "https://5sim.net/v1/user/finish/$id" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id": 11631253,
"created_at": "2018-10-13T08:13:38.809469028Z",
"phone": "+79000381454",
"product": "vkontakte",
"price": 21,
"status": "FINISHED",
"expires": "2018-10-13T08:28:38.809469028Z",
"sms": [
{
"created_at":"2018-10-13T08:20:38.809469028Z",
"date":"2018-10-13T08:19:38Z",
"sender":"VKcom",
"text":"VK: 09363 - use this code to reclaim your suspended profile.",
"code":"09363"
}
],
"forwarding": false,
"forwarding_number": "",
"country":"russia"
}
GET - https://5sim.net/v1/user/finish/$id
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
id | query string | Yes | Order ID |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
created_at | date string | When the order was created |
phone | string | Phone number |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
forwarding | boolean | Whether or not to enable forwarding |
forwarding_number | string | Call forwarding number |
country | string | Name of country of number |
Cancel order
Request example
curl "https://5sim.net/v1/user/cancel/$id" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id": 11631253,
"created_at": "2018-10-13T08:13:38.809469028Z",
"phone": "+79000381454",
"product": "vkontakte",
"price": 21,
"status": "CANCELED",
"expires": "2018-10-13T08:28:38.809469028Z",
"sms": [
{
"created_at":"2018-10-13T08:20:38.809469028Z",
"date":"2018-10-13T08:19:38Z",
"sender":"VKcom",
"text":"VK: 09363 - use this code to reclaim your suspended profile.",
"code":"09363"
}
],
"forwarding": false,
"forwarding_number": "",
"country":"russia"
}
GET - https://5sim.net/v1/user/cancel/$id
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
id | query string | Yes | Order ID |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
created_at | date string | When the order was created |
phone | string | Phone number |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
forwarding | boolean | Whether or not to enable forwarding |
forwarding_number | string | Call forwarding number |
country | string | Name of country of number |
Ban order
Request example
curl "https://5sim.net/v1/user/bn/$id" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id": 11631253,
"created_at": "2018-10-13T08:13:38.809469028Z",
"phone": "+79000381454",
"product": "vkontakte",
"price": 21,
"status": "BANNED",
"expires": "2018-10-13T08:28:38.809469028Z",
"sms": [
{
"created_at":"2018-10-13T08:20:38.809469028Z",
"date":"2018-10-13T08:19:38Z",
"sender":"VKcom",
"text":"VK: 09363 - use this code to reclaim your suspended profile.",
"code":"09363"
}
],
"forwarding": false,
"forwarding_number": "",
"country":"russia"
}
GET - https://5sim.net/v1/user/ban/$id
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
id | query string | Yes | Order ID |
Response
Name | Type | Description |
---|---|---|
id | number | Order ID |
created_at | date string | When the order was created |
phone | string | Phone number |
product | string | Product |
price | number | Price |
status | string | Order's status |
expires | date string | When the order expires |
sms | sms array | SMS list |
forwarding | boolean | Whether or not to enable forwarding |
forwarding_number | string | Call forwarding number |
country | string | Name of country of number |
SMS inbox list
Request example
curl "https://5sim.net/v1/user/sms/inbox/$id" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"Data": [
{
"ID":844928,
"created_at":"2017-09-05T15:48:33.763297Z",
"date":"2017-09-05T15:48:27Z",
"sender":"+79998887060",
"text":"12345",
"code":"",
"is_wave":false,
"wave_uuid":""
}
],
"Total":1
}
GET - https://5sim.net/v1/user/sms/inbox/$id
Get SMS inbox list by order's id.
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
id | query string | Yes | Order ID |
Response
Name | Type | Description |
---|---|---|
Data | array | SMS list |
Total | number | SMS count |
Notifications
Get notifications
Request example
curl "https://5sim.net/v1/guest/flash/$lang" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"text":"...notification text..."
}
GET - https://5sim.net/v1/guest/flash/$lang
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
lang | query string | Yes | Language of notification, ru/en |
Response
Name | Type | Description |
---|---|---|
text | string | Notification text |
Vendor
Vendor statistic
Request example
curl "https://5sim.net/v1/user/vendor" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"id":1,
"email":"[email protected]",
"vendor":"demo",
"default_forwarding_number":"78009005040",
"balance":100,
"rating":96,
"default_country": {
"name":"russia","iso":"ru","prefix":"+7"
},
"default_operator": {
"name":""
},
"frozen_balance":0
}
GET - https://5sim.net/v1/user/vendor
Headers
- Authorization: Bearer $token
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
id | number | Vendor ID |
string | Vendor email | |
balance | number | Balance |
rating | number | Rating |
default_country | array | Default country |
default_country.name | string | Country name |
default_country.iso | string | ISO country code |
default_country.prefix | string | Mobile prefix |
default_operator | array | Default operator |
default_operator.name | string | Operator name |
frozen_balance | number | Frozen balance |
default_forwarding_number | string | Default forwarding number |
vendor | string | Vendor name |
Wallets reserve
Request example
curl "https://5sim.net/v1/vendor/wallets" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"fkwallet":43339.55,
"payeer":2117.32,
"unitpay":97.6
}
GET - https://5sim.net/v1/vendor/wallets
Available reserves currency for partner.
Headers
- Authorization: Bearer $token
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
fkwallet | number | |
payeer | number | |
unitpay | number |
Vendor orders history
Request example
curl "https://5sim.net/v1/vendor/orders?category=activation&limit=15&offset=0&order=id&reverse=true" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"Data": [],
"ProductNames":[],
"Statuses":[],
"Total":3
}
GET - https://5sim.net/v1/vendor/orders?category=$category
Provides vendor's orders history by chosen category.
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
category | query string | Yes | Category can be 'hosting' or 'activation' |
limit | query string | No | Pagination limit |
offset | query string | No | Pagination offset |
order | query string | No | Pagination order, should be field name |
reverse | query string | No | Is reversed history, true / false |
Response
Name | Type | Description |
---|---|---|
Data | array | Orders list |
ProductNames | array | Products list |
Statuses | array | Statuses list |
Total | number | Orders count |
Vendor payments history
Request example
curl "https://5sim.net/v1/vendor/payments?limit=15&offset=0&order=id&reverse=true" \
-H "Authorization: Bearer $token" \
-H "Accept: application/json"
Response example
{
"Data": [],
"PaymentProviders":null,
"PaymentStatuses":null,
"PaymentTypes":null,
"Total":3
}
GET - https://5sim.net/v1/vendor/payments
Provides vendor's payments history.
Headers
- Authorization: Bearer $token
- Accept: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
limit | query string | No | Pagination limit |
offset | query string | No | Pagination offset |
order | query string | No | Pagination order, should be field name |
reverse | query string | No | Is reversed history, true / false |
Response
Name | Type | Description |
---|---|---|
Data | array | Payments list |
PaymentProviders | array | Names of payments systems |
PaymentStatuses | array | Payments statuses |
PaymentTypes | array | Payments types |
Total | number | Payments count |
Create payouts
Request example
curl -X POST "https://5sim.net/v1/vendor/withdraw" \
-d '{"receiver":"1","method":"qiwi","amount":"1","fee":"unitpay"}' \
-H "Authorization: Bearer $token" \
-H "Content-Type: application/json"
POST - https://5sim.net/v1/vendor/withdraw
Create payouts for a partner.
Headers
- Authorization: Bearer $token
- Content-Type: application/json
Request parameters
Name | Type | Required | Description |
---|---|---|---|
receiver | string | Yes | Receiver |
method | string | Yes | Output method visa / qiwi / yandex |
amount | string | Yes | Amount |
fee | string | Yes | Payment system fkwallet / payeer / unitpay |
Response
Countries list
Get countries list
Response example
{
"afghanistan":{
"iso":{
"af":1
},
"prefix":{
"+93":1
},
"text_en":"Afghanistan",
"text_ru":"Афганистан",
"virtual18":{
"activation":1
},
"virtual21":{
"activation":1
},
"virtual23":{
"activation":1
},
"virtual4":{
"activation":1
}
}
}
GET - https://5sim.net/v1/guest/countries
Returns a list of countries with available operators for purchase.
Headers
- Authorization: Bearer $token
- Accept: application/json
Response
Name | Type | Description |
---|---|---|
iso | array | ISO country code |
text_en | string | Country name in English |
text_ru | string | Country name in Russian |
Countries list
Country | API 5SIM |
---|
Order statuses
- PENDING - Preparation
- RECEIVED - Waiting of receipt of SMS
- CANCELED - Is cancelled
- TIMEOUT - A timeout
- FINISHED - Is complete
- BANNED - Number banned, when number already used
Products list
Activation:
Service | API 5SIM |
---|
Hosting:
- 3hours
- 1day
- 10days
- 1month
Operators list
In order to get a list of operators, you need authorization.
Structure of SMS
Response example
{
"sms": [
{
"created_at":"1970-12-01T17:23:25.106597Z",
"date":"1970-12-01T17:23:15Z",
"sender":"Facebook",
"text":"Use 415127 as your login code",
"code":"415127"
}
]
}
Name | Type | Description |
---|---|---|
created_at | date string | When SMS was created |
date | date string | When SMS received |
sender | string | Sender name |
text | string | Text of SMS |
code | string | Received activation code |
Limits
Rating
Description of the rating system.
The user's current rating is displayed in the account settings, the "General" tab.
The initial rating for new users is 96 points.
The maximum possible rating is 96 points.
The rating is formed from the following parameters:
Actions | Rating (points) |
---|---|
Account replenishment | +8 |
Completed Purchase Before Code Elapsed Time | +0.5 |
Automatically Completed Purchase After Time Allowed To Get Code | +0.4 |
Timeout | -0.15 |
Canceled purchase | -0.1 |
The number was sent to the ban | -0.1 |
If the rating drops to zero, then you will not be able to place an order on the site within 24 hours. After 24 hours, the rating will return to the initial value - 96 points.