Get a driver's races in a season (v1)
Returns every race of a season for a driver or constructor with position, points, gap, grid and time. Use a season stage id. Nothing found returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
team_id_or_url*string
Driver or constructor id. Or the team's Sofascore link, such as https://www.sofascore.com/football/team/arsenal/42, or its name (the best Sofascore search match is used).
Length
1 <= length <= 500season_id_or_url*string
Season stage id, from Get Motorsport Driver Seasons. Or the tournament page's link, such as https://www.sofascore.com/football/tournament/england/premier-league/17#id:61627.
Length
1 <= length <= 500curl -X GET "https://example.com/v1/sofascore/team/motorsport/season-races?team_id_or_url=853016&season_id_or_url=214140" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}