盛彩预测

开放平台文档

查看 API Key

1. 获取 Key

先申请并获批 prediction_api 能力,再进入“我的算法”创建默认 Key。明文只在创建或轮换响应显示一次,丢失后只能轮换。

2. 调用接口

外部系统必须携带 `X-API-Key` 或 `Authorization: Bearer`,接口只读预计算预测,不触发实时 AI。

3. 控制频率

无效或撤销 Key 返回 401;缺少能力或接口权限返回 403;频率或日额度用尽返回 429,并按 Retry-After 重试。

接口列表

最新预测
GET /api/open/v1/prediction/latest?game=canada28
指定期号预测
GET /api/open/v1/prediction/forecast?game=canada28&issue=3454256
历史验证
GET /api/open/v1/prediction/history?game=canada28&limit=50
算法大厅
GET /api/open/v1/prediction/algorithms/hall?game=canada28&sort=hit
算法最新结果
GET /api/open/v1/prediction/algorithms/{id}/latest

请求示例

curl "https://prediction.daha6.cloud/api/open/v1/prediction/latest?game=canada28" \
  -H "X-API-Key: sc_live_xxxxxxxxxxxxxxxx"

算法大厅里的官方算法会排在最前面,会员公开算法按筛选和排序展示。站内页面展示接口有反爬保护,外部集成请使用上面的开放平台接口。接口只返回预计算结果,不会在请求路径触发 AI。