Cricket Live Scores

FREEMIUM
By dev132
Updated 2 months ago
Sports
9.8/10
Popularity Score
739ms
Latency
100%
Success Rate

Cricket Live Scores API Documentation

Cricket Live Scores API provides invaluable data to develop cricket related apps. The API accepts GET calls and returns JSON formatted content. Cricket Live Scores API is able to deliver a list of available matches as well as cricket scores, cricket scorecards, Test scores, ODI scores, T20 scores, BBL scores, IPL scores, World Cup scores

View API Details
Matches GROUP
GET# Matches (LIST ALL MATCHES)
GETMatch By Series ID
GETMatch by Match ID
GETMatch Live & HighLights
Patnerships
GETPartnerships
Players
GETPlayers By Team
GETPlayers By Match
Scorecards
GETScorecards
Series
GETSeries
GETSeries Teams
GETSeries Standings
Teams
GETTeam Players
Media
GETGET Images
Commentary
GETCommentary
Other
GETBatting Wheel
GETGraph
GET# Matches (LIST ALL MATCHES)

Returns a list of matches for any series. The matches can be upcoming, in progress, or completed.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
completedlimitNUMBER
OPTIONAL
inprogresslimitNUMBER
OPTIONAL
upcomingLimitNUMBER
OPTIONAL
Code Snippet
unirest.get("https://dev132-cricket-live-scores-v1.p.rapidapi.com/matches.php?completedlimit=5&inprogresslimit=5&upcomingLimit=5")
.header("X-RapidAPI-Host", "dev132-cricket-live-scores-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://dev132-cricket-live-scores-v1.p.rapidapi.com/matches.php
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://dev132-cricket-live-scores-v1.p.rapidapi.com/matches.php?completedlimit=5&inprogresslimit=5&upcomingLimit=5")
.header("X-RapidAPI-Host", "dev132-cricket-live-scores-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication