Fixtures
Drives (American football)
GET/v2/fixtures/{id}/drivesPro and up
American football: the drives (possessions) of a game in order — who had the ball, how the drive began and ended (kickoff, punt, touchdown, field goal, downs, interception, …), the game clock at both ends, plays, first downs, net yards and how close it came to the end zone.
The same source answer as /play-by-play: each play there names its drive by number. Yard figures are yards to the end zone the drive attacked (own 35 → 65). endReason is null while the drive is going on. An empty array in other sports and when the source has none. On fixture:{id} the playByPlay frame carries the whole drive list.
Parameters
id
our numeric id (positive integer)
Response
- data
PlayByPlayDrive[]- meta
- count
- errors
- 403 history_not_in_plan — the fixture kicked off before your plan’s history
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/fixtures/{id}/drives"
Example
{ "data": [ { "number": 1, "side": "home", "teamDriveNumber": 1, "period": "period1", "startSecondsLeft": 900, "endPeriod": "period1", "endSecondsLeft": 854, "durationSeconds": 46, "startReason": "kickoff", "endReason": "touchdown", "plays": 2, "firstDowns": 1, "netYards": 65, "penaltyYards": 0, "startYardsToGoal": 65, "lastPlayYardsToGoal": 61, "closestYardsToGoal": 61, "scoring": true, "extraPointsAttempted": 1 } ], "meta": { "count": 27 } }