列出服务
返回包含有效服务和面向账户费率的缓存兼容数组。响应最多可缓存 5 分钟。它不提供当前可用性;可用性和更丰富的发现元数据请使用 action=catalog。订单扣费以已提交的 action=add 响应为准。
POST
https://notpanel.com/api/v3action=services需要 API key受速率限制(共享账户 + IP + action)请求体:
application/x-www-form-urlencoded参数
| 名称 | 类型 | 描述 |
|---|---|---|
| key必需 | string | 你的 API key。每个请求都必填。 |
| action必需 | string | 必须是字面字符串 “services”。 |
| language | language code | 可选服务名称语言:en、es、pt、ru、tr、ar、hi、id、fr 或 zh。pt 表示巴西葡萄牙语,zh 表示简体中文。省略该参数可完整保留旧版英文响应结构。 管理员可以审核或细化每个名称。 |
请求示例
将 YOUR_API_KEY 替换为在你仪表盘 API 页面下生成的 key。
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"} | key 缺失或无法识别。 |
| 403 | {"error":"Account suspended"} | 账户未处于有效状态。 |
| 400 | {"error":"language must be one of en, es, pt, ru, tr, ar, hi, id, fr, zh","error_code":"INVALID_LANGUAGE"} | 语言值不受支持。请使用文档列出的十个服务名称语言代码之一。 |