NAV
cURL

Introduction

Entity Sports application programming interfaces (API) give you access to our sports data. You can use our Entity Sports API to build web and mobile sports application. Either it's fantasy sports or live score our data full fills requirements for all type of applications.

Entity Sports API deliver season, competition, teams, matches, player, statistical data for Cricket and Soccer.Since the API is true to RESTful principles, it’s easy to interact with using any tool capable of performing https requests, such as Postman or cURL.

To allow you to interact securely with our API from a client-side web application (though you should remember that you should never expose your API keys in any public website's client-side code). JSON will be returned in all responses from the API, including errors.

Getting Started

Getting your Keys

You will need an active access key and secret key with a valid subsciption to start using our API. Please visit entitysport.com to request your keys and subscription.

Obtaining Token

To authorize, use this code:

curl -X POST "https://rest.entitysport.com/v2/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY&extend=1"

Authentication request without extend parameter

curl -X POST "https://rest.entitysport.com/v2/auth?access_key=YOURACCESSKEY&secret_key=YOURSECRETKEY"

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "token": "1|X#aFhlzAsd",
        "expires": "12312312312",
    },
    "api_version": "2.0"
}

To access any API, you need a token. A token can be generated using your keys. Token is a piece of information that would allow you to access our API data for a short period of time (expire time). Auth API provides you the token, by validating your keys. Request to our Auth API whenever the access token is expired or unavailable.

Request

Response

Making your First Request

curl -X GET "https://rest.entitysport.com/v2/?token=[ACCESS_TOKEN]"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "api_doc": "https://doc.entitysport.com/",
        "status_codes": {
            "ok": "Success",
            "error": "Failure",
            "invalid": "Invalid Request",
            "unauthorized": "Un authorized",
            "noaccess": "No access to requested resource"
        }
    },
    "api_version": "2.0"
}

It's very easy to start using the EntitySport Cricket API. By passing your token as token to our api server, you can get access to our API data instantly.

https Request

GET https://rest.entitysport.com/v2/?token=[ACCESS_TOKEN]

https Status Code

All API request will resolve with any of the following https header status.

Response Code Description
200 API request valid, informations ready to access
304 API request valid, but data was not modified since last accessed (compared using Etag)
400 Client side error. occurs for invalid request
401 occurs for unauthorized request
501 Server side error. Internal server error, unable to process your request

API Response


{
    "status": "ok",
    "response": {},
    "etag": "8fc93de066d8d802a36e0882ecc77fdb",
    "modified": "2017-01-31 16:29:11",
    "datetime": "2017-01-31 16:29:11",
    "api_version": "2.0"
}

All successfull API request will return json output. The basic structure of data is available on all of the calls.

Status - Possible Values are as follows :

Status Description
ok A successfull response
error if the request contains error
unauthorized if the request is not authorized, usually for invalid/expired access token
accessdenied if your app try to access non permitted data

Pagination

Parameter Value Description
per_page Number Number of items to list in each API request
paged Number Page Number for request

API Objects

There are some informations that we call as OBJECT. A response can contain a single object, or multiple objects or no objects at all. It is important get famililar with our objects.

We have 7 Obejcts in total. A object is a set of data, which contains a unique identifier, and directly relates to other objects. ie: match object connects inning object, team object.

Each object has a unique identifier which start with the first character of object name, and id as suffix. ie: competition unique identified named as cid, for match it's mid, for player it's pid, for team, it's tid and for season - sid.

Cricket API V2

Seasons API

curl -X GET "https://rest.entitysport.com/v2/seasons/?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "seasons": [
            {
                "sid": "201617",
                "name": "2016-17",
                "competitions_url": "/v2/seasons/201617/competitions"
            }
        ]
    }
}

Provides information of all avaialable cricket seasons you have access. A season is named as complete year ie: 2016 for all tournaments that happens between march to october of the correspoding year, or name cross year ie: 2016-17 for matches happens between November-February or vice versa.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

{
    "sid": "201617",
    "name": "2016-17",
    "competitions_url": "/v2/seasons/201617/competitions"
}
Parameter Value Description
sid integer season id
name string season representational name
competitions_url string API URL address for competitions played on the season

Season Competitions API

curl -X GET "https://rest.entitysport.com/v2/seasons/2021/competitions?token=ec471071441bb2ac538a0ff901abd249&per_page=10&&paged=1"

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "items": [
            {
                "cid": 90088,
                "title": "Hong Kong in Scotland ODI Series",
                "abbr": "hkisos-16",
                "season": "2016",
                "datestart": "2016-09-08",
                "dateend": "2016-09-10",
                "total_matches": "2",
                "total_rounds": "1",
                "total_teams": "2",
                "category": "international",
                "match_format": "odi",
                "status": "result",
                "country": "int",
                "type": "series",
                "matches_url": "competitions/90088/matches",
                "teams_url": "competitions/90088/teams",
                "standings_url": "competitions/90088/standings",
                "rounds": [
                    {
                        "rid": 90089,
                        "order": 1,
                        "name": "Hong Kong in Scotland ODI Series",
                        "datestart": "2016-09-08",
                        "dateend": "2016-09-10",
                        "matches_url": "round/90089/matches",
                        "teams_url": "round/90089/teams"
                    }
                ]
            }
        ],
        "total_items": 38,
        "total_pages": 38
    },
    "etag": "4bc9f9a0b8a89377c321f4373e728aa4",
    "modified": "2017-08-28 23:58:54",
    "datetime": "2017-08-28 23:58:54",
    "api_version": "2.0"
}

This will list all available competitions those you are subscribed and can access for specified season. Season is named using 4 digit year, ex: 2010, or Year combo, ex: 2010-11.

It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token
per_page Number Number of competition to list in each API request
paged Number Page Number for request

Response

Reference

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
country string Country ISO Code
type string competition type, possible values are tour, tournament, series
matches_url string api url for matches data
teams_url string api url for teams data
standings_url string api url for standings data
rounds array an array of rounds played in the competition, see round object reference.

Round Properties

Parameter Value Description
rid integer round id
order integer round sort order
name string Round name/title
datestart date round first match date
dateend date round last match date
matches_url string api url for matches data
teams_url string api url for teams data

Competitions List API

curl -X GET "https://rest.entitysport.com/v2/competitions?token=ec471071441bb2ac538a0ff901abd249&per_page=10&&paged=1"
curl -X GET "https://rest.entitysport.com/v2/competitions?token=ec471071441bb2ac538a0ff901abd249&per_page=30&&paged=1&status=fixture"
curl -X GET "https://rest.entitysport.com/v2/competitions?token=ec471071441bb2ac538a0ff901abd249&per_page=30&&paged=1&status=result"
curl -X GET "https://rest.entitysport.com/v2/competitions?token=ec471071441bb2ac538a0ff901abd249&per_page=30&&paged=1&status=live"

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "items": [
            {
                "cid": 1539,
                "title": "Asia Cup",
                "abbr": "asia-cup-2015-16",
                "season": "2016",
                "datestart": "2016-02-19",
                "dateend": "2016-03-06",
                "total_matches": "17",
                "total_rounds": "2",
                "total_teams": "8",
                "category": "international",
                "game_format": "t20i",
                "status": "result",
                "country": "int"
            }
        ],
        "total_items": "255",
        "total_pages": 255
    },
    "etag": "9763c1bf380374cdda92fde6ad131cdb",
    "modified": "2018-11-21 09:02:35",
    "datetime": "2018-11-21 09:02:35",
    "api_version": "2.0"
}

This will list all available competitions those you are subscribed.

It will list 10 competitions data per request. If there is more than 10 competitions, you will get extra value under response node. You can use the page parameter to jump to a specific page if exists.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token
status string status=fixture for upcoming competitions, status=result for completed competitions, status=live for live competitions
per_page Number Number of competition to list in each API request
paged Number Page Number for request

Response

Reference

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
game_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
country string Country ISO Code

Competitions Overview API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143?token=ec471071441bb2ac538a0ff901abd249"
curl -X GET "https://rest.entitysport.com/v2/competitions?yearmonth=2018-02&paged=1&per_page=50&token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "cid": 91396,
        "title": "Caribbean Premier League",
        "abbr": "caribbean-premier-league-2017",
        "category": "domestic",
        "game_format": "t20",
        "status": "live",
        "season": "2017",
        "datestart": "2017-08-04",
        "dateend": "2017-09-09",
        "total_matches": "34",
        "total_rounds": "1",
        "total_teams": "6",
        "squad_type": "per_match",
        "country": "wi",
        "table": "1",
        "rounds": [
            {
                "rid": 104883,
                "order": 1,
                "name": "Group Stage",
                "type": "group",
                "match_format": "t20",
                "datestart": "2017-08-05",
                "dateend": "2017-09-04"
            }
        ]
    },
    "etag": "47ad73992b654633b91a3d324702935b",
    "modified": "2017-09-05 09:50:54",
    "datetime": "2017-09-05 20:48:39",
    "api_version": "2.0"
}

Competition Object Overview API.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token
yearmonth string parameter to list competitions from specific month. example - 2018-02(yyyy-mm)
per_page Number Number of matches to list in each API request
paged Number Page Number for request

Response

Reference

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
category string competition category, possible values are international, domestic, youth, women
game_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
squad_type string per_match - used for international tours where squad of teams are changes for formats and matches, per_team - used for tournaments where squads of teams remains same and don't change with matches.
country string Country ISO Code
table integer total number of standing tables
rounds array an array of rounds played in the competition, see round object reference.

Round Properties

Parameter Value Description
rid integer round id
order integer round sort order
name string Round name/title
type string round type group, konckout stage, series
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
datestart date round first match date
dateend date round last match date

Competition Matches API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/matches/?token=ec471071441bb2ac538a0ff901abd249&per_page=50&&paged=1"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "items": [
            {
                "match_id": 17979,
                "title": "Scotland vs Hong Kong",
                "subtitle": "1st ODI",
                "format": 1,
                "format_str": "ODI",
                "status": 2,
                "status_str": "Completed",
                "status_note": "No result",
                "verified": "true",
                "pre_squad": "true",
                "game_state": 0,
                "game_state_str": "Default",
                "domestic": "0",
                "competition": {
                    "cid": 90088,
                    "title": "Hong Kong in Scotland ODI Series",
                    "abbr": "hkisos-16",
                    "season": "2016",
                    "datestart": "2016-09-08",
                    "dateend": "2016-09-10",
                    "total_matches": "2",
                    "total_rounds": "1",
                    "total_teams": "2",
                    "category": "international",
                    "match_format": "odi",
                    "status": "result",
                    "country": "int",
                    "type": "series"
                },
                "teama": {
                    "team_id": 9,
                    "name": "Scotland",
                    "short_name": "SCOT",
                    "logo_url": "../assets/uploads/2016/01/scotland-120x80.png",
                    "scores_full": "153/6 (20 ov)",
                    "scores": "153/6",
                    "overs": "20"
                },
                "teamb": {
                    "team_id": 1544,
                    "name": "Hong Kong",
                    "short_name": "HKG",
                    "logo_url": "",
                    "scores_full": "136/4 (18 ov)",
                    "scores": "136/4",
                    "overs": "18"
                },
                "date_start": "2016-09-08 09:45:00",
                "date_end": "2016-09-08 19:45:00",
                "timestamp_start": 1473327900,
                "timestamp_end": 1473363900,
                "venue": {
                    "name": "Grange Cricket Club, Raeburn Place",
                    "location": "Edinburgh",
                    "timezone": "1"
                },
                "umpires": "Gregory Brathwaite (West Indies), Ian Ramage (Scotland)",
                "referee": "David Jukes (England)",
                "equation": "No result",
                "live": "",
                "result": "No result",
                "win_margin": "",
                "commentary": 1,
                "wagon": 1,
                "latest_inning_number": 2,
                "toss": {
                    "text": "Hong Kong won the toss & elected to field",
                    "winner": 1544,
                    "decision": 2
                }
            }
        ],
        "total_items": "2",
        "total_pages": 2
    },
    "etag": "1dec30e4b134b76692ca7446caf98d57",
    "modified": "2017-08-29 00:40:14",
    "datetime": "2017-08-29 00:40:14",
    "api_version": "2.0"
}

A competition is a tour that one country takes on to another country, or a local & international league.

A competition contains playing teams, match schedules, results, team performance & player performance statistical information.

Competition matches node lists all of the scheduled,played,live matches for the specified competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token
per_page Number Number of matches to list in each API request
paged Number Page Number for request

Response

Reference

Parameter Value Description
match_id interger match id
title string match name/title
subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
format interger numerical representation of match format. see match_formats reference.See Cricket Reference
format_str string match format name
status string numerical representation of match status. see match_statuss reference.See Cricket Reference
status_str string match status name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
game_state string numerical representation of match game_state. game state is available for live match only. See Cricket Reference
game_state_str string match game_state name.
competition array an array of parent competition details of the match, see competition object properties.
team array an array of teams participating in the match, see team match properties.
date_start date match start date in in GMT(UTC +0)
date_end date match end date in GMT(UTC +0)
timestamp_start integer match start timestamp in GMT(UTC +0).
timestamp_end integer match end timestamp in GMT(UTC +0).
venue array an array of venue details of the match, see venue object properties.
umpires string umpires of the match.
referee string referee of the match.
equation string match result condition.
live string live match status note.
win_margin string match win margin.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
latest_inning_number interger latest or active innings number.
toss array an array of toss details of the match, see toss object properties.

Competition Properties

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20 See Cricket Reference
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed) See Cricket Reference
country string Country ISO Code
type string competition type, possible values are tour, tournament, series

Team Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
logo_url string team logo url
scores_full string team full score
scores string team score
overs string overs played by team

Venue Properties

Parameter Value Description
name string Venue name/title
location string City Name
timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

Toss Properties

Parameter Value Description
text string Toss result text with team name
winner integer team id of toss winning team
decision integer numerical representation of decision made by toss winning team.

Competition Teams API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/teams/?token=ec471071441bb2ac538a0ff901abd249

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "teams": [
            {
                "tid": 9,
                "title": "Scotland",
                "abbr": "SCOT",
                "thumb_url": "../assets/uploads/2016/01/scotland-120x80.png",
                "logo_url": "../assets/uploads/2016/01/scotland-32x32.png",
                "type": "country",
                "country": "sct",
                "alt_name": "Scotland"
            },
            {
                "tid": 1544,
                "title": "Hong Kong",
                "abbr": "HKG",
                "thumb_url": "",
                "logo_url": "../assets/uploads/2016/02/hong-kong-32x32.png",
                "type": "country",
                "country": "hk",
                "alt_name": "Hong Kong"
            }
        ],
        "total_teams": 2
    },
    "etag": "6520d4b995db86e711a7d299cfaf94c4",
    "modified": "2017-08-29 01:40:48",
    "datetime": "2017-08-29 01:40:48",
    "api_version": "2.0"
}

Competition teams API provides information of all playing participating teams in competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
type string team type Country(International Team) or Club
country string Country ISO Code
alt_name string team alternative name
players array an array of player details of the team, see player object properties.

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match

