API

HTTP Method POST
API URL https://demirsmm.com/api/v2
API Key API anahtarınızı Hesap sayfasından alabilirsiniz
Response format JSON

Servis Listesi

Parametreler Açıklama
key API anahtarınız
action services
Örnek yanıt
[
    {
        "service": 1,
        "name": "Followers",
        "type": "Default",
        "category": "First Category",
        "rate": "0.90",
        "min": "50",
        "max": "10000",
        "refill": true,
        "cancel": true
    },
    {
        "service": 2,
        "name": "Comments",
        "type": "Custom Comments",
        "category": "Second Category",
        "rate": "8",
        "min": "10",
        "max": "1500",
        "refill": false,
        "cancel": true
    }
]

Sipariş Ekle

Parametreler Açıklama
key API anahtarınız
action add
service Servis ID
link Sayfa bağlantısı
quantity Gerekli miktar
runs (opsiyonel) Teslim edilecek çalıştırma sayısı
interval (opsiyonel) Dakika cinsinden aralık
Örnek yanıt
{
    "order": 23501
}

Sipariş Durumu

Parametreler Açıklama
key API anahtarınız
action status
order Sipariş ID
Örnek yanıt
{
    "charge": "0.27819",
    "start_count": "3572",
    "status": "Partial",
    "remains": "157",
    "currency": "USD"
    }

Çoklu Sipariş Durumu

Parametreler Açıklama
key API anahtarınız
action status
orders Sipariş ID'leri (virgülle ayrılmış, en fazla 100 ID)
Örnek yanıt
{
    "1": {
        "charge": "0.27819",
        "start_count": "3572",
        "status": "Partial",
        "remains": "157",
        "currency": "USD"
    },
    "10": {
        "error": "Incorrect order ID"
    },
    "100": {
        "charge": "1.44219",
        "start_count": "234",
        "status": "In progress",
        "remains": "10",
        "currency": "USD"
    }
}

Refill Oluştur

Parametreler Açıklama
key API anahtarınız
action refill
order Sipariş ID
Örnek yanıt
{
    "refill": "1"
}

Çoklu Refill Oluştur

Parametreler Açıklama
key API anahtarınız
action refill
orders Sipariş ID'leri (virgülle ayrılmış, en fazla 100 ID)
Örnek yanıt
[
    {
        "order": 1,
        "refill": 1
    },
    {
        "order": 2,
        "refill": 2
    },
    {
        "order": 3,
        "refill": {
        "error": "Incorrect order ID"
    }
]

Refill Durumu

Parametreler Açıklama
key API anahtarınız
action refill_status
refill Refill ID
Örnek yanıt
{
    "status": "Completed"
}

Çoklu Refill Durumu

Parametreler Açıklama
key API anahtarınız
action refill_status
refills Refill ID'leri (virgülle ayrılmış, en fazla 100 ID)
Örnek yanıt
[
    {
        "refill": 1,
        "status": "Completed"
    },
    {
        "refill": 2,
        "status": "Rejected"
    },
    {
        "refill": 3,
        "status": {
        "error": "Refill not found"
    }
]

İptal Oluştur

Parametreler Açıklama
key API anahtarınız
action cancel
orders Sipariş ID'leri (virgülle ayrılmış, en fazla 100 ID)
Örnek yanıt
[
    {
        "order": 9,
        "cancel": {
        "error": "Incorrect order ID"
    },
    {
        "order": 2,
        "cancel": 1
    }
]

Kullanıcı Bakiyesi

Parametreler Açıklama
key API anahtarınız
action balance
Örnek yanıt
{
    "balance": "100.84292",
    "currency": "USD"
}
PHP kod örneği