BytesFlows Docs
API 参考

代理测试接口

通过选定的 BytesFlows 代理账号验证 Google、Cloudflare 和 IP 场景。

代理测试接口

该接口会使用你自己的 BytesFlows 代理账号执行 ip-detector 的 proxy test 流程。

接口信息

  • URL: /api/tools/proxy-test
  • 方法: POST
  • 认证方式: 已登录的 Dashboard 会话

请求参数

字段类型必填说明
accountstring要消耗流量的代理账号
countrystring可选国家代码
session_typestringrotatingsticky
durationnumberSticky 会话时长,单位分钟
session_idstringSticky 会话标识
scenariosstring[]场景列表,例如 ["google_search","cloudflare_access"]

返回说明

  • 该路由只会测试用户自己选定的 BytesFlows 代理账号。
  • 返回结构沿用 ip-detector 的 proxy test 结果格式。
  • 底层探测所产生的流量会从所选代理账号中消耗。

示例

{
  "account": "acct-main",
  "country": "US",
  "session_type": "sticky",
  "duration": 10,
  "scenarios": ["google_search", "cloudflare_access", "ipify"]
}

On this page