Competition Squads API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/squads/?token=ec471071441bb2ac538a0ff901abd249

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "squad_type": "per_match",
        "squads": [
            {
                "team_id": "25",
                "title": "India 1st Test, 2nd Test",
                "mid": "39158,39159",
                "gmdate": "2018-10-04",
                "players": [
                    {
                        "pid": 119,
                        "title": "Virat Kohli",
                        "short_name": "V Kohli",
                        "first_name": "Virat",
                        "last_name": "Kohli",
                        "middle_name": "",
                        "birthdate": "1988-11-05",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 11
                    },
                    {
                        "pid": 125,
                        "title": "Ravindra Jadeja",
                        "short_name": "RA Jadeja",
                        "first_name": "Ravindrasinh",
                        "last_name": "Jadeja",
                        "middle_name": "Anirudhsinh",
                        "birthdate": "1988-12-06",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "all",
                        "batting_style": "LHB",
                        "bowling_style": "Slow left-arm orthodox",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 8.5
                    }
                ],
                "team": {
                    "tid": 25,
                    "title": "India",
                    "abbr": "INDIA",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India"
                }
            },
            {
                "team_id": "25",
                "title": "India 1st ODI, 2nd ODI",
                "mid": "39160,39161",
                "gmdate": "2018-10-21",
                "players": [
                    {
                        "pid": 115,
                        "title": "Rohit Sharma",
                        "short_name": "RG Sharma",
                        "first_name": "Rohit",
                        "last_name": "Sharma",
                        "middle_name": "Gurunath",
                        "birthdate": "1987-04-30",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 10
                    },
                    {
                        "pid": 117,
                        "title": "Shikhar Dhawan",
                        "short_name": "S Dhawan",
                        "first_name": "Shikhar",
                        "last_name": "Dhawan",
                        "middle_name": "",
                        "birthdate": "1985-12-05",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "LHB",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9.5
                    }
                ],
                "team": {
                    "tid": 25,
                    "title": "India",
                    "abbr": "INDIA",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India"
                }
            },
            {
                "team_id": "25",
                "title": "India 3rd ODI, 4th ODI, 5th ODI",
                "mid": "39162,39163,39164",
                "gmdate": "2018-10-27",
                "players": [
                    {
                        "pid": 115,
                        "title": "Rohit Sharma",
                        "short_name": "RG Sharma",
                        "first_name": "Rohit",
                        "last_name": "Sharma",
                        "middle_name": "Gurunath",
                        "birthdate": "1987-04-30",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 10
                    },
                    {
                        "pid": 117,
                        "title": "Shikhar Dhawan",
                        "short_name": "S Dhawan",
                        "first_name": "Shikhar",
                        "last_name": "Dhawan",
                        "middle_name": "",
                        "birthdate": "1985-12-05",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "LHB",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9.5
                    }
                ],
                "team": {
                    "tid": 25,
                    "title": "India",
                    "abbr": "INDIA",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India"
                }
            },
            {
                "team_id": "25",
                "title": "India 1st T20I, 2nd T20I, 3rd T20I",
                "mid": "39165,39166,39167",
                "gmdate": "2018-11-04",
                "players": [
                    {
                        "pid": 115,
                        "title": "Rohit Sharma",
                        "short_name": "RG Sharma",
                        "first_name": "Rohit",
                        "last_name": "Sharma",
                        "middle_name": "Gurunath",
                        "birthdate": "1987-04-30",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 10
                    },
                    {
                        "pid": 117,
                        "title": "Shikhar Dhawan",
                        "short_name": "S Dhawan",
                        "first_name": "Shikhar",
                        "last_name": "Dhawan",
                        "middle_name": "",
                        "birthdate": "1985-12-05",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "LHB",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9.5
                    }
                ],
                "team": {
                    "tid": 25,
                    "title": "India",
                    "abbr": "INDIA",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India"
                }
            },
            {
                "team_id": "17",
                "title": "West Indies 1st Test, 2nd Test",
                "mid": "39158,39159",
                "gmdate": "2018-10-04",
                "players": [
                    {
                        "pid": 271,
                        "title": "Jason Holder",
                        "short_name": "JO Holder",
                        "first_name": "Jason",
                        "last_name": "Holder",
                        "middle_name": "Omar",
                        "birthdate": "1991-11-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "all",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium-fast",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    },
                    {
                        "pid": 273,
                        "title": "Kemar Roach",
                        "short_name": "KAJ Roach",
                        "first_name": "Kemar",
                        "last_name": "Roach",
                        "middle_name": "Andre Jamal",
                        "birthdate": "1988-06-30",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bowl",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm fast",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 8.5
                    }
                ],
                "team": {
                    "tid": 17,
                    "title": "West Indies",
                    "abbr": "WI",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                    "type": "country",
                    "country": "wi",
                    "alt_name": "West Indies"
                }
            },
            {
                "team_id": "17",
                "title": "West Indies 1st ODI",
                "mid": "39160",
                "gmdate": "2018-10-21",
                "players": [
                    {
                        "pid": 251,
                        "title": "Marlon Samuels",
                        "short_name": "MN Samuels",
                        "first_name": "Marlon",
                        "last_name": "Samuels",
                        "middle_name": "Nathaniel",
                        "birthdate": "1981-02-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    },
                    {
                        "pid": 271,
                        "title": "Jason Holder",
                        "short_name": "JO Holder",
                        "first_name": "Jason",
                        "last_name": "Holder",
                        "middle_name": "Omar",
                        "birthdate": "1991-11-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "all",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium-fast",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    }
                ],
                "team": {
                    "tid": 17,
                    "title": "West Indies",
                    "abbr": "WI",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                    "type": "country",
                    "country": "wi",
                    "alt_name": "West Indies"
                }
            },
            {
                "team_id": "17",
                "title": "West Indies 2nd ODI",
                "mid": "39161",
                "gmdate": "2018-10-24",
                "players": [
                    {
                        "pid": 251,
                        "title": "Marlon Samuels",
                        "short_name": "MN Samuels",
                        "first_name": "Marlon",
                        "last_name": "Samuels",
                        "middle_name": "Nathaniel",
                        "birthdate": "1981-02-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    },
                    {
                        "pid": 271,
                        "title": "Jason Holder",
                        "short_name": "JO Holder",
                        "first_name": "Jason",
                        "last_name": "Holder",
                        "middle_name": "Omar",
                        "birthdate": "1991-11-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "all",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium-fast",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    }
                ],
                "team": {
                    "tid": 17,
                    "title": "West Indies",
                    "abbr": "WI",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                    "type": "country",
                    "country": "wi",
                    "alt_name": "West Indies"
                }
            },
            {
                "team_id": "17",
                "title": "West Indies 3rd ODI, 4th ODI, 5th ODI",
                "mid": "39162,39163,39164",
                "gmdate": "2018-10-27",
                "players": [
                    {
                        "pid": 251,
                        "title": "Marlon Samuels",
                        "short_name": "MN Samuels",
                        "first_name": "Marlon",
                        "last_name": "Samuels",
                        "middle_name": "Nathaniel",
                        "birthdate": "1981-02-05",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    }
                ],
                "team": {
                    "tid": 17,
                    "title": "West Indies",
                    "abbr": "WI",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                    "type": "country",
                    "country": "wi",
                    "alt_name": "West Indies"
                }
            },
            {
                "team_id": "17",
                "title": "West Indies 1st T20I, 2nd T20I, 3rd T20I",
                "mid": "39165,39166,39167",
                "gmdate": "2018-11-04",
                "players": [
                    {
                        "pid": 249,
                        "title": "Darren Bravo",
                        "short_name": "DM Bravo",
                        "first_name": "Darren",
                        "last_name": "Bravo",
                        "middle_name": "Michael",
                        "birthdate": "1989-02-06",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "LHB",
                        "bowling_style": "Right-arm medium-fast",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 9
                    },
                    {
                        "pid": 253,
                        "title": "Denesh Ramdin",
                        "short_name": "D Ramdin",
                        "first_name": "Denesh",
                        "last_name": "Ramdin",
                        "middle_name": "",
                        "birthdate": "1985-03-13",
                        "birthplace": "",
                        "country": "wi",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "wkbat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 8.5
                    }
                ],
                "team": {
                    "tid": 17,
                    "title": "West Indies",
                    "abbr": "WI",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/west-indies-32x32.png",
                    "type": "country",
                    "country": "wi",
                    "alt_name": "West Indies"
                }
            }
        ]
    },
    "etag": "835bdb4a941b75761fe47231ac5109f1",
    "modified": "2018-10-30 15:03:12",
    "datetime": "2018-10-30 15:03:12",
    "api_version": "2.0"
}

Competition Squads API provides information of player roaster of participating teams in competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
team_id integer team id of respective team squad
title string Team matches title
mid string match id for respective team squad, mid will be empty for squad_type: per_team.
alt_name string team alternative name
players array an array of player details of the team, see player object properties.
team array an array of team details, see team object properties.

Team Properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
type string team type Country(International Team) or Club
country string Country ISO Code
alt_name string team alternative name

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
fantasy_player_rating string player fantasy salary or credit rating

Competition Standings API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/standings/?token=ec471071441bb2ac538a0ff901abd249

The above command returns JSON structured like this:

{
  "status": "ok",
  "response": {
    "standing_type": "per_round",
    "standings": [
      {
        "round": {
          "rid": 90820,
          "order": 1,
          "name": "IPL T20 2017",
          "type": "group",
          "datestart": "2017-04-05",
          "dateend": "2017-05-14",
          "match_format": "t20"
        },
        "standings": [
          {
            "team_id": "593",
            "played": 14,
            "win": 10,
            "draw": 0,
            "loss": 4,
            "nr": 0,
            "overfor": "272.1",
            "runfor": 2407,
            "overagainst": "278.1",
            "runagainst": 2242,
            "netrr": "0.784",
            "points": 20,
            "team": {
              "tid": 593,
              "title": "Mumbai Indians",
              "abbr": "MI",
              "thumb_url": "../assets/uploads/2016/04/MI.png",
              "logo_url": "../assets/uploads/2016/04/MI-32x32.png",
              "alt_name": "Mum Indians",
              "type": "club",
              "country": "in"
            }
          },
        ]
      }
    ]
  },
}

Competition standings node provides standing table for all of the round or groups for the specified competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
standing_type string completed or per_round standing type
standings array an array of round and standing table details, see round properties, see standing properties.

Round Properties

Parameter Value Description
rid integer round id
order integer round sort order
name string Round name/title
type string round type group,series,knockout
datestart date round first match date
dateend date round last match date
match_format string matches format of this round

Standings Properties

Parameter Value Description
team_id integer team id
played integer total number of player matches by team
win integer total number of won matches
draw integer total number of drawn matches
loss integer total number of lossed matches
nr integer total number of no result matches
overfor string total number of overs bowled by team
runfor integer total number of runs scored by team
overagainst string total number of overs bowled by opponent teams
runagainst integer total number of runs scored by opponent teams
netrr string total number of no result matches
points integer total number of no result matches
team array an array of team details, see team object properties.

Team Properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
alt_name string team alternative name
type string team type Country(International Team) or Club
country string Country ISO Code

Competition Statistic Type API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/stats/?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "formats": [
            "test",
            "odi"
        ],
        "stat_types": [
            {
                "group_title": "Batting",
                "types": {
                    "batting_most_runs": "Most Runs",
                    "batting_most_runs_innings": "Highest Individual Score",
                    "batting_highest_strikerate": "Highest Strike Rates",
                    "batting_highest_strikerate_innings": "Highest Strike Rates (Innings)",
                    "batting_highest_average": "Highest Average",
                    "batting_most_run100": "Most Centuries",
                    "batting_most_run50": "Most Fifties",
                    "batting_most_run6": "Most Sixes",
                    "batting_most_run6_innings": "Most Sixes (Innings)",
                    "batting_most_run4": "Most Fours",
                    "batting_most_run4_innings": "Most Fours (Innings)"
                }
            },
            {
                "group_title": "Bowling",
                "types": {
                    "bowling_top_wicket_takers": "Top Wicket Takers",
                    "bowling_best_economy_rates": "Best Economy Rates",
                    "bowling_best_economy_rates_innings": "Best Economy Rates (Innings)",
                    "bowling_best_bowling_figures": "Best Bowling Figures",
                    "bowling_best_strike_rates": "Best Strike Rates",
                    "bowling_best_strike_rates_innings": "Best Strike Rates (Innings)",
                    "bowling_best_averages": "Best Averages",
                    "bowling_most_runs_conceded_innings": "Most runs conceded in an innings",
                    "bowling_four_wickets": "Four Wickets",
                    "bowling_five_wickets": "Five Wickets",
                    "bowling_maidens": "Maidens"
                }
            },
            {
                "group_title": "Team",
                "types": {
                    "team_total_runs": "Total Runs",
                    "team_total_run100": "Most Centuries",
                    "team_total_run50": "Most Fifties",
                    "team_total_wickets": "Total Wickets"
                }
            }
        ]
    },
    "etag": "fa00424b9a4256acaec3d4a77d0a6836",
    "modified": "2017-08-29 08:35:32",
    "datetime": "2017-08-29 08:35:32",
    "api_version": "2.0"
}

Competition stats provides information of players statistics and performance. As well as team wise player statistics. The root stats path provide a list of all available statistics available for the competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
formats string formats of matches
stats_type array an array of batting and bowling statistic type see stats type properties

Stats type properties

Parameter Value Description
group_title string statistics types of Batting, Bowling, Team
types object A set of string objects for respective group title

Competition Statistic API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/stats/batting_most_runs?format=odi&token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "stats": [
            {
                "matches": 10,
                "innings": 10,
                "notout": 1,
                "runs": 382,
                "balls": 260,
                "highest": "92",
                "run100": 0,
                "run50": 3,
                "run4": 32,
                "run6": 19,
                "average": "42.44",
                "strike": "146.92",
                "catches": 5,
                "stumpings": 2,
                "updated": "2017-09-04 06:54:29",
                "team": {
                    "tid": 18245,
                    "title": "Guyana Amazon Warriors",
                    "abbr": "GAW",
                    "thumb_url": "../assets/uploads/2016/03/guyana-amazon-warriors-120x80.jpg",
                    "logo_url": "../assets/uploads/2016/03/guyana-amazon-warriors-32x32.jpg",
                    "alt_name": "Amazon",
                    "type": "club",
                    "country": "wi"
                },
                "player": {
                    "pid": 50098,
                    "title": "Chadwick Walton",
                    "short_name": "CAK Walton",
                    "first_name": "Chadwick",
                    "last_name": "Walton",
                    "middle_name": "Antonio Kirkpatrick",
                    "birthdate": "1985-07-03",
                    "birthplace": "",
                    "country": "wi",
                    "primary_team": [],
                    "thumb_url": "../assets/uploads/2016/03/walton-120x120.jpg",
                    "logo_url": "../assets/uploads/2016/03/walton-32x32.jpg",
                    "playing_role": "wkbat",
                    "batting_style": "Right-hand bat",
                    "bowling_style": "",
                    "fielding_position": "",
                    "recent_match": 18944,
                    "recent_appearance": 1490545800
                }
            }
        ],
        "total_items": 94,
        "total_pages": 94,
        "formats": [
            "t20"
        ],
        "stat_types": [
            {
                "group_title": "Batting",
                "types": {
                    "batting_most_runs": "Most Runs",
                    "batting_most_runs_innings": "Highest Individual Score",
                    "batting_highest_strikerate": "Highest Strike Rates",
                    "batting_highest_strikerate_innings": "Highest Strike Rates (Innings)",
                    "batting_highest_average": "Highest Average",
                    "batting_most_run100": "Most Centuries",
                    "batting_most_run50": "Most Fifties",
                    "batting_most_run6": "Most Sixes",
                    "batting_most_run6_innings": "Most Sixes (Innings)",
                    "batting_most_run4": "Most Fours",
                    "batting_most_run4_innings": "Most Fours (Innings)"
                }
            },
            {
                "group_title": "Bowling",
                "types": {
                    "bowling_top_wicket_takers": "Top Wicket Takers",
                    "bowling_best_economy_rates": "Best Economy Rates",
                    "bowling_best_economy_rates_innings": "Best Economy Rates (Innings)",
                    "bowling_best_bowling_figures": "Best Bowling Figures",
                    "bowling_best_strike_rates": "Best Strike Rates",
                    "bowling_best_strike_rates_innings": "Best Strike Rates (Innings)",
                    "bowling_best_averages": "Best Averages",
                    "bowling_most_runs_conceded_innings": "Most runs conceded in an innings",
                    "bowling_four_wickets": "Four Wickets",
                    "bowling_five_wickets": "Five Wickets",
                    "bowling_maidens": "Maidens"
                }
            },
            {
                "group_title": "Team",
                "types": {
                    "team_total_runs": "Total Runs",
                    "team_total_run100": "Most Centuries",
                    "team_total_run50": "Most Fifties",
                    "team_total_wickets": "Total Wickets"
                }
            }
        ],
        "format": "t20",
        "teams": [
            {
                "team_id": 18243,
                "name": "Barbados Tridents",
                "short_name": "BT",
                "country_iso": "bb",
                "type": "club",
                "logo_url": "../assets/uploads/2016/03/barbados-tridents-32x32.jpg"
            },
            {
                "team_id": 18245,
                "name": "Guyana Amazon Warriors",
                "short_name": "GAW",
                "country_iso": "wi",
                "type": "club",
                "logo_url": "../assets/uploads/2016/03/guyana-amazon-warriors-32x32.jpg"
            },
            {
                "team_id": 18248,
                "name": "St Lucia Stars",
                "short_name": "STARS",
                "country_iso": "wi",
                "type": "club",
                "logo_url": "../assets/uploads/2016/03/st-lucia-zouks-32x32.jpg"
            },
            {
                "team_id": 18250,
                "name": "Trinbago Knight Riders",
                "short_name": "TKR",
                "country_iso": "wi",
                "type": "club",
                "logo_url": "../assets/uploads/2017/08/Trinbago-Knight-Riders-32x32.png"
            },
            {
                "team_id": 18253,
                "name": "Jamaica Tallawahs",
                "short_name": "JT",
                "country_iso": "wi",
                "type": "club",
                "logo_url": "../assets/uploads/2016/03/jamaica-tallawahs-32x32.jpg"
            },
            {
                "team_id": 18256,
                "name": "St Kitts and Nevis Patriots",
                "short_name": "STKNP",
                "country_iso": "wi",
                "type": "club",
                "logo_url": "../assets/uploads/2017/07/patriots_icon-32x32.png"
            }
        ]
    },
    "etag": "7ffaca10f79d987f6fc657b44d7a7afc",
    "modified": "2017-09-05 02:39:28",
    "datetime": "2017-09-05 02:39:28",
    "api_version": "2.0"
}

