Team Analysis
curl --request GET \
--globoff \
--url 'https://apiv2.sportxapi.com/cricket/api/v2/match/{}/team-analysis' \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/match/{}/team-analysis', 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/match/{}/team-analysis"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"matchID": null,
"compTypeID": null,
"compType": null,
"teamA": {
"teamID": "1038",
"teamShortName": "ENG-U19",
"battingVSPace": null,
"battingVSSpin": null,
"paceBowling": null,
"spinBowling": null,
"battingDepth": null,
"overallRating": "58.82"
},
"teamB": {
"teamID": "1148",
"teamShortName": "PAK-U19",
"battingVSPace": null,
"battingVSSpin": null,
"paceBowling": null,
"spinBowling": null,
"battingDepth": null,
"overallRating": "47.62"
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Live Matches & Ball-by-Ball
Team Analysis
Computed matchup analysis context for the fixture.
GET
/
cricket
/
api
/
v2
/
match
/
{}
/
team-analysis
Team Analysis
curl --request GET \
--globoff \
--url 'https://apiv2.sportxapi.com/cricket/api/v2/match/{}/team-analysis' \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/match/{}/team-analysis', 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/match/{}/team-analysis"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"matchID": null,
"compTypeID": null,
"compType": null,
"teamA": {
"teamID": "1038",
"teamShortName": "ENG-U19",
"battingVSPace": null,
"battingVSSpin": null,
"paceBowling": null,
"spinBowling": null,
"battingDepth": null,
"overallRating": "58.82"
},
"teamB": {
"teamID": "1148",
"teamShortName": "PAK-U19",
"battingVSPace": null,
"battingVSSpin": null,
"paceBowling": null,
"spinBowling": null,
"battingDepth": null,
"overallRating": "47.62"
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}