(Indian Tollfree Number)
(US Tollfree Number)
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 StartedThe Chatbot API gives the answers from topics such as player profile, recent matches, player vs. team, team vs. team and live updates.
https://rest.cricketapi.com/rest/v3/bot/
Method: POST
Params:
access_token
- Requiredtext
- Required.utc_offset
- Required.user
- Required. Generate the user key using Register Bot userdata.responses
- Object. Object of bot response.$ curl -X POST \
-d "text=Best score of Virat vs Australia" \
-d "user=USER" \
-d "utc_offset=+19800" \
-d "access_token=ACCESS_TOKEN" \
https://rest.cricketapi.com/rest/v3/bot/
{
"data": {
"responses": [
{
"confident": 1.0,
"content": "He scored 90 in 55 balls on Jan 26, 2016 against Australia in T20",
"handler": "cricket.handlers.MasterConversationHandler",
"objects": {
"competitions": [
{
"card_name": "T20",
"key": "international-t20",
"name": "International-T20"
}
],
"players": [
{
"card_name": "V Kohli",
"key": "v_kohli",
"name": "Virat Kohli"
}
],
"teams": [
{
"card_name": null,
"key": "aus",
"name": "Australia"
}
]
},
"responder": "cricket.responders.master.PlayerBestMetrics",
"user_should_respond": false
}
],
"user": "user"
},
"status": true,
"status_code": 200,
"version": "3.0.1"
}
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.