Get By Date Range For Team

  • Basic
  • Standard
  • Advanced
  • Custom


The Fixture endpoint provides information about Games in particular Leagues. There are always 2 teams involved in a Fixture. For many customers, Fixtures is the main endpoint for their app/website. Be aware your access is limited to Fixtures of Leagues, available in the Plan you are subscribed to.

Responses of the Fixture endpoint are highly customizable, because there are many Includes available to extend the response. Requests often start with the Includes localTeam and VisitorTeam. Events, Stats, Lineups, Comment, Trends etc. are often added as well.

The Fixture endpoint is subdivided over 5 categories where you can request the endpoint

  1. Fixtures by ID
  2. Fixtures by Date
  3. Fixtures by Date Range
  4. Fixtures by Date Range for a Team
  5. Multiple Fixtures by ID
  6. Get Last Updated

Good to know

Please note that data returned from this endpoint might be cached so do NOT use this endpoint to get livescores.

Endpoint Details

Below you can find the details for this endpoint.

Key Value
Pagination: Yes

Nested Includes: 10 - You can add a max of 10 levels of nested includes.
  • leagues - A comma separated list of leagues. Max 25 ids can be included.
  • api_token - Your token that privdes access to the API.
  • markets - Filter odds based on a comma separated list of market ids.
  • bookmakers - Filter odds based on a comma separated list of bookmaker ids.
  • status - Filter fixtures based on a comma separated list of status codes as defined in the "Statuses & Definitions" documentation page.
  • __STARTDATE__ - Start date in YYYY-MM-DD format.
  • __ENDDATE__ - End date in YYYY-MM-DD format.
  • __TEAMID__ - The id of the team.

Example Request

The following code snippets demonstrate how to get all fixtures available in this endpoint.

// Get your API tokens here:
curl ""
-H "Accept: application/json"
// Get your API tokens here:
$client = new GuzzleHttp\Client();
$res = $client->request('GET', '', [
    'headers' => ['Accept' => 'application/json']
// Get your API tokens here:
response = requests.get("")

# Print the status code of the response.
// Get your API tokens here:
require 'faraday_middleware''', headers: {'Accept' => 'application/json', 'Accept-Encoding' => 'gzip'}).get
// Get your API tokens here:
URL url = new URL("");
HttpURLConnection con = (HttpURLConnection) url.openConnection();
// Get your API tokens here:
import { SportmonksApi } from 'sportmonks';
const sportmonks = new SportmonksApi(__YOUR_API_TOKEN__);
sportmonks.get("",params).then( function(resp){
  // will contain your data
  //resp.meta will contain the meta informations
// Get your API tokens here:
package main

import (

    sm ""

func main() {
    g, err := sm.Get("", "", 0, false)
    if err != nil {
// Get your API tokens here:
var client = new HttpClient();
var response = await client.GetAsync("");
string json = await response.Content.ReadAsStringAsync();

Example Response

In the API Reference Guide the example responses of the fixtures endpoint are shown.

Test this Endpoint

With our In-Page API Tester you can directly test this Endpoint by clicking the blue button on the right ‘Open Test API’. By adding Includes, Parameters and Variables and clicking the blue button on the right below ‘Send API Request’, you can directly view the API Response. Your Requests and Responses are even stored in your personal API Tester Folder (only when you are logged-in). If you are not logged in the API Tester will use the Free Plan Leagues for your requests.


We're always happy to help with code or other questions you might have! Search our documentation, contact support, or get in touch with our sales team.

This article was last updated on 2018-12-14 15:49:47
{{ api_response }}
# Variable Value Description
{{ variable.variable }} {{ variable.description }}
# Relationship Description Value
{{ parameter.parameter }} {{ parameter.description }}
# Relationship Description Extra
{{ relation.include }} {{ relation.description }}

{{ loginForm.errors.get('email') }}

{{ loginForm.errors.get('password') }}

Remember me?