Provides information of a specific type of stats, ie batting_most_runs, bowling_best_averages, team_total_runs. It's root stats path provide a list of all available statistics available for the competition.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token
format string format string available in competition stats type
per_page Number Number of players to list in each API request
paged Number Page Number for request

Response

Reference

Parameter Value Description
stats array array of batsman, bowler, team statistic data see Batting Stats properties, see Bowling Stats properties, see Team Stats properties
total_items integer total number of elements available
total_pages integer total number of pages with data
formats string formats of matches
stats_type array an array of batting and bowling statistic type see stats type properties
format string formats of matches
teams array an array of teams see team propeties

Batting Stats Properties

Parameter Value Description
matches integer Number of matches played
innings integer Number of innings batsman played
notout integer Number of times batsman remained not out
runs integer total number of runs scored by batsman in the competition
balls integer total number of balls played by batsman
highest integer Highest runs scored by batsman in a single inning
run100 integer Number of times 100 or more runs scored by batsman in total innings played
run50 integer Number of times 50 or more runs scored by batsman in total innings played
run4 integer Total number of 4s hit by batsman in competition
run6 integer Total number of 6s hit by batsman in competition
average float Batsman batting average in competition
strike float Batsman batting strike rate in competition
catches integer Catches taken by player
stumpings integer stumpings comepleted by player as wicketkeeper
updated date time and date when stats updated.
team object a set of team objects. see team properties
player object a set of player objects. see player properties
teams array an array of teams properties see teams properties

Team Properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
alt_name string team alternative name
type string team type Country(International Team) or Club
country string Country ISO Code

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match

Teams Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
country_iso string Country ISO Code
type string team type Country(International Team) or Club
logo_url string team logo url

Matches List API

curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&token=ec471071441bb2ac538a0ff901abd249"
curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&format=6&token=ec471071441bb2ac538a0ff901abd249"
curl -X GET "https://rest.entitysport.com/v2/matches?date=2018-02-12(Date start - yyyy-mm-dd)_2018-02-13(Date end - yyyy-mm-dd)&paged=1&per_page=50&token=ec471071441bb2ac538a0ff901abd249"
curl -X GET "https://rest.entitysport.com/v2/matches/?status=2&format=6&token=ec471071441bb2ac538a0ff901abd249&per_page=10&&paged=1"
curl -X GET "https://rest.entitysport.com/v2/matches/?status=1&token=ec471071441bb2ac538a0ff901abd249&pre_squad=true&per_page=50"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "items": [
            {
                "match_id": 19884,
                "title": "Barbados Tridents vs St Lucia Stars",
                "subtitle": "27th Match",
                "format": 6,
                "format_str": "T20",
                "status": 2,
                "status_str": "Completed",
                "status_note": "Tridents won by 29 runs",
                "verified": "true",
                "pre_squad": "true",
                "game_state": 0,
                "game_state_str": "Default",
                "domestic": "1",
                "competition": {
                    "cid": 91396,
                    "title": "Caribbean Premier League",
                    "abbr": "caribbean-premier-league-2017",
                    "type": "tournament",
                    "category": "domestic",
                    "match_format": "t20",
                    "status": "live",
                    "season": "2017",
                    "datestart": "2017-08-04",
                    "dateend": "2017-09-09",
                    "total_matches": "34",
                    "total_rounds": "1",
                    "total_teams": "7",
                    "country": "wi"
                },
                "teama": {
                    "team_id": 18243,
                    "name": "Barbados Tridents",
                    "short_name": "BT",
                    "logo_url": "../assets/uploads/2016/03/barbados-tridents-120x80.jpg",
                    "scores_full": "195/4 (20 ov)",
                    "scores": "195/4",
                    "overs": "20"
                },
                "teamb": {
                    "team_id": 18248,
                    "name": "St Lucia Stars",
                    "short_name": "STARS",
                    "logo_url": "../assets/uploads/2016/03/st-lucia-zouks-120x80.jpg",
                    "scores_full": "166/4 (20 ov)",
                    "scores": "166/4",
                    "overs": "20"
                },
                "date_start": "2017-09-01 00:00:00",
                "date_end": "2017-08-31 10:00:00",
                "timestamp_start": 1504224000,
                "timestamp_end": 1504173600,
                "venue": {
                    "name": "Kensington Oval, Bridgetown",
                    "location": "Barbados",
                    "timezone": "0"
                },
                "umpires": "Zahid Bassarath (West Indies), Leslie Reifer (West Indies), Johan Cloete (South Africa, TV)",
                "referee": "Dev Govindjee (South Africa)",
                "equation": "",
                "live": "",
                "result": "",
                "win_margin": "",
                "commentary": 1,
                "wagon": 1,
                "latest_inning_number": 2,
                "toss": {
                    "text": "Barbados Tridents won the toss & elected to bat",
                    "winner": 18243,
                    "decision": 1
                }
            }
        ],
        "total_items": "847",
        "total_pages": 847
    },
    "etag": "29f944e40e6c5f1537d15995287e1b03",
    "modified": "2017-09-01 15:10:49",
    "datetime": "2017-09-01 15:10:49",
    "api_version": "2.0"
}

Matches List API provide access to all of our matches.

Request

Parameter Value Description
status integer filter matches by status (ie: live, completed, upcoming). see properties reference for match status codes
format integer filter matches by format (ie: odi, test). see properties reference for match format codes
date string List matches of specific date. Need both date start and date end values. date value example - 2018-02-12 (yyyy-mm-dd)
token string API access token
per_page integer Number of competition to list in each api request
paged integer Page number for request

Response

Reference

Parameter Value Description
match_id interger match id
title string match name/title
subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
format interger numerical representation of match format. see match_formats reference.
format_str string match format name
status string numerical representation of match status. see match_statuss reference.
status_str string match status name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
game_state string numerical representation of match game_state. game state is available for live match only.
game_state_str string match game_state name.
competition array an array of parent competition details of the match, see competition object properties.
team array an array of teams participating in the match, see team match properties.
date_start date match start date in GMT(UTC +0)
date_end date match end date in GMT(UTC +0)
timestamp_start integer match start timestamp in GMT(UTC +0)
timestamp_end integer match end timestamp in GMT(UTC +0)
venue array an array of venue details of the match, see venue object properties.
umpires string umpires of the match.
referee string referee of the match.
equation string match result condition.
live string live match status note.
win_margin string match win margin.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
latest_inning_number interger latest or active innings number.
toss array an array of toss details of the match, see toss object properties.

Competition Properties

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
country string Country ISO Code
type string competition type, possible values are tour, tournament, series

Team Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
logo_url string team logo url
scores_full string team full score
scores string team score
overs string overs played by team

Venue Properties

Parameter Value Description
name string Venue name/title
location string City Name
timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

Toss Properties

Parameter Value Description
text string Toss result text with team name
winner integer team id of toss winning team
decision integer numerical representation of decision made by toss winning team.

Match Info API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/info?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "match_id": 19887,
        "title": "Barbados Tridents vs St Kitts and Nevis Patriots",
        "subtitle": "30th Match",
        "format": 6,
        "format_str": "T20",
        "status": 2,
        "status_str": "Completed",
        "status_note": "Patriots won by 10 wickets (with 78 balls remaining)",
        "verified": "true",
        "pre_squad": "true",
        "game_state": 0,
        "game_state_str": "Default",
        "competition": {
            "cid": 91396,
            "title": "Caribbean Premier League",
            "abbr": "caribbean-premier-league-2017",
            "type": "tournament",
            "category": "domestic",
            "match_format": "t20",
            "status": "live",
            "season": "2017",
            "datestart": "2017-08-04",
            "dateend": "2017-09-09",
            "total_matches": "34",
            "total_rounds": "1",
            "total_teams": "7",
            "country": "wi"
        },
        "teama": {
            "team_id": 18243,
            "name": "Barbados Tridents",
            "short_name": "BT",
            "logo_url": "../assets/uploads/2016/03/barbados-tridents-120x80.jpg",
            "scores_full": "128/9 (20 ov)",
            "scores": "128/9",
            "overs": "20"
        },
        "teamb": {
            "team_id": 18256,
            "name": "St Kitts and Nevis Patriots",
            "short_name": "STKNP",
            "logo_url": "../assets/uploads/2017/07/patriots_icon-120x120.png",
            "scores_full": "129/0 (7 ov)",
            "scores": "129/0",
            "overs": "7"
        },
        "date_start": "2017-09-03 22:00:00",
        "date_end": "2017-09-04 23:59:00",
        "timestamp_start": 1504476000,
        "timestamp_end": 1504569540,
        "venue": {
            "name": "Kensington Oval, Bridgetown",
            "location": "Barbados",
            "timezone": "0"
        },
        "umpires": "Johan Cloete (South Africa), Leslie Reifer (West Indies), Zahid Bassarath (West Indies, TV)",
        "referee": "Dev Govindjee (South Africa)",
        "equation": "",
        "live": "",
        "result": "",
        "win_margin": "",
        "commentary": 1,
        "wagon": 1,
        "latest_inning_number": 2,
        "toss": {
            "text": "St Kitts and Nevis Patriots won the toss & elected to field",
            "winner": 18256,
            "decision": 2
        }
    },
    "etag": "fb3f0f904913325ac146aa1886e86bdc",
    "modified": "2017-09-04 01:41:05",
    "datetime": "2017-09-04 06:03:06",
    "api_version": "2.0"
}

Match Info API provide general match information.

Request

Parameter Value Description
token string API access token

Response

Reference

Parameter Value Description
match_id interger match id
title string match name/title
subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
format interger numerical representation of match format. see match_formats reference.
format_str string match format name
status string numerical representation of match status. see match_statuss reference.
status_str string match status name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
game_state string numerical representation of match game_state. game state is available for live match only.
game_state_str string match game_state name.
competition array an array of parent competition details of the match, see competition object properties.
team array an array of teams participating in the match, see team match properties.
date_start date match start date in GMT(UTC +0)
date_end date match end date in GMT(UTC +0)
timestamp_start integer match start timestamp in GMT(UTC +0)
timestamp_end integer match end timestamp in GMT(UTC +0)
venue array an array of venue details of the match, see venue object properties.
umpires string umpires of the match.
referee string referee of the match.
equation string match result condition.
live string live match status note.
win_margin string match win margin.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
latest_inning_number interger latest or active innings number.
toss array an array of toss details of the match, see toss object properties.

Competition Properties

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
country string Country ISO Code
type string competition type, possible values are tour, tournament, series

Team Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
logo_url string team logo url
scores_full string team full score
scores string team score
overs string overs played by team

Venue Properties

Parameter Value Description
name string Venue name/title
location string City Name
timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

Toss Properties

Parameter Value Description
text string Toss result text with team name
winner integer team id of toss winning team
decision integer numerical representation of decision made by toss winning team.

Match Fantasy Points API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/newpoint2?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "match_id": 50537,
        "title": "South Africa vs India",
        "short_title": "SA vs IND",
        "subtitle": "1st ODI",
        "format": 1,
        "format_str": "ODI",
        "status": 2,
        "status_str": "Completed",
        "status_note": "South Africa won by 31 runs.",
        "verified": "true",
        "pre_squad": "true",
        "odds_available": "false",
        "game_state": 0,
        "game_state_str": "Default",
        "competition": {
            "cid": 121730,
            "title": "India tour of South Africa",
            "abbr": "ITOSA",
            "type": "tour",
            "category": "international",
            "match_format": "mixed",
            "status": "live",
            "season": "2021",
            "datestart": "2021-12-17",
            "dateend": "2022-01-26",
            "country": "int",
            "total_matches": "6",
            "total_rounds": "2",
            "total_teams": "2"
        },
        "teama": {
            "team_id": 19,
            "name": "South Africa",
            "short_name": "SA",
            "logo_url": "https://cricket.entitysport.com/assets/uploads/2020/12/South_Africa.png",
            "thumb_url": "https://cricket.entitysport.com/assets/uploads/2020/12/South_Africa.png",
            "scores_full": "296/4 (50 ov)",
            "scores": "296/4",
            "overs": "50"
        },
        "teamb": {
            "team_id": 25,
            "name": "India",
            "short_name": "IND",
            "logo_url": "https://cricket.entitysport.com/assets/uploads/2020/12/India.png",
            "thumb_url": "https://cricket.entitysport.com/assets/uploads/2020/12/India.png",
            "scores_full": "265/8 (50 ov)",
            "scores": "265/8",
            "overs": "50"
        },
        "date_start": "2022-01-19 08:30:00",
        "date_end": "2022-01-19 17:30:00",
        "timestamp_start": 1642581000,
        "timestamp_end": 1642613400,
        "venue": {
            "venue_id": "76",
            "name": "Boland Park, Paarl",
            "location": "Paarl",
            "timezone": "-12"
        },
        "umpires": "Allahudien Paleker (South Africa), Marais Erasmus (South Africa), Adrian Holdstock (South Africa, TV)",
        "referee": "Andy Pycroft (Zimbabwe)",
        "equation": "",
        "live": "",
        "result": "SA won by 31 runs.",
        "result_type": 1,
        "win_margin": "31 runs.",
        "winning_team_id": 19,
        "commentary": 1,
        "wagon": 1,
        "latest_inning_number": 2,
        "presquad_time": "2022-01-15 11:15:32",
        "verify_time": "2022-01-19 22:33:00",
        "toss": {
            "text": "South Africa won the toss & elected to bat",
            "winner": 19,
            "decision": 1
        },
        "points": {
            "teama": {
                "playing11": [
                    {
                        "pid": "159",
                        "name": "Quinton de Kock",
                        "role": "wk",
                        "rating": "9.5",
                        "point": "61",
                        "starting11": "4",
                        "run": "27",
                        "four": "2",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "16",
                        "runoutstumping": "12",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "12",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "167",
                        "name": "David Miller",
                        "role": "bat",
                        "rating": "8.5",
                        "point": "6",
                        "starting11": "4",
                        "run": "2",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "46117",
                        "name": "Aiden Markram",
                        "role": "bat",
                        "rating": "8.5",
                        "point": "33",
                        "starting11": "4",
                        "run": "4",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "25",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "46126",
                        "name": "Tabraiz Shamsi",
                        "role": "bowl",
                        "rating": "9",
                        "point": "58",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "50",
                        "maidenover": "4",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "46131",
                        "name": "Lungi Ngidi",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "54",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "50",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "46135",
                        "name": "Rassie van der Dussen",
                        "role": "bat",
                        "rating": "9",
                        "point": "170",
                        "starting11": "4",
                        "run": "129",
                        "four": "9",
                        "six": "8",
                        "sr": "4",
                        "fifty": "8",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "8",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "46139",
                        "name": "Temba Bavuma",
                        "role": "bat",
                        "rating": "9",
                        "point": "146",
                        "starting11": "4",
                        "run": "110",
                        "four": "8",
                        "six": "0",
                        "sr": "0",
                        "fifty": "8",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "16",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "49706",
                        "name": "Keshav Maharaj",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "39",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "25",
                        "maidenover": "0",
                        "er": "2",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "8"
                    },
                    {
                        "pid": "53000",
                        "name": "Andile Phehlukwayo",
                        "role": "all",
                        "rating": "8.5",
                        "point": "62",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "50",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "8"
                    },
                    {
                        "pid": "56239",
                        "name": "Janneman Malan",
                        "role": "bat",
                        "rating": "9",
                        "point": "11",
                        "starting11": "4",
                        "run": "6",
                        "four": "1",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "60394",
                        "name": "Marco Jansen",
                        "role": "all",
                        "rating": "8",
                        "point": "4",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    }
                ],
                "substitute": [
                    {
                        "pid": "406",
                        "name": "Wayne Parnell",
                        "role": "all",
                        "rating": "8.5",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "1026",
                        "name": "Kyle Verreynne",
                        "role": "wk",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "47476",
                        "name": "Zubayr Hamza",
                        "role": "bat",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "47483",
                        "name": "George Linde",
                        "role": "all",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "52975",
                        "name": "Sisanda Magala",
                        "role": "bowl",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "90298",
                        "name": "Dwaine Pretorius",
                        "role": "all",
                        "rating": "8.5",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    }
                ]
            },
            "teamb": {
                "playing11": [
                    {
                        "pid": "117",
                        "name": "Shikhar Dhawan",
                        "role": "bat",
                        "rating": "9.5",
                        "point": "97",
                        "starting11": "4",
                        "run": "79",
                        "four": "10",
                        "six": "0",
                        "sr": "0",
                        "fifty": "4",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "119",
                        "name": "Virat Kohli",
                        "role": "bat",
                        "rating": "10.5",
                        "point": "62",
                        "starting11": "4",
                        "run": "51",
                        "four": "3",
                        "six": "0",
                        "sr": "0",
                        "fifty": "4",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "129",
                        "name": "Ravichandran Ashwin",
                        "role": "all",
                        "rating": "8.5",
                        "point": "44",
                        "starting11": "4",
                        "run": "7",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "25",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "8"
                    },
                    {
                        "pid": "434",
                        "name": "Bhuvneshwar Kumar",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "8",
                        "starting11": "4",
                        "run": "4",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "607",
                        "name": "Jasprit Bumrah",
                        "role": "bowl",
                        "rating": "9",
                        "point": "69",
                        "starting11": "4",
                        "run": "14",
                        "four": "1",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "50",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "620",
                        "name": "Shreyas Iyer",
                        "role": "bat",
                        "rating": "8.5",
                        "point": "22",
                        "starting11": "4",
                        "run": "17",
                        "four": "1",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "654",
                        "name": "Yuzvendra Chahal",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "4",
                        "starting11": "4",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "661",
                        "name": "KL Rahul",
                        "role": "bat",
                        "rating": "9.5",
                        "point": "24",
                        "starting11": "4",
                        "run": "12",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "8",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "810",
                        "name": "Shardul Thakur",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "67",
                        "starting11": "4",
                        "run": "50",
                        "four": "5",
                        "six": "2",
                        "sr": "0",
                        "fifty": "4",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "4",
                        "er": "-2",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "1098",
                        "name": "Rishabh Pant",
                        "role": "wk",
                        "rating": "9",
                        "point": "29",
                        "starting11": "4",
                        "run": "16",
                        "four": "1",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "8",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "55705",
                        "name": "Venkatesh Iyer",
                        "role": "all",
                        "rating": "8",
                        "point": "18",
                        "starting11": "4",
                        "run": "2",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "12",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "12",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    }
                ],
                "substitute": [
                    {
                        "pid": "598",
                        "name": "Suryakumar Yadav",
                        "role": "bat",
                        "rating": "8.5",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "851",
                        "name": "Jayant Yadav",
                        "role": "all",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "1097",
                        "name": "Ishan Kishan",
                        "role": "wk",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "53819",
                        "name": "Deepak Chahar",
                        "role": "bowl",
                        "rating": "8.5",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "53988",
                        "name": "Navdeep Saini",
                        "role": "bowl",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "90233",
                        "name": "Prasidh Krishna",
                        "role": "bowl",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "90363",
                        "name": "Ruturaj Gaikwad",
                        "role": "bat",
                        "rating": "8.5",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    },
                    {
                        "pid": "90381",
                        "name": "Mohammed Siraj",
                        "role": "bowl",
                        "rating": "8",
                        "point": "0",
                        "starting11": "0",
                        "run": "0",
                        "four": "0",
                        "six": "0",
                        "sr": "0",
                        "fifty": "0",
                        "duck": "0",
                        "wkts": "0",
                        "maidenover": "0",
                        "er": "0",
                        "catch": "0",
                        "runoutstumping": "0",
                        "runoutthrower": "0",
                        "runoutcatcher": "0",
                        "directrunout": "0",
                        "stumping": "0",
                        "thirty": "0",
                        "bonus": "0",
                        "bonuscatch": "0",
                        "bonusbowedlbw": "0"
                    }
                ]
            }
        }
    },
    "etag": "9bb20ed81b16b7370be2a8eb586e676a",
    "modified": "2022-01-19 17:03:33",
    "datetime": "2022-01-21 15:51:17",
    "api_version": "2.0"
}

