跳转到主要内容

前提条件

您需要所使用平台的API密钥。联系 contact@55-tech.com 获取您的密钥。
平台认证头基础URL
ABP(自动投注)X-API-Keyhttps://v2.55-tech.com
MM(做市)X-API-Keyhttps://mmapi.55-tech.com
Scraping APIX-API-Keyhttps://scraping-api.55-tech.com

ABP — 自动投注

1. 列出您的账户

curl -H "X-API-Key: YOUR_API_KEY" \
  https://v2.55-tech.com/accounts

2. 获取投注单(实时赔率)

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://v2.55-tech.com/betslip?fixtureId=ID&outcomeId=161&playerId=0"

3. 下单

curl -X POST -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"orders": [{"fixtureId": "...", "outcomeId": 161, "playerId": 0, "stake": 10, "minPrice": 1.5}]}' \
  https://v2.55-tech.com/place-orders

4. 跟踪结果

curl -H "X-API-Key: YOUR_API_KEY" \
  https://v2.55-tech.com/orders

MM — 做市

1. 验证身份

curl -H "X-API-Key: YOUR_API_KEY" \
  https://mmapi.55-tech.com/api/v1/me

2. 列出您的订单

curl -H "X-API-Key: YOUR_API_KEY" \
  https://mmapi.55-tech.com/api/v1/orders

3. 查看持仓

curl -H "X-API-Key: YOUR_API_KEY" \
  https://mmapi.55-tech.com/api/v1/positions

4. 查看盈亏

curl -H "X-API-Key: YOUR_API_KEY" \
  https://mmapi.55-tech.com/api/v1/pnl

Scraping API

1. 检查网络状态

curl https://scraping-api.55-tech.com/network/status

2. 抓取页面

curl -H "X-API-Key: YOUR_API_KEY" \
  -H "X-Target-URL: https://example.com" \
  https://scraping-api.55-tech.com/fetch

3. 指定地理位置抓取

curl -H "X-API-Key: YOUR_API_KEY" \
  -H "X-Target-URL: https://example.com" \
  -H "X-Geo: DE" \
  https://scraping-api.55-tech.com/fetch

4. 查看用量

curl -H "X-API-Key: YOUR_API_KEY" \
  https://scraping-api.55-tech.com/usage

实时更新

所有API都支持WebSocket连接以获取实时更新。请参阅各API的WebSocket文档:

ABP WebSocket

实时订单、投注和结算更新。

MM WebSocket

实时订单成交、投注和比分更新。

Scraping WebSocket

通过WebSocket中继获取实时抓取结果。