Sosmed API Documentasi
API Sosmed
| Method | POST |
| API URL | https://jagoanpedia.com/api/sosmed |
| Parameter | Deskripsi |
|---|---|
| key | API Key anda |
| action | services |
Example Request (PHP cURL)
<?php
$url = "https://jagoanpedia.com/api/sosmed";
$data = [
"key" => "API Key" ,
"action" => "services"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
curl_close($ch);
echo "Response: " . $response;
?>
Success Response:
{
"success": true,
"data": {
"id": 1,
"name": "Instagram Followers Jagoanpedia Terbaik",
"min": 100,
"max": 100000,
"price": 2150,
"status": "Active",
"note": "SUPER INSTANT - HIGH QUALITY - SILAHKAN DIORDER"
}
}
Failed Response:
{
success: false,
error: "Wrong API Key"
}
| Parameter | Deskripsi |
|---|---|
| key | API Key anda |
| action | order |
| service | Id layanan, bisa dilihat di Daftar layanan |
| target | Target pesanan sesuai kebutuhan (username/url/id) |
| quantity | Jumlah pesan |
| custom_comments | Daftar komentar, dipisahkan dengan enter atau \r\n atau \n. (Hanya diperlukan jika pesan layanan custom komentar) |
| username | Username target. (Hanya diperlukan jika pesan layanan Like Komentar Instagram) |
Example Request (PHP cURL)
<?php
$url = "https://jagoanpedia.com/api/sosmed";
$data = [
"key" => "API Key" ,
"action" => "order",
"service" => "1234",
"target" => "https://instagram.com/xx",
"quantity" => "1000"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
curl_close($ch);
echo "Response: " . $response;
?>
Success Response:
{
"success": true,
"data": {
"id": 1234,
"target": "jagoanpedia",
"price": 10000,
"status": "Pending"
}
}
Failed response:
{
success: false,
error: "Service not active"
}
| Parameter | Deskripsi |
|---|---|
| key | API Key anda |
| action | status |
| order_id | ID Pesanan |
Example Request (PHP cURL)
<?php
$url = "https://jagoanpedia.com/api/sosmed";
$data = [
"key" => "API Key" ,
"action" => "status",
"order_id" => "1234"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
curl_close($ch);
echo "Response: " . $response;
?>
Success Response:
{
"success": true,
"data": {
"id": 2413,
"status": "Success",
"start_count": 1320,
"remains": 0
}
}
Failed response:
{
success: false,
error: "Order id tidak ditemukan"
}