Match Fantasy Points API provide player fantasy points value based on match performance.

Request

Parameter Value Description
token string API access token

Response

Reference

Parameter Value Description
match_id interger match id
title string match name/title
subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
format interger numerical representation of match format. see match_formats reference.
format_str string match format name
status string numerical representation of match status. see match_statuss reference.
status_str string match status name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
game_state string numerical representation of match game_state. game state is available for live match only.
game_state_str string match game_state name.
competition array an array of parent competition details of the match, see competition object properties.
team array an array of teams participating in the match, see team match properties.
date_start date match start date in GMT(UTC +0)
date_end date match end date in GMT(UTC +0)
timestamp_start integer match start timestamp in GMT(UTC +0)
timestamp_end integer match end timestamp in GMT(UTC +0)
venue array an array of venue details of the match, see venue object properties.
umpires string umpires of the match.
referee string referee of the match.
equation string match result condition.
live string live match status note.
win_margin string match win margin.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
latest_inning_number interger latest or active innings number.
toss array an array of toss details of the match, see toss object properties.
points array an array of details player fantasy points team wise based on match performance see points properties.

Competition Properties

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
country string Country ISO Code
type string competition type, possible values are tour, tournament, series

Team Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
logo_url string team logo url
scores_full string team full score
scores string team score
overs string overs played by team

Venue Properties

Parameter Value Description
name string Venue name/title
location string City Name
timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

Toss Properties

Parameter Value Description
text string Toss result text with team name
winner integer team id of toss winning team
decision integer numerical representation of decision made by toss winning team.

Points Properties

Parameter Value Description
teama array Team A player list details. see teama properties.
teamb array Team B player list details. see teamb properties.

Team A/Team B Properties

Parameter Value Description
playing11 array player list details of which are included in playing 11. see playing11 properties.
substitute array player list details of which are not included in playing 11. see substitute properties.

playing11/substitute Properties

Parameter Value Description
pid string player id
name string player name
role string player match playing role
rating string player salary credits
point string player fantasy points based on match performance
starting11 string player fantasy points for part of starting11
run string player fantasy points for runs scorecard
four string player fantasy points for number of 4s
six string player fantasy points for number of 6s
sr string player fantasy points for strike rate
fifty string player fantasy points for 50 runs scored
duck string player fantasy points for 0 run scored
wkts string player fantasy points for wickets taken
maidenover string player fantasy for maiden over
er string player fantasy points for economy rate
catch string player fantasy points for catches taken
runoutstumping string player fantasy points runouts and stumping

