API
API 文档
一个 POST 请求完成全部操作:下单、查询状态、服务列表、余额。兼容 Perfect Panel 与 SmartPanel。
地址
https://stream-promotion.ru/api/v2方法
POST格式
JSON币种
USD默认值,可在设置中更改 这是商城 API。 观众配置器有 独立的 API:地址和授权方式都不同,但密钥是同一个。
最常见的三个错误
- 用 GET 发送了请求。只接受 POST。
- 参数放在了地址栏里。应放在请求体中,而不是 query。
- 未设置 User-Agent。用 Postman 或 curl 测试时请显式指定。
通过 API 发送的内容由您自行负责。接入前请先阅读方法说明。
如何获取密钥
- 登录个人中心。
- 打开「API 设置」板块.
- 复制密钥和地址,添加到自己的面板。
服务列表将使用 API 设置中所选的语言. 价格币种也在同一处选择,默认 USD。
快速开始
用余额请求检查连通性——它最简单,且不会创建任何订单。
curl -X POST https://stream-promotion.ru/api/v2 \ -H "User-Agent: MyPanel/1.0" \ -d "key=您的密钥" \ -d "action=balance"
<?php
$ch = curl_init('https://stream-promotion.ru/api/v2');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, 'MyPanel/1.0');
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'key' => '您的密钥',
'action' => 'balance',
]));
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($res); import requests
res = requests.post(
"https://stream-promotion.ru/api/v2",
data={"key": "您的密钥", "action": "balance"},
headers={"User-Agent": "MyPanel/1.0"},
timeout=30,
)
print(res.json()) const res = await fetch("https://stream-promotion.ru/api/v2", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
"User-Agent": "MyPanel/1.0",
},
body: new URLSearchParams({
key: "您的密钥",
action: "balance",
}),
});
console.log(await res.json()); 响应
{
"status": "success",
"balance": "0.03",
"currency": "USD"
} 方法
方法由 action 参数选择。key 始终必填。
创建订单
主要方法。runs 与 interval 用于分批发放:例如 7 次、间隔 1440 分钟,可把订单摊到一周。
参数集合取决于服务类型——在列表中选择后表格会更新。
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | add |
service必填 | 列表中的服务 ID |
link必填 | 频道、直播或页面链接 |
quantity必填 | 数量 |
runs可选 | 执行次数 |
interval可选 | 每次执行之间的间隔(分钟)。整数:10、20、30、60 |
响应
{
"status": "success",
"order": 32
}带评论的订单
独立的订单类型:不传数量,改传评论列表。适合提及和定制评论。
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | add |
service必填 | 套餐 ID |
link必填 | 频道、直播或页面链接 |
comments必填 | 评论,每行一条 |
响应
{
"status": "success",
"order": 32
}订单状态
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | status |
order必填 | 订单 ID |
响应
{
"order": "32",
"status": "pending",
"charge": "0.27819",
"start_count": "0",
"remains": "0",
"currency": "USD"
}多个订单状态
一次请求最多一百个订单,无需分别调用一百次。
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | status |
orders必填 | ID 用逗号分隔:12,13,14 |
响应
{
"12": {
"order": "12",
"status": "completed",
"charge": "0.27819",
"currency": "USD"
},
"13": {
"error": "Incorrect order ID"
}
}服务列表
返回全部可用服务及价格。名称语言取自 API 设置,价格始终以美元计。
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | services |
响应
[
{
"service": "5",
"name": "Instagram Followers",
"rate": "0.9",
"min": "50",
"max": "10000",
"type": "Default",
"category": "Instagram"
}
]余额
最简单的方法,便于确认密钥是否可用。
| 参数 | 说明 |
|---|---|
key必填 | API 设置中的密钥 |
action必填 | balance |
响应
{
"status": "success",
"balance": "0.03",
"currency": "USD"
}错误
失败时响应中会带有 error 字段及说明。此时 HTTP 状态码仍为 200——请检查响应体,而不是连接状态。
{
"error": "Incorrect request"
} 需要现成的分销网站吗?
我们基于自有服务提供整套面板。余额与价格以美元结算,兼容 Perfect Panel 与 SmartPanel。
在 Telegram 联系 type: default
Deposit funds, one-click order, discounts and bonuses are available only for registered users. Register.
我们的直播主服务

Dlive

Shopee

Bigo
我们的内容创作者服务








