Search — Players
curl --request GET \
--url https://apiv2.sportsxapi.com/cricket/api/v2/search/player \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://apiv2.sportsxapi.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.sportsxapi.com/cricket/api/v2/search/player"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
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 — Players
Player search by query string.
GET
/
cricket
/
api
/
v2
/
search
/
player
Search — Players
curl --request GET \
--url https://apiv2.sportsxapi.com/cricket/api/v2/search/player \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://apiv2.sportsxapi.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.sportsxapi.com/cricket/api/v2/search/player"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
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"
}Authorizations
Your secret SportSXAPI key from https://dashboard.sportsxapi.com.
Response
Successful Response (JSON)

