Introduction

Welcome To SportMonks Cricket API V2.0

Welcome to the SportMonks Cricket API documentation version 2.0. Via this interactive documentation you are able to directly call the API and download the requests you have made for faster development. To kickstart your implementation we have listed some pre-build wrapper packages below. Please explorer them carefully to find out if they fulfill your needs.

Differences between API V1.0 and V2.0

The main reason why we launched API v2.0 shortly adter API v1.0 is becuase we had to simplify the api responses. As V1.0 makes use of the JSON API specification it had a high learning curve leading into slow implementations. API v2.0 is build on the same logic as our successfull Soccer API V2.0 is build on which is serving over 9000 customers at the time of writing. We also added some extra functionalities to Cricket API V2.0 such as field limiting. You can find more information about that under our "How the API works" articles.

Before you start using the API we suggest you to read the following articles so you know how to make full benefit of the API. Default requests return minimal responses. Important to know is how to load relational data like balls, lineups, runs, scoreboards and much more.
No packages have been created for cricket yet! Send an email to support@sportmonks.com in case you have created one and want it to be listed here.

Getting Started

Before you are able to call our API you need a SportMonks.com account which can be created here. If you already have an acount you will be prompted to login so you can use the interactive documentation. On the detail page of every endpoint described in this documentation you will find an 'Open API Tester' button. This button opens up a sidebar on which you can add variables and parameters. when pressing the Send Request button the API is beeing called and a real-time result will be shown in that same sidebar.

// Get your API tokens here: https://www.sportmonks.com/settings#/api
curl "https://cricket.sportmonks.com/api/v2.0/livescores?api_token=YOURTOKEN"
-H "Accept: application/json"
A cURL request to the livescores endpoint.

Questions?

We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on 2019-01-17 15:25:41

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?