Leagues
Recent top performances
GET/v2/leagues/{id}/top-performances/recentAll plans
The best player lines of the league’s last day of matches, ordered by one statistic, each with its match and the full box-score line.
The season’s best single-match figures are /v2/leagues/{id}/top-performances; this one is the last day’s. An empty list when the league played no match lately.
Parameters
id
our numeric id (positive integer)
order
points (default), rebounds, assists, steals, blocks or rating
Response
- data
RecentPerformance[]- meta
- league, order, count
- errors
- 400 bad_request — an order not in the list404 not_found — a league id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/leagues/{id}/top-performances/recent"
Example
{ "data": [ { "player": { "id": 817232, "name": "Damian Lillard", … }, "team": { "name": "Portland Trail Blazers", … }, "fixture": { "id": 16824911, … }, "statistics": { "points": 33, "rebounds": 6, "assists": 0, "threePointsMade": 5, … } }, … ], "meta": { "league": 132, "order": "points", "count": 10 } }