Lion Medya Ajans API v2
STANDART SMM PANEL REST API v2

Geliştirici & Bayi API Dokümantasyonu

Lion Medya Ajans standart SMM API v2 protokolünü destekler. Perfect Panel, Glycon, SmartPanel, WordPress (WooCommerce) veya kendi özel yazılımınız üzerinden tüm siparişleri saniyeler içinde otomatik olarak geçirebilirsiniz.

HTTP Metodu POST
API URL https://kalitelismmpanel.com/api/v2
Format JSON
POST

1. Servis Listesini Çekme (action: services)

Paneldeki tüm aktif servislerin ID, isim, kategori, oran (fiyat), min ve max limitlerini döner.

// Parametreler:
key: "YOUR_API_KEY"
action: "services"
// Örnek Yanıt (Response):
[
  {
    "service": 101,
    "name": "Instagram Takipçi | Türk Gerçek (30 Gün Telafili)",
    "type": "Default",
    "category": "Instagram",
    "rate": "18.50",
    "min": "100",
    "max": "50000",
    "refill": true
  }
]
POST

2. Yeni Sipariş Oluşturma (action: add)

Belirlenen servise ait siparişi anında kuyruğa gönderir ve bakiyenizden tutarı düşer.

// Parametreler:
key: "YOUR_API_KEY"
action: "add"
service: 101
link: "https://instagram.com/ornekprofil"
quantity: 1000
// Başarılı Yanıt (Success):
{
  "order": 10542
}
POST

3. Sipariş Durumu Sorgulama (action: status)

Siparişin anlık durumunu, başlangıç sayısını ve kalan miktarı kontrol eder.

// Parametreler:
key: "YOUR_API_KEY"
action: "status"
order: 10542
// Örnek Yanıt:
{
  "charge": "18.50",
  "start_count": "1420",
  "status": "Completed", // Pending, Processing, In progress, Completed, Partial, Canceled
  "remains": "0",
  "currency": "TRY"
}

Örnek Kod Entegrasyonu (PHP & Python)

PHP (cURL):
<?php
$apiKey = "YOUR_API_KEY";
$apiEndpoint = "https://kalitelismmpanel.com/api/v2";

$postData = [
    'key' => $apiKey,
    'action' => 'add',
    'service' => 101,
    'link' => 'https://instagram.com/kullaniciadi',
    'quantity' => 1000
];

$ch = curl_init($apiEndpoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postData));
$response = json_decode(curl_exec($ch), true);
curl_close($ch);

echo "Sipariş No: " . $response['order'];
?>
Python (requests):
import requests

url = "https://kalitelismmpanel.com/api/v2"
data = {
    "key": "YOUR_API_KEY",
    "action": "add",
    "service": 101,
    "link": "https://instagram.com/kullaniciadi",
    "quantity": 1000
}

response = requests.post(url, data=data).json()
print("Sipariş No:", response.get("order"))