Search — Players
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/search/playerconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/search/player', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv2.sportxapi.com/cricket/api/v2/search/player"
response = requests.get(url)
print(response.text)[
{
"playerID": "119",
"playerName": "Virat Kohli",
"playerImage": "https://cdn.sportxapi.com/assets/uploads/2026/03/virat-kohli.png?_sxcdn=20260831"
},
{
"playerID": "48481",
"playerName": "Virat Singh",
"playerImage": "https://cdn.sportxapi.com/assets/uploads/2023/11/Virat-Singh.png?_sxcdn=20260831"
}
]{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Search
Search — Players
Player search by query string.
GET
/
cricket
/
api
/
v2
/
search
/
player
Search — Players
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/search/playerconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/search/player', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv2.sportxapi.com/cricket/api/v2/search/player"
response = requests.get(url)
print(response.text)[
{
"playerID": "119",
"playerName": "Virat Kohli",
"playerImage": "https://cdn.sportxapi.com/assets/uploads/2026/03/virat-kohli.png?_sxcdn=20260831"
},
{
"playerID": "48481",
"playerName": "Virat Singh",
"playerImage": "https://cdn.sportxapi.com/assets/uploads/2023/11/Virat-Singh.png?_sxcdn=20260831"
}
]{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Query Parameters
Free-text query.
Example:
"virat"
Response
Successful Response (JSON)
