API dokümanı

Piyasa standardı API v2 — mevcut entegrasyonlarınız değişiklik yapmadan çalışır.

HTTP MethodPOST
API URL
API KeyAPI anahtarınızı görmek için giriş yapın.
ResponseJSON

Service list

ParametreAçıklama
keyAPI key
actionservices
Example response
[
  {
    "service": 1,
    "name": "Instagram Takipçi",
    "type": "Default",
    "category": "Instagram",
    "rate": "12.50",
    "min": "50",
    "max": "10000",
    "refill": true,
    "cancel": true,
    "dripfeed": false
  }
]

Add order

ParametreAçıklama
keyAPI key
actionadd
serviceService ID
linkLink
quantityNeeded quantity
runs (optional)Runs to deliver (drip-feed)
interval (optional)Interval in minutes
comments (custom comments)Comments list separated by \n
username, min, max, posts, delay, expiry (subscriptions)Subscription parameters
Example response
{
  "order": 23501
}

Order status

ParametreAçıklama
keyAPI key
actionstatus
orderOrder ID
Example response
{
  "charge": "0.27819",
  "start_count": "3572",
  "status": "Partial",
  "remains": "157",
  "currency": "TRY"
}

Multiple orders status

ParametreAçıklama
keyAPI key
actionstatus
ordersOrder IDs separated by comma (max 100)
Example response
{
  "1": {"charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "TRY"},
  "10": {"error": "Incorrect order ID"}
}

Create refill

ParametreAçıklama
keyAPI key
actionrefill
orderOrder ID
Example response
{
  "refill": "1"
}

Refill status

ParametreAçıklama
keyAPI key
actionrefill_status
refillRefill ID
Example response
{
  "status": "Completed"
}

Cancel orders

ParametreAçıklama
keyAPI key
actioncancel
ordersOrder IDs separated by comma (max 100)
Example response
[
  {"order": 9, "cancel": {"error": "Incorrect order ID"}},
  {"order": 2, "cancel": 1}
]

User balance

ParametreAçıklama
keyAPI key
actionbalance
Example response
{
  "balance": "100.84292",
  "currency": "TRY"
}

PHP

<?php
$api = new Api('https://smm.kckdijital.com/api/v2', 'API_KEY');
$services = $api->services();
$order = $api->order([
    'service' => 1,
    'link' => 'https://instagram.com/p/xxx',
    'quantity' => 1000,
]);
$status = $api->status($order->order);

class Api {
  public function __construct(
    private string $url, private string $key) {}
  private function call(array $d) {
    $ch = curl_init($this->url);
    curl_setopt_array($ch, [
      CURLOPT_POST => true,
      CURLOPT_RETURNTRANSFER => true,
      CURLOPT_POSTFIELDS =>
        http_build_query($d + ['key' => $this->key]),
    ]);
    return json_decode(curl_exec($ch));
  }
  public function services() { return $this->call(['action' => 'services']); }
  public function order(array $d) { return $this->call(['action' => 'add'] + $d); }
  public function status($id) { return $this->call(['action' => 'status', 'order' => $id]); }
  public function balance() { return $this->call(['action' => 'balance']); }
}

cURL

curl -X POST https://smm.kckdijital.com/api/v2 \
  -d key=API_KEY \
  -d action=add \
  -d service=1 \
  -d link=https://instagram.com/p/xxx \
  -d quantity=1000

Kur API'si

Panelin güncel döviz kurlarını JSON olarak döndürür.

GET https://smm.kckdijital.com/api/rates