ball_lav ball_pink Asset 2 Dhoni have 144.78 Strike rate against MI 7 Batting performance of MSD with MI? Question Answer MSD performance with MI? ball_lav ball_pink Asset 2

Introducing V5 API

We are delighted in introducing you to our v5 version of the Cricket API endpoints. With the v5 APIs, you can now have the live updates delivered automatically through Firebase, Webhook and WebSocket. The v5 APIs are faster, smarter and even go easy on your monthly bills by letting you pay only for the data you access. With three different tiers of licenses to choose from, the v5 API will surely be handy for every possible use case!

Get Started
Batsman

Build a Cricket Calendar

The Schedule API gives the essential information of each match for the specific month. It gives the information such as the match name, match key,time & venue, season details, and few other information.

General Schedule API Sample Request & Response:

By default, the Schedule API provides the data for the current month.

General Schedule Sample Request URL:

https://rest.cricketapi.com/rest/v2/schedule/?access_token=ACCESSTOKEN

To get the matches of the current day refer the object "current_day" in the API response.

Day Wise Sample Request:

https://rest.cricketapi.com/rest/v2/schedule/?access_token=ACCESSTOKEN&date=YYYY-MM-DD

Month Based Schedule API Sample Request Response:

To show the fixtures for a specific month, make the following request:

  • To get the matches of the previous month refer the object "prev_month"

  • To get the matches of the next month refer the object "next_month"

Schedule API Month Based Sample Request URL:

https://rest.cricketapi.com/rest/v2/schedule/ access_token=ACCESSTOKEN&date=YYYY-MM

Season Based Calender

To get the schedule of the required season, the season key is required. Get the season key from the Recent Season API.

Recent Season API Sample Request:

https://rest.cricketapi.com/rest/v2/recent_seasons/?access_token=ACCESSTOKEN

Refer {data.[key]} to get the season key.

Now, pass the obtained season key to the Schedule API.

Schedule API Sample Request:

https://rest.cricketapi.com//rest/v2/season/kplt20_2018/schedule/?access_token=ACCESS_TOKEN

In the sample request, obtained kplt20_2018 is the season key.

Docs

Open Source Library

Node JS: https://github.com/roanuz/cricketapi-nodejs

HTML Template: https://github.com/roanuz/cricket-html-template

To get more library, refer Open Source Library

View all Docs

True Support Center

Not sure, what plan to choose? Just get in touch us. We are committed to providing a solution to all cricket data requirements. Feel free to write your technical questions, to know about best practice and guidelines.

000-800-040-1803 (Indian Tollfree Number)

+1 (855) 2SPORT4 (US Tollfree Number)