API DETAILS

API URL

https://smmking.vip/api/v2

API Key

Please login to get api key

HTTP Method

POST or GET

Response format

JSON

Services list

key

Your API Key

action

services

[
    {
        "service": 1,
        "name": "Facebook Like",
        "type": "Default",
        "category": "Facebook",
        "rate": "1",
        "min": "50",
        "max": "1000000",
        "refill": true,
        "cancel": true,
        "description": "description for this service"
    },
    {
        "service": 2,
        "name": "Tiktok Follower",
        "type": "Default",
        "category": "Tiktok",
        "rate": "8",
        "min": "10",
        "max": "1500",
        "refill": false,
        "cancel": true,
        "description": "description for this service"
    }
]
                        

Add order

key

Your API Key

action

add

service

Service ID

link

Link to page

quantity

Needed quantity

comments

Comments list separated by \r\n or \n


{
    "order": 12563
}
                        

Order status

key

Your API Key

action

status

order

Order ID

{
    "charge": "0.5689",
    "start_count": "1525",
    "status": "Partial",
    "remains": "569",
    "currency": "USD"
}
                        

Multiple orders status

key

Your API Key

action

status

orders

Order IDs (separated by a comma, up to 100 IDs)

{
    "25": {
        "charge": "0.34",
        "start_count": "4562",
        "status": "Partial",
        "remains": "1588",
        "currency": "USD"
    },
    "362": {
        "error": "Incorrect order ID"
    },
    "92": {
        "charge": "1.52",
        "start_count": "48",
        "status": "In progress",
        "remains": "15",
        "currency": "USD"
    }
}
                        

Create cancel

key

Your API Key

action

cancel

orders

Order IDs (separated by a comma, up to 100 IDs)

[
    {
        "order": 1,
        "cancel": {
            "error": "Incorrect order ID"
        }
    },
    {
        "order": 2,
        "cancel": 1
    }
]
                        

User balance

key

Your API Key

action

balance

{
    "balance": "50.1235",
    "currency": "USD"
}
                        

Example PHP Code

<?php

    #services list 
    $post_data = [
        'action' => 'services'
    ];


    #add default order
    $post_data = [
        'action' => 'add',
        'link' => 'https://...',
        'quantity' => 100,
        'service' => 20
    ];


    #add custom comments order
    $post_data = [
        'action' => 'add',
        'link' => 'https://...',
        'comments' => "msg1\nmsg2\nmsg3",
        'service' => 15
    ];

    #add package order
    $post_data = [
        'action' => 'add',
        'link' => 'https://...',
        'service' => 10
    ];

    
    #order status
    $post_data = [
        'action' => 'status',
        'order' => 120494
    ];


    #multi order status
    $post_data = [
        'action' => 'status',
        'orders' => '10293,10248,102394'
    ];


    #create cancel
    $post_data = [
        'action' => 'cancel',
        'orders' => '104983,139403,103893'
    ];

    
    #user balance
    $post_data = [
        'action' => 'balance',
    ];


    ### api key ###
    $post_data['key'] = 'Your API Key';


    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, https://smmking.vip/api/v2');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POST, true); # USING POST METHOD, GET METHOD ALSO AVAILABLE
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
    $result = curl_exec($ch);
    curl_close($ch);

    var_dump($result); // show response



    #also can using with GET method, such as: https://smmking.vip/api/v2?key=YOUR_API_KEY&action=services
    
?>