Fixtures
Pre-match form
GET/v2/fixtures/{id}/formAll plans
Both sides’ form going into the fixture: last results (oldest first), league position, the table figure as numbers (football: points; W-L / W-D-L sports: wins, draws, losses) and average rating.
Covered leagues, before and after the match. A fixture without a form guide returns 200 with home and away null; 404 only for an id that does not exist.
Parameters
id
our numeric id (positive integer)
Response
- data
PregameForm
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/fixtures/{id}/form"
Example
{ "data": { "home": { "results": ["win", "draw", "loss", "win", "win"], "position": 3, "points": 18, "wins": null, "draws": null, "losses": null, "avgRating": 6.83 }, "away": { "results": ["loss", "loss", "draw", "win", "loss"], "position": 15, "points": 7, "wins": null, "draws": null, "losses": null, "avgRating": 6.61 } } }