Kickliker API v1.0

To get access key, go to your profile

Count of requests per second is limited by 50 per IP

Answer returns in JSON

To be able to place orders, you should have money on your balance

Affiliate system does not applies to orders which are placed by using API


API methods

METHOD NAME HTTP METHOD DESCRIPTION REQUIRED PARAMS
CATALOG METHODS
get-catalog GET Returns all catalog positions key
get-product GET Returns requested catalog position key product_id
ACCOUNT METHODS
get-balance GET Returns your account's balance key
ORDER METHODS
get-status GET Returns status of requested order key order_id
put-order PUT Places order key, product_id, count, posts, url

Params information

PARAM TYPE DESCRIPTION
key string Your API key
product_id int Product ID obtained from get-catalog method
order_id int Order ID that was returned from put-order method
count int Count of likes/subscribers/etc
posts int Count of posts to promote. Only applies for category "auto"
url string URL to promote

Examples

get-catalog GET

Returns JSON with array of products

Make GET request to https://kickliker.com/api/get-catalog

<?php
    $res = json_decode(file_get_contents('https://kickliker.com/api/get-catalog?' . http_build_query([
        'key' => 'YOUR_API_KEY',
    ])), false);

    foreach ($res as $value)
    {
        echo $value->title;
    }
?>
ANSWER EXAMPLE
[
    {
        "id":"<product_id>",
        "title":"<title>",
        "price":"<price>",
        "social":"<social>",
        "category":"<category>",
        "url_hint":"<url_hint>",
        "min_count":"<min>",
        "max_count":"<max>"
    },
    {
        ...
    }
]

get-product GET

Returns JSON with requested product

Make GET request to https://kickliker.com/api/get-product

<?php
    $res = json_decode(file_get_contents('https://kickliker.com/api/get-product?' . http_build_query([
        'key' => 'YOUR_API_KEY',
        'product_id' => 1,
    ])), false);

    echo $res->title;
?>
ANSWER EXAMPLE
{
    "id":"<product_id>",
    "title":"<title>",
    "price":"<price>",
    "social":"<social>",
    "category":"<category>",
    "url_hint":"<url_hint>",
    "min_count":"<min>",
    "max_count":"<max>"
}

get-balance GET

Returns JSON with account balance

Make GET request to https://kickliker.com/api/get-balance

<?php
    $res = json_decode(file_get_contents('https://kickliker.com/api/get-balance?' . http_build_query([
        'key' => 'YOUR_API_KEY',
    ])), false);

    echo $res->balance;
?>
ANSWER EXAMPLE
{"balance":"500"}

get-status GET

Returns JSON with order status

Make GET request to https://kickliker.com/api/get-status

<?php
    $res = json_decode(file_get_contents('https://kickliker.com/api/get-balance?' . http_build_query([
        'key' => 'YOUR_API_KEY',
        'order_id' => 123,
    ])), false);

    echo $res->order_id;
    echo $res->status;
    echo $res->remains;
?>
ANSWER EXAMPLE
{"order_id":"8374", "status":"Completed", "remains":"0"}

put-order PUT

Returns JSON with order ID

Make PUT request to https://kickliker.com/api/put-order

<?php
    $ch = curl_init();

    curl_setopt($ch, CURLOPT_URL, 'https://kickliker.com/api/put-order');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
        'url' => $url,
        'count' => $count,
        'posts' => $posts,
        'product_id' => $product_id,
        'key' => $key,
    ]));

    $response = curl_exec($ch);

    if ($response)
    {
        echo $response;
    }
?>
ANSWER EXAMPLE
{"order_id":"8374"}