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. Fixtures

GET Fixture by ID

PreviousGET All FixturesNextLivescores

Last updated 1 year ago

Was this helpful?

GET Fixture by ID

https://cricket.sportmonks.com/api/v2.0/fixtures/{ID}

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.

fields[object]

Only return fields you are interested in. Every type of data in the response has a resource type, like fixtures or battings. Simply add &fields[object]=id,name,code to your request URL. For example: &fields[fixtures]=id&fields[battings]=active.

sort

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

Sort

You can sort on all fields.

Include options

balls runs bowling batting venue stage season league visitorteam localteam scoreboards firstumpire secondumpire referee 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.

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.

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

Example response

https://cricket.sportmonks.com/api/v2.0/fixtures/3?api_token={API_TOKEN}
    "data": {
        "resource": "fixtures",
        "id": 3,
        "league_id": 3,
        "season_id": 6,
        "stage_id": 1755,
        "round": "2nd T20I",
        "localteam_id": 40,
        "visitorteam_id": 41,
        "starting_at": "2018-10-12T16:00:00.000000Z",
        "type": "T20I",
        "live": 0,
        "status": "Finished",
        "last_period": null,
        "note": "South Africa won by 6 wickets (with 26 balls remaining)",
        "venue_id": 96,
        "toss_won_team_id": 41,
        "winner_team_id": 40,
        "draw_noresult": null,
        "first_umpire_id": 36,
        "second_umpire_id": 127,
        "tv_umpire_id": 37,
        "referee_id": 15,
        "man_of_match_id": 80,
        "man_of_series_id": null,
        "total_overs_played": null,
        "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": []
    }
nested includes
Enriching your response