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

API-Dokumentation

Verwalten Sie Ihre Social Media Services automatisch mit %sitename% API. Sie können alle Ihre Operationen mit HTTP/HTTPS-Protokollen durchführen.

API-Informationen

HTTP Method POST
API URL https://demirsmm.com/api/v2
API Key Sie können Ihren API-Schlüssel von der mein KontoSeite erhalten
Response Format JSON

Service-Liste

Parameter:

Parameter Beschreibung
key Ihr API-Schlüssel
action services

Beispielantwort:

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
    }
]

Bestellung erstellen

Parameter:

Parameter Beschreibung
key Ihr API-Schlüssel
action add
service Service-ID

Beispielantwort:

JSON
{
    "order": 25500
}

Bestellstatus

Parameter:

Parameter Beschreibung
key Ihr API-Schlüssel
action status
order Bestell-ID

Örnek Yanıt:

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

Nachfüll-Anfrage erstellen

Parameter:

Parameter Beschreibung
key Ihr API-Schlüssel
action refill
order Bestell-ID

Beispielantwort:

JSON
{
    "refill": "1"
}

Nachfüll-Status

Parameter:

Parameter Beschreibung
key Ihr API-Schlüssel
action refill_status
refill Nachfüll-ID

Beispielantwort:

JSON
{
    "status": "Completed"
}

Guthaben-Abfrage

Parameter:

Beschreibung Ihr API-Schlüssel
key Beispielantwort:
action balance

Örnek Yanıt:

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

Code-Beispiele

PHP

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

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://demirsmm.com/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_KEY"
data = {
    'key': api_key,
    'action': 'add',
    'service': 1,
    'link': 'https://www.instagram.com/username',
    'quantity': 1000
}

response = requests.post(
    'https://demirsmm.com/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://demirsmm.com/api/v2', formData, {
    headers: formData.getHeaders()
})
.then(response => {
    console.log(response.data);
})
.catch(error => {
    console.error(error);
});