Cricket
Get data related to Cricket matches
Cricket middleware available for all clients and partners. REST API's for all feeds for teams / fixtures / results / live matches / line ups / tables / statistics / officials / commentary / form / competitions
Base URL stage - https://cricket-feeds.incrowdsports.com/
Base URL prod - https://cricket-feeds.incrowdsports.com/
API Reference - https://developer.cortextech.io/reference/get_v2-matches
API Keys
All requests must be made using provided API keys, otherwise a 401 Unauthorized response will be returned, the API key comprises of 3 items that must be passed in the headers of each request:
- X-API-KEY
- X-APP-ID
- X-REALM
Key Terms and Language used throughout the API
Term | Description |
|---|---|
Competition | A Tournament/Competition/League within cricket, e.g. World Cup |
Competition ID | The unique identifier for a competition. |
Match | A single fixture between two teams |
Match ID | The unique identifier for a match |
Team | A single cricket team |
Team ID | The unique identifier for a team |
Player | A person who plays for a team. |
Player ID | The unique identifier for a player. |
Filter | There are a number of endpoints that use a filter search term to restrict the data returned. The available options are:
See below for examples of filters |
Game Type ID | As part of the filter, an optional gameTypeId can be passed, this corresponds to the different match types in cricket, i.e. T20, ODI, Test match. Consult the data provider's documentation to find corresponding values. |
Filter examples
Single competition
?filter=[{"compId":8899}]
Single team
?filter=[{"teamId":7}]
Single status
?filter=[{"status":"fixture"}]
Single game type
?filter=[{"gameTypeId":1}]
Multiple filters
?filter=[{"compId":8899},{"compId":7784},{"teamId":7},{"status":"fixture"},{"gameTypeId":1}]
Standard API Responses
Standard response payloads:
{
"status": "string",
"data": [
{ "array of items" }
],
"metadata": {
"createdAt": "ISO 8601 Date/Time format",
"pageItems": 0,
"totalItems": 0,
"totalPages": 0,
"pageNumber": 0,
"pageSize": 0,
"sort": "string"
}
}{
"status": "string",
"data": { "single item" },
"metadata": {
"createdAt": "ISO 8601 Date/Time format"
}
}{
"status": "fail",
"message": "reason",
"metadata": {
"createdAt": "ISO 8601 Date/Time format"
}
}Updated 18 days ago
