सर्विसेज़ की सूची
Active services और account-priced rates वाला cached compatibility array लौटाता है। Response अधिकतम 5 minutes cache हो सकती है। यह current availability नहीं दिखाता; availability और richer discovery metadata के लिए action=catalog इस्तेमाल करें। Order charge के लिए committed action=add response authoritative है।
https://notpanel.com/api/v3action=servicesapplication/x-www-form-urlencodedपैरामीटर
| नाम | टाइप | विवरण |
|---|---|---|
| keyआवश्यक | string | आपकी API की। हर रिक्वेस्ट पर आवश्यक। |
| actionआवश्यक | string | लिटरल स्ट्रिंग "services" होना चाहिए। |
| language | language code | Optional service-name language: en, es, pt, ru, tr, ar, hi, id, fr या zh। pt Brazilian Portuguese और zh Simplified Chinese है। Exact legacy English response shape रखने के लिए इसे न भेजें। Admins हर नाम की समीक्षा या refinement कर सकते हैं। |
उदाहरण रिक्वेस्ट
YOUR_API_KEY को अपने डैशबोर्ड के API पेज के तहत जनरेट की गई की से बदलें।
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));
उदाहरण रिस्पॉन्स
[
{
"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
}
]सामान्य एरर
| स्टेटस | बॉडी | कारण |
|---|---|---|
| 400 | {"error":"Invalid API key"} | अनुपस्थित या अपरिचित की। |
| 403 | {"error":"Account suspended"} | अकाउंट active स्थिति में नहीं है। |
| 400 | {"error":"language must be one of en, es, pt, ru, tr, ar, hi, id, fr, zh","error_code":"INVALID_LANGUAGE"} | Language value supported नहीं है। Service names के लिए documented दस language codes में से एक इस्तेमाल करें। |