API Documents

HTTP method POST
API URL https://smmlegend.com/api/v2
Response format JSON


Services list

Get list of all services provided on Laravel

PARAMETER DESCRIPTION
key [Your API key]
action services
Example response
[
    {
        "service": 1,
        "name": "Telegram Members",
        "type": "Default",
        "category": "Telegram -> member",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
    },
    {
        "service": 2,
        "name": "Telegram View",
        "type": "Default",
        "category": "Telegram -> View",
        "rate": "8",
        "min": "10",
        "max": "1500",
    }
]


Add order

Create new order

PARAMETER DESCRIPTION
key [Your API key]
action add
service Service ID
link Link to page
quantity Needed quantity
discount Discount code [Optional]
Example response
{
  "order": 11250,
}
                                


Order status

Get status of previous orders

PARAMETER DESCRIPTION
key [Your API key]
action status
order Order ID
Example response
{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
}
                                


Multiple orders status

Get status of multiple orders

PARAMETER DESCRIPTION
key [Your API key]
action status
orders Order IDs separated by comma
Example response
{
    "1": {
        "charge": "0.27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157",
        "currency": "USD"
    },
    "10": {
        "error": "Incorrect order ID"
    },
    "100": {
        "charge": "1.44219",
        "start_count": "234",
        "status": "In progress",
        "remains": "10",
        "currency": "USD"
    }
}
                                


User balance

Get balance (credit) of user

PARAMETER DESCRIPTION
key [Your API key]
action balance
Example response
{
    "balance": "100.84292",
    "currency": "USD"
}
                                


Cancel order

PARAMETER DESCRIPTION
key [Your API key]
action cancel
order Order ID
Example response
{"cancel request":"Sent"}

#result can be: Sent, Already sent, Not possible
#check your order status for confirmation (it may take a few moments)