Match Scorecard API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/scorecard?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "match_id": 39176,
        "title": "New Zealand vs Pakistan",
        "subtitle": "3rd Test",
        "format": 2,
        "format_str": "Test",
        "status": 3,
        "status_str": "Live",
        "status_note": "Stumps - Day 4 - New Zealand lead by 198 runs with 6 wickets remaining",
        "verified": "false",
        "pre_squad": "true",
        "game_state": 7,
        "game_state_str": "Day Break",
        "competition": {
            "cid": 111608,
            "title": "New Zealand tour of United Arab Emirates",
            "abbr": "nztouae-1819",
            "type": "tour",
            "category": "international",
            "match_format": "mixed",
            "status": "live",
            "season": "2018/19",
            "datestart": "2018-10-31",
            "dateend": "2018-12-07",
            "total_matches": "9",
            "total_rounds": "3",
            "total_teams": "2",
            "country": "int"
        },
        "teama": {
            "team_id": 7,
            "name": "New Zealand",
            "short_name": "NZ",
            "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/new-zealand.png",
            "scores_full": "274/10 & *272/4 (104 ov)",
            "scores": "272/4",
            "overs": "104"
        },
        "teamb": {
            "team_id": 13,
            "name": "Pakistan",
            "short_name": "PAK",
            "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/pakistan.png",
            "scores_full": "348/10 (135 ov)",
            "scores": "348/10",
            "overs": "135"
        },
        "date_start": "2018-12-03 06:00:00",
        "date_end": "2018-12-07 18:00:00",
        "timestamp_start": 1543816800,
        "timestamp_end": 1544205600,
        "venue": {
            "name": "Sheikh Zayed Stadium",
            "location": "Abu Dhabi",
            "timezone": "-12"
        },
        "umpires": "Bruce Oxenford (Australia, TV), Ian Gould (England), Paul Reiffel (Australia)",
        "referee": "Javagal Srinath (India)",
        "equation": "",
        "live": "Stumps - Day 4 - New Zealand lead by 198 runs with 6 wickets remaining",
        "result": "",
        "win_margin": "",
        "winning_team_id": 0,
        "commentary": 1,
        "wagon": 1,
        "latest_inning_number": 3,
        "toss": {
            "text": "New Zealand won the toss & elected to bat",
            "winner": 7,
            "decision": 1
        },
        "current_over": "",
        "previous_over": "",
        "man_of_the_match": "",
        "man_of_the_series": "",
        "is_followon": 0,
        "team_batting_first": "",
        "team_batting_second": "",
        "last_five_overs": "",
        "live_inning_number": "",
        "innings": [
            {
                "iid": 90613,
                "number": 1,
                "name": "New Zealand inning",
                "short_name": "NZ inn.",
                "status": 2,
                "result": 1,
                "batting_team_id": 7,
                "fielding_team_id": 13,
                "scores": "274/10",
                "scores_full": "274/10 (116.1 ov)",
                "batsmen": [
                    {
                        "batsman_id": "16622",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "45",
                        "balls_faced": "82",
                        "fours": "4",
                        "sixes": "0",
                        "run0": "59",
                        "run1": "11",
                        "run2": "6",
                        "run3": "2",
                        "run5": "0",
                        "how_out": "lbw b Yasir Shah",
                        "dismissal": "lbw",
                        "strike_rate": "54.87",
                        "bowler_id": "153",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "44185",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "4",
                        "balls_faced": "11",
                        "fours": "1",
                        "sixes": "0",
                        "run0": "10",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "lbw b Shaheen Shah Afridi",
                        "dismissal": "lbw",
                        "strike_rate": "36.36",
                        "bowler_id": "92991",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "31",
                        "batting": "false",
                        "position": "",
                        "role": "cap",
                        "role_str": " (C)",
                        "runs": "89",
                        "balls_faced": "176",
                        "fours": "7",
                        "sixes": "0",
                        "run0": "130",
                        "run1": "26",
                        "run2": "4",
                        "run3": "9",
                        "run5": "0",
                        "how_out": "c Asad Shafiq b Hasan Ali",
                        "dismissal": "caught",
                        "strike_rate": "50.56",
                        "bowler_id": "44099",
                        "first_fielder_id": "44087",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "33",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "0",
                        "balls_faced": "1",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "1",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "b Yasir Shah",
                        "dismissal": "bowled",
                        "strike_rate": "0.00",
                        "bowler_id": "153",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "1967",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "1",
                        "balls_faced": "13",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "12",
                        "run1": "1",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "b Yasir Shah",
                        "dismissal": "bowled",
                        "strike_rate": "7.69",
                        "bowler_id": "153",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "49062",
                        "batting": "false",
                        "position": "",
                        "role": "wk",
                        "role_str": " (WK)",
                        "runs": "77",
                        "balls_faced": "250",
                        "fours": "4",
                        "sixes": "0",
                        "run0": "199",
                        "run1": "36",
                        "run2": "8",
                        "run3": "3",
                        "run5": "0",
                        "how_out": "Not out",
                        "dismissal": "",
                        "strike_rate": "30.80",
                        "bowler_id": "",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "16630",
                        "batting": "false",
                        "position": "",
                        "role": "all",
                        "role_str": "",
                        "runs": "20",
                        "balls_faced": "22",
                        "fours": "1",
                        "sixes": "1",
                        "run0": "13",
                        "run1": "4",
                        "run2": "3",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c Asad Shafiq b Bilal Asif",
                        "dismissal": "caught",
                        "strike_rate": "90.90",
                        "bowler_id": "43373",
                        "first_fielder_id": "44087",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "43",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "2",
                        "balls_faced": "9",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "7",
                        "run1": "2",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c Babar Azam b Bilal Asif",
                        "dismissal": "caught",
                        "strike_rate": "22.22",
                        "bowler_id": "43373",
                        "first_fielder_id": "43371",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "43607",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "12",
                        "balls_faced": "99",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "90",
                        "run1": "7",
                        "run2": "1",
                        "run3": "1",
                        "run5": "0",
                        "how_out": "b Bilal Asif",
                        "dismissal": "bowled",
                        "strike_rate": "12.12",
                        "bowler_id": "43373",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "46314",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "6",
                        "balls_faced": "25",
                        "fours": "1",
                        "sixes": "0",
                        "run0": "22",
                        "run1": "2",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c Asad Shafiq b Bilal Asif",
                        "dismissal": "caught",
                        "strike_rate": "24.00",
                        "bowler_id": "43373",
                        "first_fielder_id": "44087",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "47",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "1",
                        "balls_faced": "9",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "8",
                        "run1": "1",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "b Bilal Asif",
                        "dismissal": "bowled",
                        "strike_rate": "11.11",
                        "bowler_id": "43373",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    }
                ],
                "bowlers": [
                    {
                        "bowler_id": "44099",
                        "bowling": "false",
                        "position": "",
                        "overs": "20",
                        "maidens": "6",
                        "runs_conceded": "58",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.90",
                        "run0": "94"
                    },
                    {
                        "bowler_id": "92991",
                        "bowling": "false",
                        "position": "",
                        "overs": "23",
                        "maidens": "6",
                        "runs_conceded": "52",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.26",
                        "run0": "114"
                    },
                    {
                        "bowler_id": "153",
                        "bowling": "false",
                        "position": "",
                        "overs": "41",
                        "maidens": "11",
                        "runs_conceded": "75",
                        "wickets": "3",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "1.82",
                        "run0": "196"
                    },
                    {
                        "bowler_id": "43373",
                        "bowling": "false",
                        "position": "",
                        "overs": "30.1",
                        "maidens": "4",
                        "runs_conceded": "65",
                        "wickets": "5",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.15",
                        "run0": "139"
                    },
                    {
                        "bowler_id": "141",
                        "bowling": "false",
                        "position": "",
                        "overs": "2",
                        "maidens": "0",
                        "runs_conceded": "7",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "3.50",
                        "run0": "8"
                    }
                ],
                "fielder": [
                    {
                        "fielder_id": "44087",
                        "fielder_name": "Asad Shafiq",
                        "catches": 3,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "43371",
                        "fielder_name": "Babar Azam",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    }
                ],
                "fows": [
                    {
                        "batsman_id": "44185",
                        "runs": "4",
                        "balls": "11",
                        "how_out": "lbw b Shaheen Shah Afridi",
                        "score_at_dismissal": 24,
                        "overs_at_dismissal": "5.4",
                        "bowler_id": "92991",
                        "dismissal": "lbw",
                        "number": 1
                    },
                    {
                        "batsman_id": "16622",
                        "runs": "45",
                        "balls": "82",
                        "how_out": "lbw b Yasir Shah",
                        "score_at_dismissal": 70,
                        "overs_at_dismissal": "22.2",
                        "bowler_id": "153",
                        "dismissal": "lbw",
                        "number": 2
                    },
                    {
                        "batsman_id": "33",
                        "runs": "0",
                        "balls": "1",
                        "how_out": "b Yasir Shah",
                        "score_at_dismissal": 70,
                        "overs_at_dismissal": "22.3",
                        "bowler_id": "153",
                        "dismissal": "bowled",
                        "number": 3
                    },
                    {
                        "batsman_id": "1967",
                        "runs": "1",
                        "balls": "13",
                        "how_out": "b Yasir Shah",
                        "score_at_dismissal": 72,
                        "overs_at_dismissal": "26.3",
                        "bowler_id": "153",
                        "dismissal": "bowled",
                        "number": 4
                    },
                    {
                        "batsman_id": "31",
                        "runs": "89",
                        "balls": "176",
                        "how_out": "c Asad Shafiq b Hasan Ali",
                        "score_at_dismissal": 176,
                        "overs_at_dismissal": "67.6",
                        "bowler_id": "44099",
                        "dismissal": "caught",
                        "number": 5
                    },
                    {
                        "batsman_id": "16630",
                        "runs": "20",
                        "balls": "22",
                        "how_out": "c Asad Shafiq b Bilal Asif",
                        "score_at_dismissal": 203,
                        "overs_at_dismissal": "76.2",
                        "bowler_id": "43373",
                        "dismissal": "caught",
                        "number": 6
                    },
                    {
                        "batsman_id": "43",
                        "runs": "2",
                        "balls": "9",
                        "how_out": "c Babar Azam b Bilal Asif",
                        "score_at_dismissal": 209,
                        "overs_at_dismissal": "78.2",
                        "bowler_id": "43373",
                        "dismissal": "caught",
                        "number": 7
                    },
                    {
                        "batsman_id": "43607",
                        "runs": "12",
                        "balls": "99",
                        "how_out": "b Bilal Asif",
                        "score_at_dismissal": 254,
                        "overs_at_dismissal": "106.5",
                        "bowler_id": "43373",
                        "dismissal": "bowled",
                        "number": 8
                    },
                    {
                        "batsman_id": "46314",
                        "runs": "6",
                        "balls": "25",
                        "how_out": "c Asad Shafiq b Bilal Asif",
                        "score_at_dismissal": 272,
                        "overs_at_dismissal": "114.2",
                        "bowler_id": "43373",
                        "dismissal": "caught",
                        "number": 9
                    },
                    {
                        "batsman_id": "47",
                        "runs": "1",
                        "balls": "9",
                        "how_out": "b Bilal Asif",
                        "score_at_dismissal": 274,
                        "overs_at_dismissal": "116.1",
                        "bowler_id": "43373",
                        "dismissal": "bowled",
                        "number": 10
                    }
                ],
                "last_wicket": {
                    "batsman_id": "47",
                    "runs": "1",
                    "balls": "9",
                    "how_out": "b Bilal Asif",
                    "score_at_dismissal": 274,
                    "overs_at_dismissal": "116.1",
                    "bowler_id": "43373",
                    "dismissal": "bowled",
                    "number": 10
                },
                "extra_runs": {
                    "byes": 11,
                    "legbyes": 6,
                    "wides": 0,
                    "noballs": 0,
                    "penalty": "",
                    "total": 17
                },
                "equations": {
                    "runs": 274,
                    "wickets": 10,
                    "overs": "116.1",
                    "bowlers_used": 5,
                    "runrate": "2.35"
                },
                "current_partnership": {
                    "runs": 2,
                    "balls": 11,
                    "overs": 1.5,
                    "batsmen": [
                        {
                            "batsman_id": 49062,
                            "runs": 1,
                            "balls": 2
                        },
                        {
                            "batsman_id": 47,
                            "runs": 1,
                            "balls": 9
                        }
                    ]
                }
            },
            {
                "iid": 90614,
                "number": 2,
                "name": "Pakistan inning",
                "short_name": "PAK inn.",
                "status": 2,
                "result": 1,
                "batting_team_id": 13,
                "fielding_team_id": 7,
                "scores": "348/10",
                "scores_full": "348/10 (135 ov)",
                "batsmen": [
                    {
                        "batsman_id": "45199",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "9",
                        "balls_faced": "18",
                        "fours": "2",
                        "sixes": "0",
                        "run0": "15",
                        "run1": "1",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c TG Southee b TA Boult",
                        "dismissal": "caught",
                        "strike_rate": "50.00",
                        "bowler_id": "47",
                        "first_fielder_id": "43",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "1748",
                        "batting": "false",
                        "position": "",
                        "role": "all",
                        "role_str": "",
                        "runs": "0",
                        "balls_faced": "4",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "4",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c TG Southee b TA Boult",
                        "dismissal": "caught",
                        "strike_rate": "0.00",
                        "bowler_id": "47",
                        "first_fielder_id": "43",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "44050",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "134",
                        "balls_faced": "297",
                        "fours": "12",
                        "sixes": "0",
                        "run0": "217",
                        "run1": "54",
                        "run2": "10",
                        "run3": "4",
                        "run5": "0",
                        "how_out": "c AY Patel b WER Somerville",
                        "dismissal": "caught",
                        "strike_rate": "45.11",
                        "bowler_id": "43607",
                        "first_fielder_id": "46314",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "141",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "34",
                        "balls_faced": "91",
                        "fours": "2",
                        "sixes": "0",
                        "run0": "72",
                        "run1": "10",
                        "run2": "5",
                        "run3": "2",
                        "run5": "0",
                        "how_out": "c BJ Watling b TG Southee",
                        "dismissal": "caught",
                        "strike_rate": "37.36",
                        "bowler_id": "43",
                        "first_fielder_id": "49062",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "44087",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "104",
                        "balls_faced": "259",
                        "fours": "14",
                        "sixes": "0",
                        "run0": "206",
                        "run1": "31",
                        "run2": "7",
                        "run3": "1",
                        "run5": "0",
                        "how_out": "lbw b AY Patel",
                        "dismissal": "lbw",
                        "strike_rate": "40.15",
                        "bowler_id": "46314",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "43371",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "14",
                        "balls_faced": "25",
                        "fours": "2",
                        "sixes": "0",
                        "run0": "18",
                        "run1": "4",
                        "run2": "1",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "b WER Somerville",
                        "dismissal": "bowled",
                        "strike_rate": "56.00",
                        "bowler_id": "43607",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "442",
                        "batting": "false",
                        "position": "",
                        "role": "wkcap",
                        "role_str": " (WK/C)",
                        "runs": "25",
                        "balls_faced": "60",
                        "fours": "2",
                        "sixes": "0",
                        "run0": "42",
                        "run1": "15",
                        "run2": "1",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "c JA Raval b WER Somerville",
                        "dismissal": "caught",
                        "strike_rate": "41.66",
                        "bowler_id": "43607",
                        "first_fielder_id": "16622",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "43373",
                        "batting": "false",
                        "position": "",
                        "role": "all",
                        "role_str": "",
                        "runs": "11",
                        "balls_faced": "28",
                        "fours": "1",
                        "sixes": "0",
                        "run0": "23",
                        "run1": "2",
                        "run2": "1",
                        "run3": "1",
                        "run5": "0",
                        "how_out": "c LRPL Taylor b AY Patel",
                        "dismissal": "caught",
                        "strike_rate": "39.28",
                        "bowler_id": "46314",
                        "first_fielder_id": "33",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "153",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "1",
                        "balls_faced": "25",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "24",
                        "run1": "1",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "runout (WER Somerville / C de Grandhomme)",
                        "dismissal": "runout",
                        "strike_rate": "4.00",
                        "bowler_id": "",
                        "first_fielder_id": "16630",
                        "second_fielder_id": "43607",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "44099",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "0",
                        "balls_faced": "2",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "2",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "b WER Somerville",
                        "dismissal": "bowled",
                        "strike_rate": "0.00",
                        "bowler_id": "43607",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "92991",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "0",
                        "balls_faced": "2",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "2",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "Not out",
                        "dismissal": "",
                        "strike_rate": "0.00",
                        "bowler_id": "",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    }
                ],
                "bowlers": [
                    {
                        "bowler_id": "43",
                        "bowling": "false",
                        "position": "",
                        "overs": "25",
                        "maidens": "5",
                        "runs_conceded": "56",
                        "wickets": "1",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.24",
                        "run0": "118"
                    },
                    {
                        "bowler_id": "47",
                        "bowling": "false",
                        "position": "",
                        "overs": "26",
                        "maidens": "7",
                        "runs_conceded": "66",
                        "wickets": "2",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.53",
                        "run0": "124"
                    },
                    {
                        "bowler_id": "16630",
                        "bowling": "false",
                        "position": "",
                        "overs": "13",
                        "maidens": "2",
                        "runs_conceded": "36",
                        "wickets": "0",
                        "noballs": "1",
                        "wides": "0",
                        "econ": "2.76",
                        "run0": "62"
                    },
                    {
                        "bowler_id": "46314",
                        "bowling": "false",
                        "position": "",
                        "overs": "35",
                        "maidens": "5",
                        "runs_conceded": "100",
                        "wickets": "2",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.85",
                        "run0": "155"
                    },
                    {
                        "bowler_id": "43607",
                        "bowling": "false",
                        "position": "",
                        "overs": "36",
                        "maidens": "8",
                        "runs_conceded": "75",
                        "wickets": "4",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.08",
                        "run0": "166"
                    }
                ],
                "fielder": [
                    {
                        "fielder_id": "43",
                        "fielder_name": "Tim Southee",
                        "catches": 2,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "46314",
                        "fielder_name": "Ajaz Patel",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "49062",
                        "fielder_name": "BJ Watling",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "16622",
                        "fielder_name": "Jeet Raval",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "33",
                        "fielder_name": "Ross Taylor",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "16630",
                        "fielder_name": "Colin de Grandhomme",
                        "catches": 0,
                        "runout_thrower": 1,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "43607",
                        "fielder_name": "William Somerville",
                        "catches": 0,
                        "runout_thrower": 0,
                        "runout_catcher": 1,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    }
                ],
                "fows": [
                    {
                        "batsman_id": "1748",
                        "runs": "0",
                        "balls": "4",
                        "how_out": "c TG Southee b TA Boult",
                        "score_at_dismissal": 0,
                        "overs_at_dismissal": 1.4,
                        "bowler_id": "47",
                        "dismissal": "caught",
                        "number": 1
                    },
                    {
                        "batsman_id": "45199",
                        "runs": "9",
                        "balls": "18",
                        "how_out": "c TG Southee b TA Boult",
                        "score_at_dismissal": 17,
                        "overs_at_dismissal": "5.2",
                        "bowler_id": "47",
                        "dismissal": "caught",
                        "number": 2
                    },
                    {
                        "batsman_id": "141",
                        "runs": "34",
                        "balls": "91",
                        "how_out": "c BJ Watling b TG Southee",
                        "score_at_dismissal": 85,
                        "overs_at_dismissal": "34.5",
                        "bowler_id": "43",
                        "dismissal": "caught",
                        "number": 3
                    },
                    {
                        "batsman_id": "44050",
                        "runs": "134",
                        "balls": "297",
                        "how_out": "c AY Patel b WER Somerville",
                        "score_at_dismissal": 286,
                        "overs_at_dismissal": "106.5",
                        "bowler_id": "43607",
                        "dismissal": "caught",
                        "number": 4
                    },
                    {
                        "batsman_id": "44087",
                        "runs": "104",
                        "balls": "259",
                        "how_out": "lbw b AY Patel",
                        "score_at_dismissal": 304,
                        "overs_at_dismissal": "113.4",
                        "bowler_id": "46314",
                        "dismissal": "lbw",
                        "number": 5
                    },
                    {
                        "batsman_id": "43371",
                        "runs": "14",
                        "balls": "25",
                        "how_out": "b WER Somerville",
                        "score_at_dismissal": 312,
                        "overs_at_dismissal": "118.3",
                        "bowler_id": "43607",
                        "dismissal": "bowled",
                        "number": 6
                    },
                    {
                        "batsman_id": "43373",
                        "runs": "11",
                        "balls": "28",
                        "how_out": "c LRPL Taylor b AY Patel",
                        "score_at_dismissal": 333,
                        "overs_at_dismissal": "125.5",
                        "bowler_id": "46314",
                        "dismissal": "caught",
                        "number": 7
                    },
                    {
                        "batsman_id": "153",
                        "runs": "1",
                        "balls": "25",
                        "how_out": "runout (WER Somerville / C de Grandhomme)",
                        "score_at_dismissal": 346,
                        "overs_at_dismissal": "132.1",
                        "bowler_id": "",
                        "dismissal": "runout",
                        "number": 8
                    },
                    {
                        "batsman_id": "44099",
                        "runs": "0",
                        "balls": "2",
                        "how_out": "b WER Somerville",
                        "score_at_dismissal": 347,
                        "overs_at_dismissal": "132.6",
                        "bowler_id": "43607",
                        "dismissal": "bowled",
                        "number": 9
                    },
                    {
                        "batsman_id": "442",
                        "runs": "25",
                        "balls": "60",
                        "how_out": "c JA Raval b WER Somerville",
                        "score_at_dismissal": 348,
                        "overs_at_dismissal": "134.6",
                        "bowler_id": "43607",
                        "dismissal": "caught",
                        "number": 10
                    }
                ],
                "last_wicket": {
                    "batsman_id": "442",
                    "runs": "25",
                    "balls": "60",
                    "how_out": "c JA Raval b WER Somerville",
                    "score_at_dismissal": 348,
                    "overs_at_dismissal": "134.6",
                    "bowler_id": "43607",
                    "dismissal": "caught",
                    "number": 10
                },
                "extra_runs": {
                    "byes": 6,
                    "legbyes": 9,
                    "wides": 0,
                    "noballs": 1,
                    "penalty": "",
                    "total": 16
                },
                "equations": {
                    "runs": 348,
                    "wickets": 10,
                    "overs": "135",
                    "bowlers_used": 5,
                    "runrate": "2.57"
                },
                "current_partnership": {
                    "runs": 1,
                    "balls": 12,
                    "overs": 2,
                    "batsmen": [
                        {
                            "batsman_id": 442,
                            "runs": 1,
                            "balls": 10
                        },
                        {
                            "batsman_id": 92991,
                            "runs": 0,
                            "balls": 2
                        }
                    ]
                }
            },
            {
                "iid": 90623,
                "number": 3,
                "name": "New Zealand inning",
                "short_name": "NZ inn.",
                "status": 3,
                "result": 0,
                "batting_team_id": 7,
                "fielding_team_id": 13,
                "scores": "272/4",
                "scores_full": "272/4 (104 ov)",
                "batsmen": [
                    {
                        "batsman_id": "16622",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "0",
                        "balls_faced": "15",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "15",
                        "run1": "0",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "lbw b Shaheen Shah Afridi",
                        "dismissal": "lbw",
                        "strike_rate": "0.00",
                        "bowler_id": "92991",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "44185",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "10",
                        "balls_faced": "37",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "30",
                        "run1": "5",
                        "run2": "1",
                        "run3": "1",
                        "run5": "0",
                        "how_out": "c Haris Sohail b Yasir Shah",
                        "dismissal": "caught",
                        "strike_rate": "27.02",
                        "bowler_id": "153",
                        "first_fielder_id": "141",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "31",
                        "batting": "true",
                        "position": "striker",
                        "role": "cap",
                        "role_str": " (C)",
                        "runs": "139",
                        "balls_faced": "282",
                        "fours": "13",
                        "sixes": "0",
                        "run0": "210",
                        "run1": "41",
                        "run2": "9",
                        "run3": "8",
                        "run5": "0",
                        "how_out": "Not out",
                        "dismissal": "",
                        "strike_rate": "49.29",
                        "bowler_id": "",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "43607",
                        "batting": "false",
                        "position": "",
                        "role": "bowl",
                        "role_str": "",
                        "runs": "4",
                        "balls_faced": "34",
                        "fours": "0",
                        "sixes": "0",
                        "run0": "30",
                        "run1": "4",
                        "run2": "0",
                        "run3": "0",
                        "run5": "0",
                        "how_out": "lbw b Yasir Shah",
                        "dismissal": "lbw",
                        "strike_rate": "11.76",
                        "bowler_id": "153",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "33",
                        "batting": "false",
                        "position": "",
                        "role": "bat",
                        "role_str": "",
                        "runs": "22",
                        "balls_faced": "14",
                        "fours": "4",
                        "sixes": "0",
                        "run0": "7",
                        "run1": "1",
                        "run2": "1",
                        "run3": "1",
                        "run5": "0",
                        "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                        "dismissal": "caught",
                        "strike_rate": "157.14",
                        "bowler_id": "92991",
                        "first_fielder_id": "43373",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    },
                    {
                        "batsman_id": "1967",
                        "batting": "true",
                        "position": "non-striker",
                        "role": "bat",
                        "role_str": "",
                        "runs": "90",
                        "balls_faced": "243",
                        "fours": "8",
                        "sixes": "0",
                        "run0": "191",
                        "run1": "32",
                        "run2": "10",
                        "run3": "2",
                        "run5": "0",
                        "how_out": "Not out",
                        "dismissal": "",
                        "strike_rate": "37.03",
                        "bowler_id": "",
                        "first_fielder_id": "",
                        "second_fielder_id": "",
                        "third_fielder_id": ""
                    }
                ],
                "bowlers": [
                    {
                        "bowler_id": "44099",
                        "bowling": "false",
                        "position": "",
                        "overs": "13",
                        "maidens": "5",
                        "runs_conceded": "37",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.84",
                        "run0": "65"
                    },
                    {
                        "bowler_id": "92991",
                        "bowling": "false",
                        "position": "",
                        "overs": "16",
                        "maidens": "5",
                        "runs_conceded": "55",
                        "wickets": "2",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "3.43",
                        "run0": "76"
                    },
                    {
                        "bowler_id": "153",
                        "bowling": "true",
                        "position": "last bowler",
                        "overs": "37",
                        "maidens": "8",
                        "runs_conceded": "107",
                        "wickets": "2",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.89",
                        "run0": "160"
                    },
                    {
                        "bowler_id": "43373",
                        "bowling": "true",
                        "position": "active bowler",
                        "overs": "36",
                        "maidens": "6",
                        "runs_conceded": "62",
                        "wickets": "0",
                        "noballs": "1",
                        "wides": "0",
                        "econ": "1.72",
                        "run0": "174"
                    },
                    {
                        "bowler_id": "44050",
                        "bowling": "false",
                        "position": "",
                        "overs": "1",
                        "maidens": "0",
                        "runs_conceded": "2",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "2.00",
                        "run0": "4"
                    },
                    {
                        "bowler_id": "1748",
                        "bowling": "false",
                        "position": "",
                        "overs": "1",
                        "maidens": "0",
                        "runs_conceded": "3",
                        "wickets": "0",
                        "noballs": "0",
                        "wides": "0",
                        "econ": "3.00",
                        "run0": "3"
                    }
                ],
                "fielder": [
                    {
                        "fielder_id": "141",
                        "fielder_name": "Haris Sohail",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    },
                    {
                        "fielder_id": "43373",
                        "fielder_name": "Bilal Asif",
                        "catches": 1,
                        "runout_thrower": 0,
                        "runout_catcher": 0,
                        "runout_direct_hit": 0,
                        "stumping": 0,
                        "is_substitute": "false"
                    }
                ],
                "fows": [
                    {
                        "batsman_id": "16622",
                        "runs": "0",
                        "balls": "15",
                        "how_out": "lbw b Shaheen Shah Afridi",
                        "score_at_dismissal": 1,
                        "overs_at_dismissal": "3.4",
                        "bowler_id": "92991",
                        "dismissal": "lbw",
                        "number": 1
                    },
                    {
                        "batsman_id": "44185",
                        "runs": "10",
                        "balls": "37",
                        "how_out": "c Haris Sohail b Yasir Shah",
                        "score_at_dismissal": 24,
                        "overs_at_dismissal": "11.4",
                        "bowler_id": "153",
                        "dismissal": "caught",
                        "number": 2
                    },
                    {
                        "batsman_id": "43607",
                        "runs": "4",
                        "balls": "34",
                        "how_out": "lbw b Yasir Shah",
                        "score_at_dismissal": 37,
                        "overs_at_dismissal": "20.1",
                        "bowler_id": "153",
                        "dismissal": "lbw",
                        "number": 3
                    },
                    {
                        "batsman_id": "33",
                        "runs": "22",
                        "balls": "14",
                        "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                        "score_at_dismissal": 60,
                        "overs_at_dismissal": "23.5",
                        "bowler_id": "92991",
                        "dismissal": "caught",
                        "number": 4
                    }
                ],
                "last_wicket": {
                    "batsman_id": "33",
                    "runs": "22",
                    "balls": "14",
                    "how_out": "c Bilal Asif b Shaheen Shah Afridi",
                    "score_at_dismissal": 60,
                    "overs_at_dismissal": "23.5",
                    "bowler_id": "92991",
                    "dismissal": "caught",
                    "number": 4
                },
                "extra_runs": {
                    "byes": 5,
                    "legbyes": 1,
                    "wides": 0,
                    "noballs": 1,
                    "penalty": "",
                    "total": 7
                },
                "equations": {
                    "runs": 272,
                    "wickets": 4,
                    "overs": "104",
                    "bowlers_used": 6,
                    "runrate": "2.61"
                },
                "current_partnership": {
                    "runs": 212,
                    "balls": 481,
                    "overs": 80.1,
                    "batsmen": [
                        {
                            "batsman_id": 31,
                            "runs": 116,
                            "balls": 239
                        },
                        {
                            "batsman_id": 1967,
                            "runs": 90,
                            "balls": 242
                        }
                    ]
                }
            }
        ],
        "players": [
            {
                "pid": 31,
                "title": "Kane Williamson",
                "short_name": "KS Williamson",
                "first_name": "Kane",
                "last_name": "Williamson",
                "middle_name": "Stuart",
                "birthdate": "1990-08-08",
                "birthplace": "",
                "country": "nz",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm offbreak",
                "fielding_position": "",
                "recent_match": 23994,
                "recent_appearance": 1514786400,
                "fantasy_player_rating": 10,
                "nationality": "New Zealand",
                "role": "cap"
            },
            {
                "pid": 33,
                "title": "Ross Taylor",
                "short_name": "LRPL Taylor",
                "first_name": "Luteru",
                "last_name": "Taylor",
                "middle_name": "Ross Poutoa Lote",
                "birthdate": "1984-03-08",
                "birthplace": "",
                "country": "nz",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm offbreak",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0,
                "fantasy_player_rating": 7.5,
                "nationality": "New Zealand",
                "role": "bat"
            }
        ],
        "odds_available": "true",
        "pre_match_odds": {
            "team": {
                "home": {
                    "odds": "Pakistan"
                },
                "away": {
                    "odds": "New Zealand"
                }
            },
            "3way": [
                {
                    "bookmaker": {
                        "name": "Kambi2",
                        "url": "http://www.unibet.com"
                    },
                    "home": {
                        "odds": "1.60"
                    },
                    "draw": {
                        "odds": "6.75"
                    },
                    "away": {
                        "odds": "3.55"
                    },
                    "type": "3way"
                },
                {
                    "bookmaker": {
                        "name": "WilliamHill",
                        "url": "http://www.williamhill.co.uk"
                    },
                    "home": {
                        "odds": "1.53"
                    },
                    "draw": {
                        "odds": "6.00"
                    },
                    "away": {
                        "odds": "3.75"
                    },
                    "type": "3way"
                },
                {
                    "bookmaker": {
                        "name": "Bet365",
                        "url": "http://www.bet365.co.uk"
                    },
                    "home": {
                        "odds": "1.61"
                    },
                    "draw": {
                        "odds": "6.50"
                    },
                    "away": {
                        "odds": "3.60"
                    },
                    "type": "3way"
                },
                {
                    "bookmaker": {
                        "name": "Betfair",
                        "url": "http://www.betfair.com"
                    },
                    "home": {
                        "odds": "1.64"
                    },
                    "draw": {
                        "odds": "7.20"
                    },
                    "away": {
                        "odds": "3.70"
                    },
                    "layhome": {
                        "odds": "1.66"
                    },
                    "laydraw": {
                        "odds": "7.6"
                    },
                    "layaway": {
                        "odds": "3.9"
                    },
                    "type": "3way"
                }
            ]
        }
    },
    "etag": "6e057dbcd7f853ce2ef598f1a2fd688f",
    "modified": "2018-12-06 14:00:47",
    "datetime": "2018-12-06 14:00:47",
    "api_version": "2.0"
}

