PrimePanel API'si ile sosyal medya servislerinizi otomatik olarak yönetin. HTTP/HTTPS protokollerini kullanarak tüm işlemlerinizi gerçekleştirebilirsiniz.
HTTP Method | POST |
API URL | https://diamondsmm.store/api/v2 |
API Key | API anahtarınızı hesabım sayfasından alabilirsiniz |
Response Format | JSON |
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | services |
[
{
"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
}
]
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | add |
service | Servis ID |
{
"order": 25500
}
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | status |
order | Sipariş ID |
{
"charge": "0.27819",
"start_count": "3572",
"status": "Processing",
"remains": "157",
"currency": "TRY"
}
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | refill |
order | Sipariş ID |
{
"refill": "1"
}
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | refill_status |
refill | Yenileme ID |
{
"status": "Completed"
}
Parametre | Açıklama |
---|---|
key | API Anahtarınız |
action | balance |
{
"balance": "100.84292",
"currency": "TRY"
}
$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);
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())
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);
});