Build the request

Now that all prerequisites have been fulfilled, we’re ready to send our first request to the API!

Cricket API

The request consists of the following components:

  • The base URL

  • A path parameter, in this example, we use [series]

  • A query string parameter, which is optional, so we leave this out for now

  • And finally, your API key

https://apiv3.sportsapi360.com/
https://apiv3.sportsapi360.com/cricket/api/v2/

An example of a correctly authenticated request would be:

curl --location 'https://apiv3.sportsapi360.com/cricket/api/v2/series?filter=live' \
--header 'x-app-key: {{ your api key }}'

This request will return all of the leagues.

Please note that our entire Cricket API collection with all endpoints is available in Postman. Run in Postman

Last updated