Ball-by-Ball
curl --request GET \
--globoff \
--url 'https://apiv2.sportxapi.com/cricket/api/v2/match/{}/commentary/ballByBall' \
--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/{}/commentary/ballByBall', 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/{}/commentary/ballByBall"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"0": [
"62.1:0W"
],
"1": [
"61.6:0",
"61.5:0"
],
"2": [
"60.6:0W",
"60.5:0"
],
"3": [
"59.6:0",
"59.5:0W"
],
"4": [
"58.6:1",
"58.5:0"
],
"5": [
"57.6:2",
"57.5:0"
],
"6": [
"56.6:0",
"56.5:0W"
],
"7": [
"55.6:0",
"55.5:0"
],
"8": [
"54.6:0W",
"54.5:0"
],
"9": [
"53.6:1",
"53.5:0"
],
"10": [
"52.6:1",
"52.5:1"
],
"11": [
"51.6:1",
"51.5:0"
],
"12": [
"50.6:0",
"50.5:0"
],
"13": [
"49.6:4",
"49.5:0"
],
"14": [
"48.6:0",
"48.5:1"
],
"15": [
"47.6:0",
"47.5:0"
],
"16": [
"46.6:0",
"46.5:0"
],
"17": [
"45.6:0",
"45.5:0"
],
"18": [
"44.6:0",
"44.5:0"
],
"19": [
"43.6:2",
"43.5:0"
],
"20": [
"42.6:4",
"42.5:0"
],
"21": [
"41.6:0W",
"41.5:0"
],
"22": [
"40.6:0",
"40.5:1"
],
"23": [
"39.6:1",
"39.5:1"
],
"24": [
"38.6:0",
"38.5:1"
],
"25": [
"37.6:3",
"37.5:0"
],
"26": [
"36.6:0",
"36.5:1"
],
"27": [
"35.6:0",
"35.5:3lb"
]
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Live Matches & Ball-by-Ball
Ball-by-Ball
Per-ball sequence for a commentary page.
GET
/
cricket
/
api
/
v2
/
match
/
{}
/
commentary
/
ballByBall
Ball-by-Ball
curl --request GET \
--globoff \
--url 'https://apiv2.sportxapi.com/cricket/api/v2/match/{}/commentary/ballByBall' \
--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/{}/commentary/ballByBall', 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/{}/commentary/ballByBall"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"0": [
"62.1:0W"
],
"1": [
"61.6:0",
"61.5:0"
],
"2": [
"60.6:0W",
"60.5:0"
],
"3": [
"59.6:0",
"59.5:0W"
],
"4": [
"58.6:1",
"58.5:0"
],
"5": [
"57.6:2",
"57.5:0"
],
"6": [
"56.6:0",
"56.5:0W"
],
"7": [
"55.6:0",
"55.5:0"
],
"8": [
"54.6:0W",
"54.5:0"
],
"9": [
"53.6:1",
"53.5:0"
],
"10": [
"52.6:1",
"52.5:1"
],
"11": [
"51.6:1",
"51.5:0"
],
"12": [
"50.6:0",
"50.5:0"
],
"13": [
"49.6:4",
"49.5:0"
],
"14": [
"48.6:0",
"48.5:1"
],
"15": [
"47.6:0",
"47.5:0"
],
"16": [
"46.6:0",
"46.5:0"
],
"17": [
"45.6:0",
"45.5:0"
],
"18": [
"44.6:0",
"44.5:0"
],
"19": [
"43.6:2",
"43.5:0"
],
"20": [
"42.6:4",
"42.5:0"
],
"21": [
"41.6:0W",
"41.5:0"
],
"22": [
"40.6:0",
"40.5:1"
],
"23": [
"39.6:1",
"39.5:1"
],
"24": [
"38.6:0",
"38.5:1"
],
"25": [
"37.6:3",
"37.5:0"
],
"26": [
"36.6:0",
"36.5:1"
],
"27": [
"35.6:0",
"35.5:3lb"
]
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}