Match Scorecard API provide full match scorecard details. This API point includes batting, bowling, fall of wickets, venue, umpires, time, toss information.

Request

Parameter Value Description
token string API access token

Response

Reference

Parameter Value Description
match_id interger match id
title string match name/title
subtitle string contains either the match format + number or important event name, ie: Final, 2nd ODI, 1st Quarterfinal.
format interger numerical representation of match format. see match_formats reference.
format_str string match format name
status string numerical representation of match status. see match_statuss reference.
status_str string match status name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
verified string "true" - Match Data is verified, "false" - Match Data is not verified. For fantasy solutions we suggest keep updating API until you receive verfied: true.
pre_squad string "true" - Fantasy Match Roaster API has managed fantasy credit and player role, "false" - Fantasy Match Roaster API don't have managed fantasy credit and player role.
game_state string numerical representation of match game_state. game state is available for live match only.
game_state_str string match game_state name.
competition array an array of parent competition details of the match, see competition object properties.
team array an array of teams participating in the match, see team match properties.
date_start date match start date in GMT(UTC +0)
date_end date match end date in GMT(UTC +0)
timestamp_start integer match start timestamp in GMT(UTC +0)
timestamp_end integer match end timestamp in GMT(UTC +0)
venue array an array of venue details of the match, see venue object properties.
umpires string umpires of the match.
referee string referee of the match.
equation string match result condition.
live string live match status note.
result string result status note
win_margin string match win margin.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
latest_inning_number interger latest or active innings number.
toss array an array of toss details of the match, see toss object properties.
current_over string current over runs.
previous_over string last over runs.
man_of_the_match object A set of of player objects. see man of the match object properties.
man_of_the_series object A set of player objects. see man of the series object properties.
is_followon interger numerical representation of followon or not for match.
last_five_overs string runs scored and wicket lost in last 5 overs
live_inning_number interger live inning number
innings array an array of innings details. see innings object properties.
players array an array of players details. see player object properties.
odds_available string true = pre match odds available, false = pre match odds not available.
pre_match_odds array An array pre match odds details.

Competition Properties

Parameter Value Description
cid integer competition id
title string competition name/title
abbr string competition name abbreviation
type string competition type, possible values are tour, tournament, series
category string competition category, possible values are international, domestic, youth, women
match_format string played match format. a competition can hold multiple match types, ie odi, test etc. possible values are mixed, odi, test, t20i, firstclass, lista, t20, youthodi, youtht20, womenodi, woment20
status string competition status. possible values are live (currently ongoing), fixture (upcoming), result (completed)
season string competition season name
datestart date competition first match date
dateend date competition last match date
total_matches integer number of total matches
total_rounds integer number of total rounds
total_teams integer number of total teams
country string Country ISO Code

Team Properties

Parameter Value Description
team_id integer team id
name string team name
short_name string team short name
logo_url string team logo url
scores_full string team full score
scores string team score
overs string overs played by team

Venue Properties

Parameter Value Description
name string Venue name/title
location string City Name
timezone string number of hours ahead of GMT if value is positive or number of hours behind GMT if value if negative

Toss Properties

Parameter Value Description
text string Toss result text with team name
winner integer team id of toss winning team
decision integer numerical representation of decision made by toss winning team.

Man of the Match/Series Properties

Parameter Value Description
pid integer player id
name string player name
thumb_url url player image url

Innings Properties

Parameter Value Description
iid integer inning id
number integer inning number
name string inning name
short_name string inning short name
status integer numerical representation of inning status
result integer numerical representation of inning result status
batting_team_id integer team id of batting team
fielding_team_id integer team id of fielding team
scores string team score
scores_full string team full score
batsmen array an array of batsmen objects. see Batsmen Properties
bowlers array an array of bowlers objects. see Bowlers Properties
fielder array an array of fielders objects. see Fielder Properties
fows array an array of fall of wicket object details. see fall of wickets Properties
last_wicket object a set of last wicket object details. see last wicket Properties
extra_runs object a set of extra runs object details extra runs object properties
equations object a set of equations object details equation object properties
current_partnership object a set of current partnership object details. see current partnership Properties

Batsmen Properties

Parameter Value Description
batsman_id integer player id
batting string true means batsman currently batting, false means batsman currently not batting
position string striker, non-striker and empty if batting : false
role string playing role
role_str string playing role captain or wicketkeeper
runs integer runs scored by batsman
balls_faced integer balls faced by batsman
fours integer number of fours runs scored by batsman
sixes integer numbers of sixes runs scored by batsman
run0 integer number of dot balls played by batsman
run1 integer number of times 1 run taken by batsman
run2 integer number of times 2 run taken by batsman
run3 integer number of times 3 run taken by batsman
run5 integer number of times 5 run taken by batsman
how_out string batsman dismissal details
dismissal string dismissal type
strike_rate string strike rate of batsman
bowler_id integer player id
first_fielder integer First Fielder player id
second_fielder integer Second Fielder player id
third_fielder integer Third Fielder player id

Bowlers Properties

Parameter Value Description
bowler_id integer player id
bowling string true means bowler currently bowling, false means bowler currently not bowling
position string active bowler : bowling active over, last bowler : bowled previous over and empty if bowling : false
overs string Number of overs bowled by bowler
maidens integer Number of maiden overs bowled by bowler
runs_conceded integer Number of runs conceded by bowler
wickets integer number of wickets taken by bowler
noballs integer number of no balls bowled by bowler
wides integer number of wides bowled by bowler
econ string economy rate of bowler
run0 integer number of dot balls bowled by bowler

Fielder Properties

Parameter Value Description
fielder_id integer fielder id
fielder_name string fielder name
catches integer Number of catches taken by player in the innings
runout_thrower integer Number of times fielder assisted as thrower in a runout dismissal
runout_catcher integer Number of times fielder assisted as receiver of the ball from another fielder in a runout dismissal to take bails off the wickets
runout_direct_hit integer number of times fielder created a direct hit runout dismissal
is_substitutes string false if fielder is part of playing 11, true if fielder was fielding as substitute

Fall of Wickets Properties

Parameter Value Description
batsman_id integer player id
runs integer Number of runs scored by batsman
balls integer number of balls balls faced by batsman
how_out string batsman dismissal details
score_at_dismissal integer team score at dismissal
overs_at_dismissal string overs at dismissal
bowler_id integer player id
dismissal string dismissal type
number integer wicket order number

Last Wicket Properties

Parameter Value Description
batsman_id integer player id
runs integer Number of runs scored by batsman
balls integer number of balls balls faced by batsman
how_out string batsman dismissal details
score_at_dismissal integer team score at dismissal
overs_at_dismissal string overs at dismissal
bowler_id integer player id
dismissal string dismissal type
number integer wicket order number

Extra Runs Properties

Parameter Value Description
byes integer byes runs
legbyes integer legbyes runs
wides integer wides runs
noballs integer no balls runs
penalty integer penalty runs
total integer total extra runs

Equation Properties

Parameter Value Description
runs integer total runs
wickets integer total wickets
overs string total overs bowled in inning
bowlers_used integer total bowlers used
runrate string inning run rate

Current Partnership Properties

Parameter Value Description
runs integer Total runs scored in partnership
balls integer number of balls faced by batsman during partnership
overs string number of overs for partnership
batsmen array an array of batsmen details participating in partnership see batsmen partership properties

Batsmen Partnership Properties

Parameter Value Description
batsman_id integer player id
runs integer runs scored by batsman
balls integer balls faced by batsman

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
fantasy_player_rating string player fantasy salary or credit rating
role string match playing role

