API 文档
使用我们的 API 自动处理订单、查询状态并管理余额。通过集成,您可以从您的应用程序或面板以编程方式创建订单。
HTTP 方法
POST
API URL
https://fexsmm.com/api/v2
响应格式
JSON
您可以在 个人中心设置中获取 API 密钥。请在每个请求的 key 参数中传入它。
POST
服务列表
获取所有可用服务及其参数和价格的列表。
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | services |
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]
POST
创建订单
创建新订单。所需参数取决于服务类型(services 方法响应中的 type 字段)。
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 页面链接 |
| quantity | 数量 |
| runs | 运行次数(Drip-feed) |
| interval | 间隔(分钟,Drip-feed) |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 1,
"link": "https://instagram.com/username",
"quantity": 1000
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 页面链接 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 15,
"link": "https://instagram.com/username"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 帖子链接 |
| comments | 评论(每行一条) |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 12,
"link": "https://instagram.com/p/ABC123",
"comments": "很棒的帖子!\n很棒的照片!\n超赞!"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 投票链接 |
| quantity | 投票数量 |
| answer_number | 投票中的答案编号 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 20,
"link": "https://t.me/channel/123",
"quantity": 500,
"answer_number": 1
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 帖子链接 |
| quantity | 提及数量 |
| usernames | 用户名列表(用逗号分隔或每行一个) |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 30,
"link": "https://instagram.com/p/ABC123",
"quantity": 100,
"usernames": "user1\nuser2\nuser3"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 帖子链接 |
| quantity | 数量 |
| hashtag | 用于提及的话题标签 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 35,
"link": "https://instagram.com/p/ABC123",
"quantity": 200,
"hashtag": "#trending"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 帖子链接 |
| usernames | 要提及的用户名列表 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 40,
"link": "https://instagram.com/p/ABC123",
"usernames": "user1\nuser2\nuser3"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 帖子/评论链接 |
| quantity | 数量 |
| username | 目标用户的用户名 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 50,
"link": "https://instagram.com/p/ABC123",
"quantity": 100,
"username": "target_user"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| link | 频道/群组链接 |
| quantity | 数量 |
| groups | 来源群组链接(用逗号分隔) |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 60,
"link": "https://t.me/my_channel",
"quantity": 500,
"groups": "https://t.me/group1,https://t.me/group2"
}
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | add |
| service | 服务 ID |
| username | 账户用户名 |
| min | 每个帖子的最小数量 |
| max | 每个帖子的最大数量 |
| posts | 新帖子数量 |
| old_posts | 旧帖子数量 |
| delay | 延迟(分钟) |
| expiry | 订阅有效期 |
{
"key": "YOUR_API_KEY",
"action": "add",
"service": 70,
"username": "target_account",
"min": 50,
"max": 150,
"posts": 10,
"old_posts": 5,
"delay": 30,
"expiry": "2025-12-31"
}
订单创建成功时的响应:
{
"order": 23501
}
POST
订单状态
查询一个或多个订单的状态。查询多个订单时,请在 orders 参数中用逗号分隔传入 ID。
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | status |
| order | 订单 ID(单个) |
| orders | 订单 ID,用逗号分隔(最多 100 个) |
// 单个订单
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
// 多个订单
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
POST
余额
获取当前账户余额。
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | balance |
{
"balance": "100.84292",
"currency": "USD"
}
POST
取消订单
取消一个或多个订单。创建后 10 分钟内以及已完成的订单无法取消。
| 参数 | 说明 |
|---|---|
| key | 您的API密钥 |
| action | cancel |
| order | 订单 ID(单个) |
| orders | 订单 ID,用逗号分隔(最多 100 个) |
// 单个订单
{
"ok": true
}
// 多个订单
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]