Men — Batting/Bowling/All-Rounder (v2)
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/ranking/menconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/ranking/men', 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/ranking/men"
response = requests.get(url)
print(response.text){
"test": {
"men": {
"bat": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
}
}
},
"oDI": {
"men": {
"bat": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
}
},
"t20": {
"men": {
"bat": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
}
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Rankings
Men — Batting/Bowling/All-Rounder (v2)
Mens individual rankings.
GET
/
cricket
/
api
/
v2
/
ranking
/
men
Men — Batting/Bowling/All-Rounder (v2)
curl --request GET \
--url https://apiv2.sportxapi.com/cricket/api/v2/ranking/menconst options = {method: 'GET'};
fetch('https://apiv2.sportxapi.com/cricket/api/v2/ranking/men', 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/ranking/men"
response = requests.get(url)
print(response.text){
"test": {
"men": {
"bat": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "Test",
"rank": [
"[object]",
"[object]"
]
}
}
},
"oDI": {
"men": {
"bat": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "ODI",
"rank": [
"[object]",
"[object]"
]
}
}
},
"t20": {
"men": {
"bat": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
},
"bowl": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
},
"allrounder": {
"gender": "male",
"matchType": "T20",
"rank": [
"[object]",
"[object]"
]
}
}
}
}{
"error": "Unauthorized: Missing or invalid API key"
}{
"error": "Quota limit exceeded for current billing cycle"
}Response
Successful Response (JSON)
The response is of type object.