Match Innings Commentary API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/innings/1/commentary?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "match": {
            "status": 2,
            "game_state": 0
        },
        "inning": {
            "iid": 43691,
            "number": 1,
            "name": "India inning",
            "short_name": "INDIA inn.",
            "status": 2,
            "result": 0,
            "batting_team_id": 25,
            "fielding_team_id": 21,
            "scores": "375/5",
            "scores_full": "375/5 (50 ov)",
            "batsmen": [
                {
                    "batsman_id": "115",
                    "role": "bat",
                    "role_str": "",
                    "runs": "104",
                    "balls_faced": "88",
                    "fours": "11",
                    "sixes": "3",
                    "how_out": "c N Dickwella b AD Mathews",
                    "dismissal": "cought",
                    "strike_rate": "118.18"
                },
                {
                    "batsman_id": "117",
                    "role": "bat",
                    "role_str": "",
                    "runs": "4",
                    "balls_faced": "6",
                    "fours": "1",
                    "sixes": "0",
                    "how_out": "c PM Pushpakumara b MVT Fernando",
                    "dismissal": "cought",
                    "strike_rate": "66.66"
                },
                {
                    "batsman_id": "119",
                    "role": "cap",
                    "role_str": " (C)",
                    "runs": "131",
                    "balls_faced": "96",
                    "fours": "17",
                    "sixes": "2",
                    "how_out": "c EMDY Munaweera b SL Malinga",
                    "dismissal": "cought",
                    "strike_rate": "136.45"
                },
                {
                    "batsman_id": "727",
                    "role": "all",
                    "role_str": "",
                    "runs": "19",
                    "balls_faced": "18",
                    "fours": "1",
                    "sixes": "1",
                    "how_out": "c PWH de Silva b AD Mathews",
                    "dismissal": "cought",
                    "strike_rate": "105.55"
                },
                {
                    "batsman_id": "661",
                    "role": "bat",
                    "role_str": "",
                    "runs": "7",
                    "balls_faced": "8",
                    "fours": "0",
                    "sixes": "0",
                    "how_out": "c PWH de Silva b A Dananjaya",
                    "dismissal": "cought",
                    "strike_rate": "87.50"
                },
                {
                    "batsman_id": "597",
                    "role": "bat",
                    "role_str": "",
                    "runs": "50",
                    "balls_faced": "42",
                    "fours": "4",
                    "sixes": "0",
                    "how_out": "not out",
                    "dismissal": "",
                    "strike_rate": "119.04"
                },
                {
                    "batsman_id": "123",
                    "role": "wk",
                    "role_str": " (WK)",
                    "runs": "49",
                    "balls_faced": "42",
                    "fours": "5",
                    "sixes": "1",
                    "how_out": "not out",
                    "dismissal": "",
                    "strike_rate": "116.66"
                }
            ],
            "bowlers": [
                {
                    "bowler_id": "67",
                    "overs": "10.0",
                    "maidens": "0",
                    "runs_conceded": "82",
                    "wickets": "1",
                    "noballs": "0",
                    "wides": "6",
                    "econ": "8.20"
                },
                {
                    "bowler_id": "43985",
                    "overs": "8.0",
                    "maidens": "1",
                    "runs_conceded": "76",
                    "wickets": "1",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "9.50"
                },
                {
                    "bowler_id": "59",
                    "overs": "6.0",
                    "maidens": "2",
                    "runs_conceded": "24",
                    "wickets": "2",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "4.00"
                },
                {
                    "bowler_id": "43743",
                    "overs": "9.0",
                    "maidens": "0",
                    "runs_conceded": "65",
                    "wickets": "0",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "7.22"
                },
                {
                    "bowler_id": "43682",
                    "overs": "10.0",
                    "maidens": "0",
                    "runs_conceded": "68",
                    "wickets": "1",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "6.80"
                },
                {
                    "bowler_id": "1140",
                    "overs": "2.0",
                    "maidens": "0",
                    "runs_conceded": "19",
                    "wickets": "0",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "9.50"
                },
                {
                    "bowler_id": "1732",
                    "overs": "5.0",
                    "maidens": "0",
                    "runs_conceded": "36",
                    "wickets": "0",
                    "noballs": "0",
                    "wides": "0",
                    "econ": "7.20"
                }
            ]
        },
        "commentaries": [
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 67,
                "over": "0",
                "ball": "1",
                "score": 0,
                "commentary": "SL Malinga to RG Sharma, no run"
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 67,
                "over": "0",
                "ball": "2",
                "score": 0,
                "commentary": "SL Malinga to RG Sharma, no run"
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 67,
                "over": "0",
                "ball": "3",
                "score": 1,
                "commentary": "SL Malinga to RG Sharma, 1 run"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 67,
                "over": "0",
                "ball": "4",
                "score": 4,
                "commentary": "SL Malinga to S Dhawan, Four"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 67,
                "over": "0",
                "ball": "5",
                "score": 0,
                "commentary": "SL Malinga to S Dhawan, no run"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 67,
                "over": "0",
                "ball": "6",
                "score": "1lb",
                "commentary": "SL Malinga to S Dhawan, 1 leg bye"
            },
            {
                "event": "overend",
                "over": 1,
                "runs": 5,
                "score": "6/0",
                "bats": [
                    {
                        "runs": 1,
                        "balls_faced": 3,
                        "fours": 0,
                        "sixes": 0,
                        "batsman_id": 115
                    },
                    {
                        "runs": 4,
                        "balls_faced": 3,
                        "fours": 1,
                        "sixes": 0,
                        "batsman_id": 117
                    }
                ],
                "bowls": [
                    {
                        "runs_conceded": 6,
                        "overs": 1,
                        "wickets": 0,
                        "maidens": 0,
                        "bowler_id": 67
                    }
                ],
                "commentary": "End of over 1 (5 runs), India 6/0"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43985,
                "over": "1",
                "ball": "1",
                "score": 0,
                "commentary": "MVT Fernando to S Dhawan, no run"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43985,
                "over": "1",
                "ball": "2",
                "score": 0,
                "commentary": "MVT Fernando to S Dhawan, no run"
            },
            {
                "event": "wicket",
                "batsman_id": 117,
                "bowler_id": 43985,
                "over": "1",
                "ball": "3",
                "score": "w",
                "commentary": "MVT Fernando to S Dhawan, no run",
                "wicket_batsman_id": "117",
                "how_out": "c PM Pushpakumara b MVT Fernando",
                "batsman_runs": "4",
                "batsman_balls": "6"
            },
            {
                "event": "ball",
                "batsman_id": 119,
                "bowler_id": 43985,
                "over": "1",
                "ball": "4",
                "score": 0,
                "commentary": "MVT Fernando to V Kohli, no run"
            },
            {
                "event": "ball",
                "batsman_id": 119,
                "bowler_id": 43985,
                "over": "1",
                "ball": "5",
                "score": 0,
                "commentary": "MVT Fernando to V Kohli, no run"
            },
            {
                "event": "ball",
                "batsman_id": 119,
                "bowler_id": 43985,
                "over": "1",
                "ball": "6",
                "score": 0,
                "commentary": "MVT Fernando to V Kohli, no run"
            },
            {
                "event": "overend",
                "over": 2,
                "runs": 0,
                "score": "6/1",
                "bats": [
                    {
                        "runs": 1,
                        "balls_faced": 3,
                        "fours": 0,
                        "sixes": 0,
                        "batsman_id": 115
                    },
                    {
                        "runs": 0,
                        "balls_faced": 3,
                        "fours": 0,
                        "sixes": 0,
                        "batsman_id": 119
                    }
                ],
                "bowls": [
                    {
                        "runs_conceded": 0,
                        "overs": 1,
                        "wickets": 1,
                        "maidens": 1,
                        "bowler_id": 43985
                    },
                    {
                        "runs_conceded": 6,
                        "overs": 1,
                        "wickets": 0,
                        "maidens": 0,
                        "bowler_id": 67
                    }
                ],
                "commentary": "End of over 2 (Maiden), India 6/1"
            }
        ],
        "teams": [
            {
                "tid": 21,
                "title": "Sri Lanka",
                "players": [],
                "abbr": "SL",
                "thumb_url": "../assets/uploads/2016/01/sri-lanka.png",
                "logo_url": "../assets/uploads/2016/01/sri-lanka-32x32.png",
                "type": "country",
                "country": "lk",
                "alt_name": "Sri Lanka"
            },
            {
                "tid": 25,
                "title": "India",
                "players": [],
                "abbr": "INDIA",
                "thumb_url": "../assets/uploads/2016/01/india.png",
                "logo_url": "../assets/uploads/2016/01/india-32x32.png",
                "type": "country",
                "country": "in",
                "alt_name": "India"
            }
        ],
        "players": [
            {
                "pid": 49,
                "title": "Lahiru Thirimanne",
                "short_name": "HDRL Thirimanne",
                "first_name": "Hettige",
                "last_name": "Thirimanne",
                "middle_name": "Don Rumesh Lahiru",
                "birthdate": "1989-08-09",
                "birthplace": "",
                "country": "lk",
                "primary_team": [],
                "thumb_url": "../assets/uploads/2016/01/thirimanne-120x120.jpg",
                "logo_url": "../assets/uploads/2016/01/thirimanne-32x32.jpg",
                "playing_role": "bat",
                "batting_style": "LHB",
                "bowling_style": "Right-arm medium-fast",
                "fielding_position": "",
                "recent_match": 19898,
                "recent_appearance": 1503824400,
                "role": "bat"
            },
            {
                "pid": 59,
                "title": "Angelo Mathews",
                "short_name": "AD Mathews",
                "first_name": "Angelo",
                "last_name": "Mathews",
                "middle_name": "Davis",
                "birthdate": "1987-06-02",
                "birthplace": "",
                "country": "lk",
                "primary_team": [],
                "thumb_url": "../assets/uploads/2017/07/angelo-mathews-120x120.png",
                "logo_url": "../assets/uploads/2017/07/angelo-mathews-32x32.png",
                "playing_role": "all",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm medium",
                "fielding_position": "",
                "recent_match": 17773,
                "recent_appearance": 1496914200,
                "role": "all"
            }
        ]
    },
    "etag": "c432d189fb8daa89c33d22f686d78da7",
    "modified": "2017-09-02 04:52:52",
    "datetime": "2017-09-02 04:52:52",
    "api_version": "2.0"
}

Match Innings Commentary API provide single inning ball by ball details.

Request

Parameter Value Description
token string API access token

Response

Reference

Parameter Value Description
match object match object details see match object properties.
inning object inning object details see inning object properties.
commentaries array an array of commentary object details see commentary object properties.
teams array an array of teams object details see team object properties.
players array an array of player details objects see player object properties.

Commentary Match Object Properties

Parameter Value Description
status integer numerical representation of match status
game_state integer numerical representation of game state

Inning Object Properties

Parameter Value Description
iid integer inning id
number integer inning number
name string inning name
short_name string inning short name
status integer numerical representation of inning status
result integer numerical representation of result
batting_team_id integer team id of batting team
fielding_team_id integer team id of fielding team
scores string team score
scores_full string team full score
batsmen array an array of batsmen object details. see batsman Properties
bowlers array an array of bowlers object details. see bowler Properties

Batsmen Properties

Parameter Value Description
batsman_id integer player id
role string playing role
role_str string playing role captain or wicketkeeper
runs integer runs scored by batsman
balls_faced integer balls faced by batsman
fours integer number of fours runs scored by batsman
sixes integer numbers of sixes runs scored by batsman
how_out string batsman dismissal details
dismissal string dismissal type
strike_rate string strike rate of batsman

Bowlers Properties

Parameter Value Description
bowler_id integer player id
overs string Number of overs bowled by bowler
maidens integer Number of maiden overs bowled by bowler
runs_conceded integer Number of runs conceded by bowler
wickets integer number of wickets taken by bowler
noballs integer number of no balls bowled by bowler
wides integer number of wides bowled by bowler
econ string economy rate of bowler

Commentary Properties

When event is overend.

Parameter Value Description
event string event overend
over string overs bowled
runs string run scored in over
score string team score
bats object a set of batsman object
bowls string a set of bowler object
commentary string commentary text

When event is ball.

Parameter Value Description
event string event overend
batsman_id integer playing batsman id
bowler_id integer playing bowler id
over string overs bowled
ball integer nth ball of the over
score integer run scored on the ball
commentary string commentary text

When event is wicket.

Parameter Value Description
event string event overend
batsman_id integer playing batsman id
bowler_id integer playing bowler id
over string overs bowled
ball integer nth ball of the over
score integer run scored on the ball
commentary string commentary text
how_out string dismissal of batsman
wicket_batsman_id integer id of dismissed batsman
batsman_runs integer runs scored by batsman in this inning
batsman_balls integer balls faced by batsman in this inning

Teams object properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
type string team type Country(International Team) or Club
country string Country ISO Code
alt_name string team alternative name

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
role string playing role

Match Live API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/live?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "mid": 40152,
        "status": 3,
        "status_str": "Live",
        "game_state": 3,
        "game_state_str": "Play Ongoing",
        "status_note": "  India won the toss and elected to bat",
        "team_batting": "India",
        "team_bowling": "Australia",
        "live_inning_number": 1,
        "live_score": {
            "runs": 12,
            "overs": 2.5,
            "wickets": 0,
            "target": 0,
            "runrate": 4.23,
            "required_runrate": ""
        },
        "batsmen": [
            {
                "name": "RG Sharma",
                "batsman_id": 115,
                "runs": 2,
                "balls_faced": 7,
                "fours": 0,
                "sixes": 0,
                "strike_rate": "28.57"
            },
            {
                "name": "S Dhawan",
                "batsman_id": 117,
                "runs": 10,
                "balls_faced": 10,
                "fours": 2,
                "sixes": 0,
                "strike_rate": "100.00"
            }
        ],
        "bowlers": [
            {
                "name": "PJ Cummins",
                "bowler_id": 388,
                "overs": 1.5,
                "runs_conceded": 12,
                "wickets": 0,
                "maidens": 0,
                "econ": "6.55"
            },
            {
                "name": "JP Behrendorff",
                "bowler_id": 43582,
                "overs": 1,
                "runs_conceded": 0,
                "wickets": 0,
                "maidens": 1,
                "econ": 0
            }
        ],
        "commentary": 1,
        "wagon": 1,
        "commentaries": [
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "0",
                "ball": "1",
                "score": 0,
                "commentary": "PJ Cummins to RG Sharma, no run, length ball angles into the body, play defensive shot",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "0",
                "ball": "2",
                "score": 1,
                "commentary": "PJ Cummins to RG Sharma, 1 run, drives it comes down the ground to mid on",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 388,
                "over": "0",
                "ball": "3",
                "score": 4,
                "commentary": "PJ Cummins to S Dhawan, Four, full, flicks it to leg side",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 388,
                "over": "0",
                "ball": "4",
                "score": 1,
                "commentary": "PJ Cummins to S Dhawan, 1 run, taps it to cover",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "0",
                "ball": "5",
                "score": 0,
                "commentary": "PJ Cummins to RG Sharma, no run, play defensive shot drops short from the fielder",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "0",
                "ball": "6",
                "score": 0,
                "commentary": "PJ Cummins to RG Sharma, no run, drives it to cover",
                "noball_dismissal": false
            },
            {
                "event": "overend",
                "over": 1,
                "runs": 6,
                "score": "6/0",
                "bats": [
                    {
                        "runs": 1,
                        "balls_faced": 4,
                        "fours": 0,
                        "sixes": 0,
                        "batsman_id": 115
                    },
                    {
                        "runs": 5,
                        "balls_faced": 2,
                        "fours": 1,
                        "sixes": 0,
                        "batsman_id": 117
                    }
                ],
                "bowls": [
                    {
                        "runs_conceded": 6,
                        "overs": 1,
                        "wickets": 0,
                        "maidens": 0,
                        "bowler_id": 388
                    }
                ],
                "commentary": "End of over 1 (6 runs), India 6/0"
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "1",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, length ball outside off",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "2",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, outside off",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "3",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, taps it to mid wicket",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "4",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, drives it to long on to mid on",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "5",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, inside edge",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 43582,
                "over": "1",
                "ball": "6",
                "score": 0,
                "commentary": "JP Behrendorff to S Dhawan, no run, outside off",
                "noball_dismissal": false
            },
            {
                "event": "overend",
                "over": 2,
                "runs": 0,
                "score": "6/0",
                "bats": [
                    {
                        "runs": 1,
                        "balls_faced": 4,
                        "fours": 0,
                        "sixes": 0,
                        "batsman_id": 115
                    },
                    {
                        "runs": 5,
                        "balls_faced": 8,
                        "fours": 1,
                        "sixes": 0,
                        "batsman_id": 117
                    }
                ],
                "bowls": [
                    {
                        "runs_conceded": 0,
                        "overs": 1,
                        "wickets": 0,
                        "maidens": 1,
                        "bowler_id": 43582
                    },
                    {
                        "runs_conceded": 6,
                        "overs": 1,
                        "wickets": 0,
                        "maidens": 0,
                        "bowler_id": 388
                    }
                ],
                "commentary": "End of over 2 (Maiden), India 6/0"
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "2",
                "ball": "1",
                "score": 1,
                "commentary": "PJ Cummins to RG Sharma, 1 run, outside off, to point to third man",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 388,
                "over": "2",
                "ball": "2",
                "score": 4,
                "commentary": "PJ Cummins to S Dhawan, Four, full, on leg stump, drives it to mid wicket",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 117,
                "bowler_id": 388,
                "over": "2",
                "ball": "3",
                "score": 1,
                "commentary": "PJ Cummins to S Dhawan, 1 run, taps it",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "2",
                "ball": "4",
                "score": 0,
                "commentary": "PJ Cummins to RG Sharma, no run, going down leg, beaten",
                "noball_dismissal": false
            },
            {
                "event": "ball",
                "batsman_id": 115,
                "bowler_id": 388,
                "over": "2",
                "ball": "5",
                "score": 0,
                "commentary": "PJ Cummins to RG Sharma, no run, drives it to cover",
                "noball_dismissal": false
            }
        ],
        "live_inning": {
            "iid": 92654,
            "number": 1,
            "name": "India inning",
            "short_name": "IND inn.",
            "status": 3,
            "result": 0,
            "batting_team_id": 25,
            "fielding_team_id": 5,
            "scores": "12/0",
            "scores_full": "12/0 (2.4 ov)",
            "fielder": [],
            "last_wicket": false,
            "extra_runs": {
                "byes": 0,
                "legbyes": 0,
                "wides": 0,
                "noballs": 0,
                "penalty": "",
                "total": 0
            },
            "equations": {
                "runs": 12,
                "wickets": 0,
                "overs": "2.4",
                "bowlers_used": 2,
                "runrate": "4.50"
            },
            "current_partnership": {
                "runs": 12,
                "balls": 17,
                "overs": 2.5,
                "batsmen": [
                    {
                        "name": "Rohit Sharma",
                        "batsman_id": 115,
                        "runs": 2,
                        "balls": 7
                    },
                    {
                        "name": "Shikhar Dhawan",
                        "batsman_id": 117,
                        "runs": 10,
                        "balls": 10
                    }
                ]
            },
            "did_not_bat": [],
            "recent_scores": "0,0,1,4,1,0,0,0,0,0,0,0,0,1,4,1,0",
            "last_five_overs": "12/0 4.24",
            "last_ten_overs": "12/0 4.24"
        },
        "players": [
            {
                "pid": 73,
                "title": "Aaron Finch",
                "short_name": "AJ Finch",
                "first_name": "Aaron",
                "last_name": "Finch",
                "middle_name": "James",
                "birthdate": "1986-11-17",
                "birthplace": "",
                "country": "au",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Slow left-arm orthodox",
                "fielding_position": "",
                "recent_match": 18970,
                "recent_appearance": 1515900000,
                "fantasy_player_rating": 10.5,
                "nationality": "Australia",
                "role": "cap"
            },
            {
                "pid": 81,
                "title": "Glenn Maxwell",
                "short_name": "GJ Maxwell",
                "first_name": "Glenn",
                "last_name": "Maxwell",
                "middle_name": "James",
                "birthdate": "1988-10-14",
                "birthplace": "",
                "country": "au",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm offbreak",
                "fielding_position": "",
                "recent_match": 18974,
                "recent_appearance": 1517109600,
                "fantasy_player_rating": 9,
                "nationality": "Australia",
                "role": "all"
            },
            {
                "pid": 115,
                "title": "Rohit Sharma",
                "short_name": "RG Sharma",
                "first_name": "Rohit",
                "last_name": "Sharma",
                "middle_name": "Gurunath",
                "birthdate": "1987-04-30",
                "birthplace": "",
                "country": "in",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm offbreak",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0,
                "fantasy_player_rating": 10.5,
                "nationality": "India",
                "role": "bat"
            },
            {
                "pid": 117,
                "title": "Shikhar Dhawan",
                "short_name": "S Dhawan",
                "first_name": "Shikhar",
                "last_name": "Dhawan",
                "middle_name": "",
                "birthdate": "1985-12-05",
                "birthplace": "",
                "country": "in",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "LHB",
                "bowling_style": "Right-arm offbreak",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0,
                "fantasy_player_rating": 10,
                "nationality": "India",
                "role": "bat"
            }
        ]
    },
    "etag": "b59a8d1c1538c10e12999be6958650e9",
    "modified": "2019-03-10 08:12:09",
    "datetime": "2019-03-10 08:12:09",
    "api_version": "2.0"
}

Match Live API provide access to live match updates of active inning. This API point provide fastest update of live inning of the match.

Request

Parameter Value Description
token string API access token

Response

