Sign in Sign up

Take your business to the next level with the OSON SMM API

Automate your SMM processes and save time — with the OSON SMM API!

API

Request methodPOST
API URLhttps://osonsmm.com/api/v2
Response formatJSON

Service list

ParameterDescription
keyYour API key
actionservices
Example response
[
    {
        "service": 1,
        "name": "Telegram obunachilar",
        "type": "Default",
        "category": "Telegram",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
        "refill": true,
        "cancel": true
    }
]

Place an order

ParameterDescription
keyYour API key
actionadd
serviceService ID
linkLink
quantityQuantity
Example response
{"order": 23501}

Order status

ParameterDescription
keyYour API key
actionstatus
orderOrder number
Example response
{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}

Multiple orders status

ParameterDescription
keyYour API key
actionstatus
ordersOrder IDs separated by a comma
Example response
{
    "1": {
        "charge": "0.27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157",
        "currency": "USD"
    },
    "10": {
        "error": "Incorrect order ID"
    }
}

Request refill

ParameterDescription
keyYour API key
actionrefill
orderOrder number
Example response
{"refill": "1"}

Create multiple refill

ParameterDescription
keyYour API key
actionrefill
ordersOrder IDs separated by a comma
Example response
[
    {"order": 1, "refill": 1},
    {"order": 2, "refill": 2},
    {"order": 3, "refill": {"error": "Incorrect order ID"}}
]

Get refill status

ParameterDescription
keyYour API key
actionrefill_status
refillRefill ID
Example response
{"status": "Completed"}

Get multiple refill status

ParameterDescription
keyYour API key
actionrefill_status
refillsRefill IDs separated by a comma
Example response
[
    {"refill": 1, "status": "Completed"},
    {"refill": 2, "status": "Rejected"}
]

Cancel

ParameterDescription
keyYour API key
actioncancel
ordersOrder IDs separated by a comma
Example response
[
    {"order": 9, "cancel": {"error": "Incorrect order ID"}},
    {"order": 2, "cancel": 1}
]

Balance

ParameterDescription
keyYour API key
actionbalance
Example response
{"balance": "100.84292", "currency": "USD"}
View PHP code example