列出服务
返回目录中每个有效服务,费率会针对调用方账户定制。响应按用户缓存 5 分钟,因此高频轮询是安全的。
POST
https://notpanel.com/api/v2action=services需要 API key受速率限制(按 key + 按层级 + 按 IP)请求体:
application/x-www-form-urlencoded参数
| 名称 | 类型 | 描述 |
|---|---|---|
| key必需 | string | 你的 API key。每个请求都必填。 |
| action必需 | string | 必须是字面字符串 “services”。 |
请求示例
将 YOUR_API_KEY 替换为在你仪表盘 API 页面下生成的 key。
curl -X POST https://notpanel.com/api/v2 \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "key=YOUR_API_KEY&action=services"const res = await fetch("https://notpanel.com/api/v2", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
key: "YOUR_API_KEY",
action: "services",
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://notpanel.com/api/v2",
data={
"key": "YOUR_API_KEY",
"action": "services",
},
)
print(res.json())<?php
$body = http_build_query([
'key' => 'YOUR_API_KEY',
'action' => 'services',
]);
$response = file_get_contents('https://notpanel.com/api/v2', 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 Followers — Real",
"type": "Default",
"rate": "0.50",
"min": "100",
"max": "100000",
"category": "Instagram Followers",
"refill": true,
"cancel": true,
"dripfeed": true
},
{
"service": "2",
"name": "TikTok Views — High Retention",
"type": "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"} | 账户未处于有效状态。 |