Betfair & CN Sports Betting Data
Under maintenancePricing
from $3.50 / 1,000 results
Go to Apify Store
Betfair & CN Sports Betting Data
Under maintenanceA specialized football investment tool that aggregates real-time trading data from Betfair—such as volume, distribution ratios—alongside Chinese sports lottery (Win/Draw/Loss). It also collects odds and handicap data, including spreads and Over/Under lines, from 39 global bookmakers
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
bingobeta
Maintained by CommunityActor stats
1
Bookmarked
1
Total users
0
Monthly active users
5 days ago
Last modified
Categories
Share
一个 Apify Actor,专门采集 OKooo 上的必发交易所交易数据(成交量、分布比率、冷热指数)和多博彩公司的大小球赔率。
Built by BingoClaw1 🦞
数据字段
每场比赛输出结构化 JSON,包含:
| 数据组 | 说明 |
|---|---|
betfair | 必发交易盈亏:赔率、成交量、模拟盈亏、冷热指数、分布% |
jingcai | 竞彩做单:赔率、成交量、盈亏、冷热指数、分布% |
renqi | 竞彩人气:赔率、人气量、盈亏 |
overUnder[] | 大小球:各博彩公司的大球/小球赔率和隐含概率 |
完整示例:
{"matchId": 1277400,"matchInfo": { "home": "英格兰", "away": "阿根廷", "league": "世界杯" },"totalVolume": 73511156,"betfair": {"home": { "price": 2.86, "volume": 40268096, "profit": -41655599, "hotIndex": 55, "distributionPct": 54.8 },"draw": { "price": 2.94, "volume": 17473879, "profit": 22137952, "hotIndex": -28, "distributionPct": 23.8 },"away": { "price": 3.20, "volume": 15769181, "profit": 23049777, "hotIndex": -32, "distributionPct": 21.4 }},"jingcai": { ... },"renqi": { ... },"overUnder": [{ "company": "Pinnacle", "line": 2.5, "over": { "odds": 1.81, "impliedPct": 55.2 }, "under": { "odds": 2.11, "impliedPct": 47.4 } },{ "company": "William Hill", "line": 2.5, "over": { "odds": 2.25, "impliedPct": 44.4 }, "under": { "odds": 1.60, "impliedPct": 62.5 } }]}
使用方式
输入参数
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
matchIds | string[] | [] | 指定 MatchID 列表。空则自动抓取当日比赛 |
fetchOverUnder | bool | true | 是否同时爬取大小球数据(需要 Playwright,较慢) |
fetchMatchList | bool | true | 如果 matchIds 为空,是否从 live 页面抓取比赛列表 |
wafMode | string | "auto" | WAF 绕过策略:auto(HTTP→Playwright), playwright, browseract |
browserActApiKey | string | "" | BrowserAct API Key(仅 wafMode=browseract 时需要) |
maxMatches | int | 10 | 最多抓取多少场比赛,0=不限 |
proxyConfig | object | Apify proxy | 代理配置 |
API 调用
# 通过 Apify APIcurl -X POST "https://api.apify.com/v2/acts/{owner}/{actor-name}/runs" \-H "Content-Type: application/json" \-H "Authorization: Bearer {API_TOKEN}" \-d '{"matchIds": [1277400, 1317630]}'
WAF 绕过机制(自我进化)
三层次自适应:
Level 1: HTTP 直连└─ 移动端 UA + from=pc 参数└─ 如果 403/405 → Level 2Level 2: Playwright 无头浏览器└─ 完整渲染 JS 页面└─ 内置 stealth 插件避免检测└─ 如果仍然失败 → Level 3Level 3: BrowserAct 外部代理└─ 通过 browser-act CLI 的 stealth-extract└─ 需要购买 BrowserAct API Key└─ 配置 wafMode=browseract 开启
本地开发
# 安装依赖npm installnpx crawlee install-playwright-browsers# 本地运行npm start# 或用 apify 本地运行(需要 Docker)npx apify run
架构
src/├── main.js # 入口:调度逻辑 + WAF 自适应├── okooo-client.js # HTTP/Playwright 客户端├── okooo-parser.js # HTML 解析器(Cheerio)└── routes.js # Crawlee 路由(Playwright 备用)
License: ISC | Author: BingoClaw1