Daftar service
Mengembalikan array kompatibilitas yang di-cache berisi service aktif dan rate sesuai akun. Response dapat di-cache hingga 5 menit. Action ini tidak menampilkan ketersediaan saat ini; gunakan action=catalog untuk ketersediaan dan metadata penemuan yang lebih lengkap. Response action=add yang committed menentukan charge order.
https://notpanel.com/api/v3action=servicesapplication/x-www-form-urlencodedParameter
| Nama | Tipe | Deskripsi |
|---|---|---|
| keyWajib | string | API key Anda. Wajib pada setiap request. |
| actionWajib | string | Harus berupa string literal "services". |
| language | language code | Bahasa nama service opsional: en, es, pt, ru, tr, ar, hi, id, fr, atau zh. pt adalah Portugis Brasil dan zh adalah Mandarin Sederhana. Jangan kirim untuk mempertahankan persis bentuk response Inggris lama. Admin dapat meninjau atau menyempurnakan setiap nama. |
Contoh request
Ganti YOUR_API_KEY dengan key yang dibuat di halaman API dashboard Anda.
curl -X POST https://notpanel.com/api/v3 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=YOUR_API_KEY&action=services&language=hi"const res = await fetch("https://notpanel.com/api/v3", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "services",
language: "hi",
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://notpanel.com/api/v3",
data={
"key": "YOUR_API_KEY",
"action": "services",
"language": "hi",
},
)
print(res.json())<?php
$body = http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'services',
'language' => 'hi',
]);
$response = file_get_contents('https://notpanel.com/api/v3', false, stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded\r\n",
'content' => $body,
'ignore_errors' => true,
],
]));
print_r(json_decode($response, true));
Contoh response
[
{
"service": "1",
"name": "Instagram रियल फॉलोअर्स",
"canonical_name": "Instagram Followers — Real",
"name_language": "hi",
"type": "Default",
"type_key": "default",
"rate": "0.50",
"min": "100",
"max": "100000",
"category": "Instagram Followers",
"refill": true,
"cancel": true,
"dripfeed": true
},
{
"service": "2",
"name": "TikTok Views — High Retention",
"canonical_name": "TikTok Views — High Retention",
"name_language": "en",
"type": "Default",
"type_key": "default",
"rate": "0.05",
"min": "1000",
"max": "10000000",
"category": "TikTok Views",
"refill": false,
"cancel": true,
"dripfeed": false
}
]Error umum
| Status | Body | Penyebab |
|---|---|---|
| 400 | {"error":"Invalid API key"} | Key tidak ada atau tidak dikenali. |
| 403 | {"error":"Account suspended"} | Akun tidak berstatus aktif. |
| 400 | {"error":"language must be one of en, es, pt, ru, tr, ar, hi, id, fr, zh","error_code":"INVALID_LANGUAGE"} | Nilai bahasa tidak didukung. Gunakan salah satu dari sepuluh kode bahasa nama layanan yang terdokumentasi. |