Reference

Parameter Value Description
mid interger match id
format interger numerical representation of match format. see match_formats reference.
format_str string match format name
status string numerical representation of match status. see match_statuss reference.
status_str string match status name.
game_state string numerical representation of match game_state. game state is available for live match only.
game_state_str string match game_state name.
status_note string a small note of current match state. It would be the winning margin if match completed, could be current required rate if match is on live, and would containg date if match is scheduled.
team_batting string team name
team_bowling string team name
live_inning_number integer live inning number
live_score object a set of live inning score details objects see live score object properties.
batsmen object a set of active batsmen details objects see batsmen object properties.
bowlers object a set of active bowlers details objects see bowler object properties.
commentary interger numerical representation of commentary available or not for match.
wagon interger numerical representation of wagon available or not for match.
commentaries object a set of commentary details objects see commentaries object properties.
live_inning object a set of live inning details objects see live_inning object properties.
players array an array of player details objects see player object properties.

live_score object Properties

Parameter Value Description
runs integer total runs scored in inning
overs string total overs bowled in inning
wickets integer number of wickets fallen in inning
target integer target of the match
runrate string run rate of the inning

Batsmen Properties

Parameter Value Description
name string player name
batsman_id integer player id
runs integer runs scored by batsman
balls_faced integer balls faced by batsman
fours integer number of fours runs scored by batsman
sixes integer numbers of sixes runs scored by batsman
strike_rate string strike rate of batsman

Bowlers Properties

Parameter Value Description
bowler_id integer player id
overs string Number of overs bowled by bowler
runs_conceded integer Number of runs conceded by bowler
wickets integer number of wickets taken by bowler
maidens integer Number of maiden overs bowled by bowler
econ string economy rate of bowler

Commentary Properties

When event is overend.

Parameter Value Description
event string event overend
over string overs bowled
runs string run scored in over
score string team score
bats object a set of batsman object
bowls string a set of bowler object
commentary string commentary text

When event is ball.

Parameter Value Description
event string event overend
batsman_id integer playing batsman id
bowler_id integer playing bowler id
over string overs bowled
ball integer nth ball of the over
score integer run scored on the ball
commentary string commentary text

When event is wicket.

Parameter Value Description
event string event overend
batsman_id integer playing batsman id
bowler_id integer playing bowler id
over string overs bowled
ball integer nth ball of the over
score integer run scored on the ball
commentary string commentary text
how_out string dismissal of batsman
wicket_batsman_id integer id of dismissed batsman
batsman_runs integer runs scored by batsman in this inning
batsman_balls integer balls faced by batsman in this inning

live_inning Properties

Parameter Value Description
iid integer inning id
number integer inning number
name string inning name
short_name string inning short name
status integer numerical representation of inning status
result integer numerical representation of inning result status
batting_team_id integer team id of batting team
fielding_team_id integer team id of fielding team
scores string team score
scores_full string team full score
last_wicket object a set of last wicket object details. see last wicket Properties
extra_runs object a set of extra runs object details extra runs object properties
equations object a set of equations object details equation object properties
current_partnership object a set of current partnership object details. see current partnership Properties
recent_overs string recent overs events
last_five_overs string last 5 overs runs,wickets and runrate
last_ten_overs string last 10 overs runs,wickets and runrate

Last Wicket Properties

Parameter Value Description
batsman_id integer player id
runs integer Number of runs scored by batsman
balls integer number of balls balls faced by batsman
how_out string batsman dismissal details
score_at_dismissal integer team score at dismissal
overs_at_dismissal string overs at dismissal
bowler_id integer player id
dismissal string dismissal type
number integer wicket order number

Extra Runs Properties

Parameter Value Description
byes integer byes runs
legbyes integer legbyes runs
wides integer wides runs
noballs integer no balls runs
penalty integer penalty runs
total integer total extra runs

Equation Properties

Parameter Value Description
runs integer total runs
wickets integer total wickets
overs string total overs bowled in inning
bowlers_used integer total bowlers used
runrate string inning run rate

Current Partnership Properties

Parameter Value Description
runs integer Total runs scored in partnership
balls integer number of balls faced by batsman during partnership
overs string number of overs for partnership
batsmen array an array of batsmen details participating in partnership see batsmen partership properties

Batsmen Partnership Properties

Parameter Value Description
name string player name
batsman_id integer player id
runs integer runs scored by batsman
balls integer balls faced by batsman

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
fantasy_player_rating string player fantasy salary or credit rating
role string match playing role

Fantasy Match Squad API

curl -X GET "https://rest.entitysport.com/v2/competitions/121143/squads/49681?token=ec471071441bb2ac538a0ff901abd249

The above command returns JSON structured like this:


{
    "status": "ok",
    "response": {
        "squad_type": "per_match",
        "squads": [
            {
                "team_id": "5",
                "title": "Australia 4th Test",
                "players": [
                    {
                        "pid": 73,
                        "title": "Aaron Finch",
                        "short_name": "AJ Finch",
                        "first_name": "Aaron",
                        "last_name": "Finch",
                        "middle_name": "James",
                        "birthdate": "1986-11-17",
                        "birthplace": "",
                        "country": "au",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Slow left-arm orthodox",
                        "fielding_position": "",
                        "recent_match": 18970,
                        "recent_appearance": 1515900000,
                        "fantasy_player_rating": 8.5,
                        "nationality": "Australia"
                    },
                    {
                        "pid": 83,
                        "title": "Mitchell Marsh",
                        "short_name": "MR Marsh",
                        "first_name": "Mitchell",
                        "last_name": "Marsh",
                        "middle_name": "Ross",
                        "birthdate": "1991-10-20",
                        "birthplace": "",
                        "country": "au",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "all",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium",
                        "fielding_position": "",
                        "recent_match": 18968,
                        "recent_appearance": 1514244600,
                        "fantasy_player_rating": 8.5,
                        "nationality": "Australia"
                    }
                ],
                "team": {
                    "tid": 5,
                    "title": "Australia",
                    "abbr": "AUS",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/australia.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/australia-32x32.png",
                    "type": "country",
                    "country": "au",
                    "alt_name": "Australia",
                    "sex": "male"
                }
            },
            {
                "team_id": "25",
                "title": "India 3rd Test, 4th Test",
                "players": [
                    {
                        "pid": 115,
                        "title": "Rohit Sharma",
                        "short_name": "RG Sharma",
                        "first_name": "Rohit",
                        "last_name": "Sharma",
                        "middle_name": "Gurunath",
                        "birthdate": "1987-04-30",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm offbreak",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 10,
                        "nationality": "India"
                    },
                    {
                        "pid": 119,
                        "title": "Virat Kohli",
                        "short_name": "V Kohli",
                        "first_name": "Virat",
                        "last_name": "Kohli",
                        "middle_name": "",
                        "birthdate": "1988-11-05",
                        "birthplace": "",
                        "country": "in",
                        "primary_team": [],
                        "thumb_url": "",
                        "logo_url": "",
                        "playing_role": "bat",
                        "batting_style": "Right-hand bat",
                        "bowling_style": "Right-arm medium",
                        "fielding_position": "",
                        "recent_match": 0,
                        "recent_appearance": 0,
                        "fantasy_player_rating": 11,
                        "nationality": "India"
                    }
                ],
                "team": {
                    "tid": 25,
                    "title": "India",
                    "abbr": "IND",
                    "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india.png",
                    "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/india-32x32.png",
                    "type": "country",
                    "country": "in",
                    "alt_name": "India",
                    "sex": "male"
                }
            }
        ]
    },
    "etag": "12acd05fffc4a299aeeb3e7ab4db65c2",
    "modified": "2019-01-15 18:47:55",
    "datetime": "2019-01-15 18:47:55",
    "api_version": "2.0"
}

Fantasy Match Roaster API provides information of player roaster for 2 teams of a match i.e. part of respective competition. When using this API match id(mid) needs to be passed for desired competition match squad.

Purpose of this API is to provide managed Cricket fantasy credit and player role. Cricket Fantasy application must use this API for roaster of the both teams.

Player credit and playing role won't change once pre_squad: "true".

Request

Parameter Value Description
cid integer competition id
mid integer match id
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
team_id integer team id of respective team squad
title string Team matches title
players array an array of player details of the team, see player object properties.
team array an array of team details, see team object properties.

Team Properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
type string team type Country(International Team) or Club
country string Country ISO Code
alt_name string team alternative name

Player Properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
fantasy_player_rating string player fantasy salary or credit rating

Match Playing11 API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/squads?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "teama": {
            "team_id": 23,
            "squads": [
                {
                    "player_id": "342",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "37360",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "348",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "350",
                    "role": "wk",
                    "role_str": " (WK)",
                    "playing11": "true"
                },
                {
                    "player_id": "1741",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "346",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "37352",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "1018",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "354",
                    "role": "cap",
                    "role_str": " (C)",
                    "playing11": "true"
                },
                {
                    "player_id": "358",
                    "role": "bowl",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "1745",
                    "role": "bowl",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "1767",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "37374",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "1017",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "37442",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "356",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                }
            ]
        },
        "teamb": {
            "team_id": 21,
            "squads": [
                {
                    "player_id": "444",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "43953",
                    "role": "bat",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "460",
                    "role": "wk",
                    "role_str": " (WK)",
                    "playing11": "true"
                },
                {
                    "player_id": "43745",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "59",
                    "role": "cap",
                    "role_str": " (C)",
                    "playing11": "true"
                },
                {
                    "player_id": "1734",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "410",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "43788",
                    "role": "all",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "69",
                    "role": "bowl",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "43853",
                    "role": "bowl",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "67",
                    "role": "bowl",
                    "role_str": "",
                    "playing11": "true"
                },
                {
                    "player_id": "462",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "43682",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "1763",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "43961",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                },
                {
                    "player_id": "44001",
                    "role": "squad",
                    "role_str": "",
                    "playing11": "false"
                }
            ]
        },
        "teams": [
            {
                "tid": 21,
                "title": "Sri Lanka",
                "abbr": "SL",
                "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/sri-lanka.png",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/sri-lanka-32x32.png",
                "type": "country",
                "country": "lk",
                "alt_name": "Sri Lanka"
            },
            {
                "tid": 23,
                "title": "Bangladesh",
                "abbr": "BDESH",
                "thumb_url": "https://cricket.entitysport.com/assets/uploads/2016/01/bangladesh.png",
                "logo_url": "https://cricket.entitysport.com/assets/uploads/2016/01/bangladesh-32x32.png",
                "type": "country",
                "country": "bd",
                "alt_name": "Bangladesh"
            }
        ],
        "players": [
            {
                "pid": 59,
                "title": "Angelo Mathews",
                "short_name": "AD Mathews",
                "first_name": "Angelo",
                "last_name": "Mathews",
                "middle_name": "Davis",
                "birthdate": "1987-06-02",
                "birthplace": "",
                "country": "lk",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "all",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm medium",
                "fielding_position": "",
                "recent_match": 37264,
                "recent_appearance": 1513949400
            },
            {
                "pid": 67,
                "title": "Lasith Malinga",
                "short_name": "SL Malinga",
                "first_name": "Separamadu",
                "last_name": "Malinga",
                "middle_name": "Lasith",
                "birthdate": "1983-08-28",
                "birthplace": "",
                "country": "lk",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bowl",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm fast",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0
            },
            {
                "pid": 69,
                "title": "Suranga Lakmal",
                "short_name": "RAS Lakmal",
                "first_name": "Ranasinghe",
                "last_name": "Lakmal",
                "middle_name": "Arachchige Suranga",
                "birthdate": "1987-03-10",
                "birthplace": "",
                "country": "lk",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bowl",
                "batting_style": "Right-hand bat",
                "bowling_style": "Right-arm fast-medium",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0
            },
            {
                "pid": 342,
                "title": "Tamim Iqbal",
                "short_name": "Tamim Iqbal",
                "first_name": "Tamim",
                "last_name": "Khan",
                "middle_name": "Iqbal",
                "birthdate": "1989-03-20",
                "birthplace": "",
                "country": "bd",
                "primary_team": [],
                "thumb_url": "",
                "logo_url": "",
                "playing_role": "bat",
                "batting_style": "LHB",
                "bowling_style": "",
                "fielding_position": "",
                "recent_match": 0,
                "recent_appearance": 0
            }
        ]
    },
    "etag": "a85b240a4c6c0241a1c5db201582b232",
    "modified": "2018-09-15 18:42:05",
    "datetime": "2018-09-25 06:35:34",
    "api_version": "2.0"
}

Provides information of a Match Squads.

Request

Parameter Value Description
token {ACCESS_TOKEN} API Access token

Response

Reference

Parameter Value Description
teama object a set of teama object details see teama objects
teamb object a set of teama object details see teamb objects
teams array an array of team objects see teams objects
players array an array of player objects see player objects

Teama, Teamb properties

Parameter Value Description
team_id integer team id
squads array an array of squad players see squads properties here

Squads object properties

Parameter Value Description
player_id integer player id
role string player role bat,bowl,wk,all Match Squad Role Parameter
role_str string player role stirng wk or cap
playing11 string true if player is included in playing 11, false if player is not included in playing 11

Teams object properties

Parameter Value Description
tid integer team id
title string team name
abbr string team short name
thumb_url string team logo thumbnail url
logo_url string team logo url
type string team type Country(International Team) or Club
country string Country ISO Code
alt_name string team alternative name

Player object properties

Parameter Value Description
pid integer player id
title string player name
short_name string player short name
first_name string player first name
last_name string player last name
middle_name string player middle name
birthdate date player date of birth
birthplace string player birth place
country string Country ISO Code
thumb_url string player logo thumbnail url
logo_url string player logo url
playing_role string player playing role
batting_style string player batting style
bowling_style string player bowling style
fielding_position string player fielding position
recent_match integer match id of last played match
recent_appearance integer timestamp of last played match
fantasy_player_rating string player fantasy salary or credit rating

Match Statistics API

curl -X GET "https://rest.entitysport.com/v2/matches/49689/statistics?token=ec471071441bb2ac538a0ff901abd249"

The above command returns JSON structured like this:

{
    "status": "ok",
    "response": {
        "innings": [
            {
                "iid": 43691,
                "number": 1,
                "title": "India inning",
                "runs": 375,
                "overs": "50",
                "wickets": 5,
                "status": 2,
                "result": 0,
                "batting_team_id": 25,
                "fielding_team_id": 21,
                "fows": [
                    {
                        "batsman_id": 117,
                        "runs": 4,
                        "balls_faced": 6,
                        "how_out": "c PM Pushpakumara b MVT Fernando",
                        "score_at_dismissal": 6,
                        "overs_at_dismissal": 1.3
                    }
                ],
                "statistics": {
                    "manhattan": [
                        {
                            "over": 1,
                            "runs": 5
                        }
                    ],
                    "worm": [
                        {
                            "over": 1,
                            "runs": 6
                        }
                    ],
                    "runrates": [
                        {
                            "over": 1,
                            "runrate": "5.00"
                        }
                    ],
                    "partnership": [
                        {
                            "batsmen": [
                                {
                                    "batsman_id": 115,
                                    "balls_faced": 3,
                                    "runs": 1,
                                    "run4": 0,
                                    "run6": 0
                                },
                                {
                                    "batsman_id": 117,
                                    "balls_faced": 6,
                                    "runs": 4,
                                    "run4": 1,
                                    "run6": 0
                                }
                            ],
                            "balls_faced": 9,
                            "runs": 6,
                            "order": 1
                        }
                    ],
                    "runtypes": [
                        {
                            "run": 0,
                            "amount": 113
                        }
                    ],
                    "wickets": [
                        {
                            "dismissal": "caught",
                            "amount": 5
                        }
                    ],
                    "p2p": [
                        {
                            "batsman_id": 115,
                            "bowler_id": 67,
                            "runs": 21,
                            "balls": 18,
                            "run4": 3,
                            "run6": 0,
                            "run0": 6,
                            "run1": 9,
                            "run2": 0,
                            "run3": 0,
                            "run5": 0,
                            "run6p": 0
                        }
                    ],
                    "extras": {
                        "runwides": 6,
                        "runnoballs": 0,
                        "runbyes": 0,
                        "runlegbyes": 5
                    }
                }
            },
            {
                "iid": 43695,
                "number": 2,
                "title": "Sri Lanka inning",
                "runs": 207,
                "overs": "42.4",
                "wickets": 10,
                "status": 2,
                "result": 1,
                "batting_team_id": 21,
                "fielding_team_id": 25,
                "fows": [
                    {
                        "batsman_id": 1763,
                        "runs": 14,
                        "balls_faced": 11,
                        "how_out": "c MS Dhoni b SN Thakur",
                        "score_at_dismissal": 22,
                        "overs_at_dismissal": 2.4
                    }
                ],
                "statistics": {
                    "manhattan": [
                        {
                            "over": 1,
                            "runs": 3
                        }
                    ],
                    "worm": [
                        {
                            "over": 1,
                            "runs": 3
                        }
                    ],
                    "runrates": [
                        {