Get a team's player leaderboard (v1)
Returns the team's top players for one leaderboard in one format, optionally for one year and opponent, plus the years and opponents on offer.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
team_id*integer
Team id, from List Teams or a match's teamId.
Range
1 <= value <= 99999999stat?string
Leaderboard: batting mostRuns, highestScore, highestAvg, highestSr, mostHundreds, mostFifties, mostFours, mostSixes, mostNineties; bowling mostWickets, lowestAvg, bestBowlingInnings, mostFiveWickets, lowestEcon, lowestSr.
Default
"mostRuns"Value in
- "mostRuns"
- "highestScore"
- "highestAvg"
- "highestSr"
- "mostHundreds"
- "mostFifties"
- "mostFours"
- "mostSixes"
- "mostNineties"
- "mostWickets"
- "lowestAvg"
- "bestBowlingInnings"
- "mostFiveWickets"
- "lowestEcon"
- "lowestSr"
format?string
test, odi or t20.
Default
"test"Value in
- "test"
- "odi"
- "t20"
year?string
Year, or all.
Match
^(all|\d{4})$Default
"all"opponent?string
Opponent team id, or all.
Match
^(all|\d{1,6})$Default
"all"curl -X GET "https://example.com/v1/cricbuzz/team/stats?team_id=2" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}