Get Trending Players
GET
/api/live-score/players/trendingRetrieve a list of trending players optionally filtered by a search term and country name.
Query Params
searchstringOptional search keyword to filter players by name.
slugstringCountry to filter players
perPageintegerNumber of results per page (default is 10).
pageintegerPage number (default is 1).
Try Get Trending Players with live data
Run this request in the Sportbex trial panel and see the real response.
curl -X GET 'http://xx.xx.xx.xx/api/live-score/players/trending?perPage=10&page=1'Example response
The real API responds in this shape — but the values below are a fixed example and may be stale. This is here to show what the output looks like, not to reflect current data.
{
"page": 1,
"perPage": 10,
"data": [
{
"playerKey": "player-one",
"name": "Player One",
"country": "India",
"role": "Batsman"
},
{
"playerKey": "player-two",
"name": "Player Two",
"country": "Australia",
"role": "Bowler"
}
]
}