Ana Sayfa Servis Listesi Kullanım Koşulları Blog İletişim Api
Dil Seçimi

API Dokümantasyonu

PrimePanel API'si ile sosyal medya servislerinizi otomatik olarak yönetin. HTTP/HTTPS protokollerini kullanarak tüm işlemlerinizi gerçekleştirebilirsiniz.

API Bilgileri

HTTP Method POST
API URL https://diamondsmm.store/api/v2
API Key API anahtarınızı hesabım sayfasından alabilirsiniz
Response Format JSON

Servis Listesi

Parametreler:

Parametre Açıklama
key API Anahtarınız
action services

Örnek Yanıt:

JSON
[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
        "refill": true
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500",
        "refill": false
    }
]

Sipariş Oluşturma

Parametreler:

Parametre Açıklama
key API Anahtarınız
action add
service Servis ID

Örnek Yanıt:

JSON
{
    "order": 25500
}

Sipariş Durumu

Parametreler:

Parametre Açıklama
key API Anahtarınız
action status
order Sipariş ID

Örnek Yanıt:

JSON
{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Processing",
    "remains": "157",
    "currency": "TRY"
}

Yenileme Talebi Oluşturma

Parametreler:

Parametre Açıklama
key API Anahtarınız
action refill
order Sipariş ID

Örnek Yanıt:

JSON
{
    "refill": "1"
}

Yenileme Durumu

Parametreler:

Parametre Açıklama
key API Anahtarınız
action refill_status
refill Yenileme ID

Örnek Yanıt:

JSON
{
    "status": "Completed"
}

Bakiye Sorgulama

Parametreler:

Parametre Açıklama
key API Anahtarınız
action balance

Örnek Yanıt:

JSON
{
    "balance": "100.84292",
    "currency": "TRY"
}

Kod Örnekleri

PHP

PHP
$api_key = "API_ANAHTARINIZ";
$post = [
    'key' => $api_key,
    'action' => 'add',
    'service' => 1,
    'link' => 'https://www.instagram.com/kullaniciadi',
    'quantity' => 1000
];

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://diamondsmm.store/api/v2');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

$response = curl_exec($ch);
curl_close($ch);

$result = json_decode($response, true);
print_r($result);

Python

Python
import requests

api_key = "API_ANAHTARINIZ"
data = {
    'key': api_key,
    'action': 'add',
    'service': 1,
    'link': 'https://www.instagram.com/kullaniciadi',
    'quantity': 1000
}

response = requests.post(
    'https://diamondsmm.store/api/v2',
    data=data
)

print(response.json())

Node.js

JavaScript
const axios = require('axios');
const FormData = require('form-data');

const api_key = 'API_ANAHTARINIZ';
const formData = new FormData();
formData.append('key', api_key);
formData.append('action', 'add');
formData.append('service', 1);
formData.append('link', 'https://www.instagram.com/kullaniciadi');
formData.append('quantity', 1000);

axios.post('https://diamondsmm.store/api/v2', formData, {
    headers: formData.getHeaders()
})
.then(response => {
    console.log(response.data);
})
.catch(error => {
    console.error(error);
});