Team stats and form
Team stats
Use this page to read a team's recent form and averages: goals, corners, cards, shots and more.
These endpoints need the stats:read ability, which comes with the stats pack on any paid plan and with Business.
1. Read a team's stats
/teams/{id}/stats summarises a team's last games. window is the number of games (default 10, maximum 50) and venue is all, home or away. By default friendlies and short formats are left out.
curl "https://odds-feed.on-forge.com/api/v2/teams/0199c5a0-0000-7000-8000-000000000001/stats?window=10" \
-H "Authorization: Bearer YOUR_KEY"{
"data": {
"team": { "id": "0199c5a0-0000-7000-8000-000000000001", "name": "Brentford" },
"window": { "size": 10, "venue": "all", "competition": null, "competitive_only": true, "games": 6 },
"form": { "string": "WDLWWD", "wins": 3, "draws": 2, "losses": 1, "win_rate": 0.5, "points_per_game": 1.83 },
"goals": {
"sample": 6,
"avg_for": 1.33,
"avg_against": 0.83,
"avg_total": 2.17,
"over": { "0.5": 1, "1.5": 0.833, "2.5": 0.167, "3.5": 0.167, "4.5": 0 },
"btts_rate": 0.5,
"…": "…"
},
"corners": { "sample": 6, "avg_for": 5, "avg_against": 4.17, "avg_total": 9.17, "…": "…" },
"cards": null,
"shots": null,
"other": null
},
"meta": {
"generated_at": "2026-11-27T10:41:00.000Z",
"team": "0199c5a0-0000-7000-8000-000000000001",
"sources": [{ "name": "bet365", "captured_at": "2026-11-27T10:40:20.000Z" }],
"availability": { "status": "available" }
},
"links": { "self": "/api/v2/teams/0199c5a0-0000-7000-8000-000000000001/stats" }
}A block is null when we have no readings for it. over maps a line to the share of games that finished over it. availability is partial with the reason thin_sample when the team has fewer than 3 games in the window, and unavailable with no_history when it has none.
2. Narrow the window
venue, competition (a competition id) and all_games=1 change which games count. include=games adds the list of games behind the numbers, and include=timing adds goal and corner timing where we hold it.
curl "https://odds-feed.on-forge.com/api/v2/teams/0199c5a0-0000-7000-8000-000000000001/stats?window=5&venue=home&include=games" \
-H "Authorization: Bearer YOUR_KEY"{
"data": {
"window": { "size": 5, "venue": "home", "competition": null, "competitive_only": true, "games": 3 },
"games": [
{
"match": "0199c5a0-7b1e-7c3a-9f4e-000000000001",
"kickoff_at": "2026-11-26T10:45:40.000Z",
"opponent": { "id": "0199c5a0-0000-7000-8000-000000000002", "name": "Everton" },
"venue": "home",
"score": { "home": 2, "away": 0 },
"result": "W",
"competitive": true
},
"…"
],
"…": "…"
},
"…": "…"
}Reference
Parameters on GET /teams/{id}/stats.
| Parameter | Values | Notes |
|---|---|---|
window |
1 to 50 | Default 10. |
venue |
all, home, away |
Default all. |
competition |
Competition id | Only that competition's games. |
all_games |
1, 0, true, false |
1 counts friendlies and short formats. |
include |
games, timing |
Comma separated. |