Piyasa standardı API v2 — mevcut entegrasyonlarınız değişiklik yapmadan çalışır.
| HTTP Method | POST |
| API URL | |
| API Key | API anahtarınızı görmek için giriş yapın. |
| Response | JSON |
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | services |
[
{
"service": 1,
"name": "Instagram Takipçi",
"type": "Default",
"category": "Instagram",
"rate": "12.50",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true,
"dripfeed": false
}
]
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | add |
| service | Service ID |
| link | Link |
| quantity | Needed 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 |
{
"order": 23501
}
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | status |
| order | Order ID |
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "TRY"
}
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | status |
| orders | Order IDs separated by comma (max 100) |
{
"1": {"charge": "0.27819", "start_count": "3572", "status": "Partial", "remains": "157", "currency": "TRY"},
"10": {"error": "Incorrect order ID"}
}
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill |
| order | Order ID |
{
"refill": "1"
}
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | refill_status |
| refill | Refill ID |
{
"status": "Completed"
}
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | cancel |
| orders | Order IDs separated by comma (max 100) |
[
{"order": 9, "cancel": {"error": "Incorrect order ID"}},
{"order": 2, "cancel": 1}
]
| Parametre | Açıklama |
|---|---|
| key | API key |
| action | balance |
{
"balance": "100.84292",
"currency": "TRY"
}
<?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 -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
Panelin güncel döviz kurlarını JSON olarak döndürür.
GET https://smm.kckdijital.com/api/rates