LogoLogo
Cricket APISportMonksContactFootball API
  • Welcome
  • Getting Started
    • Getting started
    • All endpoints
    • Enriching your response
  • Our API
    • Introduction to our API
    • Continents
      • GET All Continents
      • GET Continent by ID
    • Countries
      • GET All Countries
      • GET Country by ID
    • Leagues
      • GET All Leagues
      • GET League by ID
    • Seasons
      • GET All Seasons
      • GET Season by ID
    • Fixtures
      • GET All Fixtures
      • GET Fixture by ID
    • Livescores
      • GET All Livescores
    • Teams
      • GET All Teams
      • GET Team by ID
      • GET Squad by Team and Season ID
    • Players
      • GET All Players
      • GET Player by ID
    • Officials
      • GET All Officials
      • GET Official by ID
    • Venues
      • GET All Venues
      • GET Venue by ID
    • Positions
      • GET All Positions
      • GET Position by ID
    • Stages
      • GET All Stages
      • GET Stage by ID
    • Team Rankings
      • GET Global Team Rankings
    • Standings
      • GET Standings by Season ID
      • GET Standings by Stage ID
    • Scores
      • GET All Scores
      • GET Score by ID
  • Relationships
    • Scoreboards
    • Official/Umpries
    • Results
  • API References
  • API Reference Guide
  • API Rate limit
  • Statuses and definitions
  • Demo response files
  • Events
  • Statistics
  • General
  • SportMonks
  • Plans & Pricing
  • FAQ
  • Contact
  • Changelog
    • Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Our API
  2. Livescores

GET All Livescores

GET All Livescores

https://cricket.sportmonks.com/api/v2.0/livescores

Endpoint details

Authorization

API Key

Pagination

NO

Allowed nested includes

10

Parameters

Available parameters

include

Enrich the API with more data and/or nested includes. Can be used by adding &include= etc. to your request url.

filter

Array of fields to filter on. Can be used by adding &filter[{field you want to filter}]. For example: &filter[league_id]=3.

fields[object]

Only return fields you are interested in. Simply add &fields[object]=id,name,code to your request url.

sort

One or comma separated list of fields to sort on. Can be used by adding &sort= to your request url.

Filters

status

Sort

You can sort on all fields.

Include options

balls runs bowling batting venue stage season league visitorteam localteam scoreboards firstumpire secondumpire referee tvumpire manofseries manofmatch tosswon lineup

Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors.

You can learn more about what includes are and how they work here:

Example response

https://cricket.sportmonks.com/api/v2.0/livescores?api_token={API_TOKEN}
"data": [
        {
            "resource": "fixtures",
            "id": 28295,
            "league_id": 3,
            "season_id": 507,
            "stage_id": 2723,
            "round": "3rd T20I",
            "localteam_id": 37,
            "visitorteam_id": 36,
            "starting_at": "2021-08-06T12:00:00.000000Z",
            "type": "T20I",
            "live": true,
            "status": "1st Innings",
            "last_period": null,
            "note": "",
            "venue_id": 17,
            "toss_won_team_id": 37,
            "winner_team_id": null,
            "draw_noresult": null,
            "first_umpire_id": 78,
            "second_umpire_id": 31,
            "tv_umpire_id": 140,
            "referee_id": 144,
            "man_of_match_id": null,
            "man_of_series_id": null,
            "total_overs_played": 20,
            "elected": "batting",
            "super_over": false,
            "follow_on": false,
            "localteam_dl_data": {
                "score": null,
                "overs": null,
                "wickets_out": null
            },
            "visitorteam_dl_data": {
                "score": null,
                "overs": null,
                "wickets_out": null
            },
            "rpc_overs": null,
            "rpc_target": null,
            "weather_report": []
        }
    ]
PreviousLivescoresNextTeams

Last updated 5 months ago

Was this helpful?

To gain more information on the relations available for the include you can use . For example you can use batting.batsman or batting.bowler or batting.runoutby. more option are available.

nested includes
Enriching your response