📢📢📢网站升级通知:批量下单、中英文支持

中文站点:qushuafen.com 立即前往

English site:igbear.com Go now

API Document

以下为api代码,欢迎使用我们的api链接您的网站

Base Api Urlhttps://api.huebird.com/api/v1
HTTP MethodPOST
HeadersX-API-KEY
Response formatJSON

Product List

API    /product

Example response

{
     "status": "success",
     "data": [
          {
               "afterSalesDays": 0,        //售后天数
               "category": "Instagram",    //分类
               "maxBuyNum": 1000000,       //最大购买量
               "minBuyNum": 10,            //最小购买量
               "name": "Instagram Fans ",  //商品名称
               "num": 1000,        //数量
               "price": 66,         //价格(unit price=price / num,单价=价格/数量)
               "productId": 196,      //商品id
               "typeCode": "F1F1"      //类型编码
          },
          {
               "afterSalesDays": 30,
               "category": "TikTok",
               "maxBuyNum": 500000,
               "minBuyNum": 100,
               "name": "TikTok Comments",
               "num": 100,
               "price": 9,
               "productId": 252,
               "typeCode": "F1F4"
          }
     ]
}

Add Order

API    /addOrder

typeCode
Parameters
F1F1
Default
{
     "productId": null, //商品id
     "link": null,      //下单链接
     "quantity": null   //购买数量
}
F1F2
Invites from Groups
群采集
{
     "productId": null,
     "link": null,
     "quantity": null,
     "groups": null     //Groups list separated by \r\n or \n采集群链接
}
F1F3
Package
套餐
{
     "productId": null,
     "link": null
}
F1F4
Custom Comments
自定义评论
{
     "productId": null,
     "link": null,
     "quantity": null,
     "comments": null   //Comments list separated by \r\n or \n自定义评论
}
F1F5
Poll
投票
{
     "productId": null,
     "link": null,
     "quantity": null,
     "answerNumber": null  //Answer number of the poll投票选项
}
F1F6
Comment Likes
评论点赞
{
     "productId": null,
     "link": null,
     "quantity": null,
     "userName": null  //Username of the comment owner评论所有者的用户名
}

Example response

{
     "status": "success",
     "data": "1651817858671448064" //orderId订单号
}

Order Status

API    /orderStatus

Parameters

{
     "orderIds": "1650706924804640768,1650684049326477312,1111"
}

Example response

{
     "status": "success",
     "data": {
          "1650706924804640768": {
               "orderQuantity": 1000,     //订单数量
               "initialQuantity": 243,    //开始数量
               "currentQuantity": 1243,   //当前数量
               "completedQuantity": 1000, //完成数量
               "status": "Completed",     //订单状态
               "totalAmount": 5       //订单金额
          },
          "1650684049326477312": {
               "orderQuantity": 10000,
               "completedQuantity": 0,
               "status": "Canceled",
               "totalAmount": 50,
               "refundAmount": 50         //退款金额
          },
          "1111": {}
     }
}

Balance

API    /balance

Example response

{
     "status": "success",
     "data": 11.45408  //balance余额
}