Get Trending Players

GET/api/live-score/players/trending

Retrieve a list of trending players optionally filtered by a search term and country name.

Query Params

searchstring

Optional search keyword to filter players by name.

slugstring

Country to filter players

perPageinteger

Number of results per page (default is 10).

pageinteger

Page number (default is 1).

Try Get Trending Players with live data

Run this request in the Sportbex trial panel and see the real response.

Try it(opens in a new tab)
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"
    }
  ]
}