Betting Research
Multi-source data aggregator for sports betting analysis. Pulls from free and paid APIs to give you an edge.
Data Sources
| Source | Data | Cost | Rate Limit |
|---|
| TheSportsDB | Fixtures, results, H2H, team info | Free | No limit |
| API-Football |
Lineups, injuries, player stats, xG |
100 calls/day free | 100/day |
| Open-Meteo | Weather (precipitation, wind) |
Free | No limit |
| The Odds API | Current odds, bookmaker prices |
500 calls/month free | 500/mo |
Quick Start
CODEBLOCK0
What You Get
Basic Analysis (Free APIs)
- - ✅ Team form (last 5 matches)
- ✅ Win/draw/loss record
- ✅ Goals scored/conceded
- ✅ Upcoming fixtures
- ✅ Head-to-head history
- ✅ Weather conditions
Pro Analysis (with API-Football key)
- - ⭐ Confirmed lineups (1 hour before kickoff)
- ⭐ Injury/suspension reports
- ⭐ Expected goals (xG) data
- ⭐ Player form and ratings
- ⭐ Manager tactics info
Setup
The Odds API (already have)
Key stored at: INLINECODE0
API-Football (optional, for pro features)
- 1. Sign up: https://www.api-football.com/pricing
- Get free tier: 100 calls/day
- Save key:
CODEBLOCK1
Usage Examples
Pre-match research:
CODEBLOCK2
Full analysis (uses more API calls):
CODEBLOCK3
Check multiple games efficiently:
CODEBLOCK4
Interpreting Results
Value Indicators
- - Form streaks — teams on hot/cold runs
- H2H dominance — historical advantage
- Weather impact — rain = lower scoring
- Odds mispricing — bookie odds vs. true probability
What NOT to Expect
- - ❌ Guaranteed winners
- ❌ "Bet on this" tips
- ❌ Inside information
What TO Expect
- - ✅ Data patterns
- ✅ Value opportunities
- ✅ Informed decisions
Pro Tips
- 1. Check lineups 1 hour before kickoff — key players resting = different bet
- Weather matters — rain, wind affect totals (under value)
- H2H at this venue — home advantage varies by team
- Motivation check — cup games, relegation battles
API Call Budgeting
| Task | Calls |
|---|
| Basic match research | 3-4 |
| Full analysis + lineups |
8-10 |
| Team form check | 2-3 |
| Odds comparison | 1 |
100 calls/day = 10-15 full match analyses
See references/data-sources.md for API details.
投注研究
用于体育博彩分析的多源数据聚合器。从免费和付费API中提取数据,为您提供优势。
数据源
| 数据源 | 数据内容 | 费用 | 速率限制 |
|---|
| TheSportsDB | 赛程、结果、历史交锋、球队信息 | 免费 | 无限制 |
| API-Football |
阵容、伤病、球员数据、预期进球 |
每天100次免费调用 | 100次/天 |
| Open-Meteo | 天气(降水、风力) |
免费 | 无限制 |
| The Odds API | 实时赔率、博彩公司报价 |
每月500次免费调用 | 500次/月 |
快速开始
bash
研究特定比赛
python3 ~/.openclaw/workspace/skills/betting-research/scripts/betting_research.py 利物浦 vs 埃弗顿
研究某支球队
python3 ~/.openclaw/workspace/skills/betting-research/scripts/betting_research.py --team 博尔顿流浪者
您将获得
基础分析(免费API)
- - ✅ 球队状态(最近5场比赛)
- ✅ 胜/平/负记录
- ✅ 进球/失球数据
- ✅ 即将进行的赛程
- ✅ 历史交锋记录
- ✅ 天气状况
专业分析(需API-Football密钥)
- - ⭐ 确认阵容(开球前1小时)
- ⭐ 伤病/停赛报告
- ⭐ 预期进球(xG)数据
- ⭐ 球员状态和评分
- ⭐ 主教练战术信息
设置
The Odds API(已配置)
密钥存储位置:~/.config/the-odds-api/key
API-Football(可选,用于专业功能)
- 1. 注册:https://www.api-football.com/pricing
- 获取免费套餐:每天100次调用
- 保存密钥:
bash
mkdir -p ~/.config/api-football
echo {api_key: 您的密钥} > ~/.config/api-football/config.json
使用示例
赛前研究:
bash
python3 ~/.openclaw/workspace/skills/betting-research/scripts/betting_research.py 博尔顿 vs 普利茅斯
全面分析(消耗更多API调用):
bash
python3 ~/.openclaw/workspace/skills/betting-research/scripts/betting_research.py 利物浦 vs 曼城 --full
高效检查多场比赛:
bash
每场比赛仅需3-4次API调用
100次调用 = 每天约25场比赛
结果解读
价值指标
- - 状态走势 — 球队处于火热/低迷期
- 历史交锋优势 — 历史优势方
- 天气影响 — 降雨 = 低得分
- 赔率偏差 — 博彩公司赔率 vs 真实概率
不要期待的内容
可以期待的内容
专业建议
- 1. 开球前1小时检查阵容 — 关键球员轮休 = 不同投注策略
- 天气很重要 — 降雨、风力影响总得分(低分价值)
- 该场地的历史交锋 — 主场优势因队而异
- 动机检查 — 杯赛、保级战
API调用预算
8-10 |
| 球队状态检查 | 2-3 |
| 赔率对比 | 1 |
每天100次调用 = 10-15场完整比赛分析
API详情请参见 references/data-sources.md。