Fixtures

Statistics

GET/v2/fixtures/{id}/statisticsAll plans

Match statistics grouped by period and category.

Same graded coverage as lineups, and it deepens as a match progresses: a lower-tier fixture may carry only cards, a top league the full set of groups. Keys are one vocabulary across sports (totalShots, shotsOnGoal, passes, fouls, …; every key per sport is in the reference’s Statistic keys), group keys a fixed table per sport. American football: the team’s passingNetYards and passingYardsPerAttempt are the source’s gross figures (sacks not taken off) — the players’ own passingNetYards in the lineups are net. A fixture with no statistics (yet — e.g. not started) returns 200 with { "periods": [] }; 404 only for an id that does not exist. Refreshed about every 30 seconds while the match is live.

Parameters

id
pathrequired
our numeric id (positive integer)

Response

data
Statistics

Every /v2 call can also answer the common errors.

Try it →
$ curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/fixtures/{id}/statistics"
Example
{ "data": { "periods": [ { "period": "all", "groups": [
    { "key": "matchOverview", "name": "Match overview", "items": [
      { "key": "ballPossession", "name": "Ball possession", "kind": "value", "higherIs": "better",
        "home": { "display": "26%", "value": 26, "total": null }, "away": { "display": "74%", "value": 74, "total": null } },
      { "key": "fouls", "name": "Fouls", "kind": "value", "higherIs": "worse",
        "home": { "display": "13", "value": 13, "total": null }, "away": { "display": "11", "value": 11, "total": null } },
      { "key": "accurateLongBalls", "name": "Long balls", "kind": "ratio", "higherIs": "better",
        "home": { "display": "30/64 (47%)", "value": 30, "total": 64 }, "away": { … } }, … ] } ] },
    { "period": "period1", "groups": [ … ] } ] } }