Automate your SMM processes and save time — with the OSON SMM API!
| Request method | POST |
|---|---|
| API URL | https:// |
| Response format | JSON |
| Parameter | Description |
|---|---|
key | Your API key |
action | services |
[
{
"service": 1,
"name": "Telegram obunachilar",
"type": "Default",
"category": "Telegram",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
}
]
| Parameter | Description |
|---|---|
key | Your API key |
action | add |
service | Service ID |
link | Link |
quantity | Quantity |
{"order": 23501}
| Parameter | Description |
|---|---|
key | Your API key |
action | status |
order | Order number |
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
| Parameter | Description |
|---|---|
key | Your API key |
action | status |
orders | Order IDs separated by a comma |
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
}
}
| Parameter | Description |
|---|---|
key | Your API key |
action | refill |
order | Order number |
{"refill": "1"}
| Parameter | Description |
|---|---|
key | Your API key |
action | refill |
orders | Order IDs separated by a comma |
[
{"order": 1, "refill": 1},
{"order": 2, "refill": 2},
{"order": 3, "refill": {"error": "Incorrect order ID"}}
]
| Parameter | Description |
|---|---|
key | Your API key |
action | refill_status |
refill | Refill ID |
{"status": "Completed"}
| Parameter | Description |
|---|---|
key | Your API key |
action | refill_status |
refills | Refill IDs separated by a comma |
[
{"refill": 1, "status": "Completed"},
{"refill": 2, "status": "Rejected"}
]
| Parameter | Description |
|---|---|
key | Your API key |
action | cancel |
orders | Order IDs separated by a comma |
[
{"order": 9, "cancel": {"error": "Incorrect order ID"}},
{"order": 2, "cancel": 1}
]
| Parameter | Description |
|---|---|
key | Your API key |
action | balance |
{"balance": "100.84292", "currency": "USD"}
View PHP code example