Skip to main content
GET
/
fantasy-league
/
{id}
/
fixtures
Get fixtures
curl --request GET \
  --url https://sandbox.api.fantasyfutbol.app/v1/fantasy-league/{id}/fixtures \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "statusCode": 200,
  "message": "Fixtures retrieved",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "week": "<string>",
      "start_date": "2023-11-07T05:31:56Z",
      "end_date": "2023-11-07T05:31:56Z",
      "fixtures": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "goals": {
            "home": 123,
            "away": 123
          },
          "teams": {
            "home": {
              "id": 123,
              "name": "<string>",
              "abbrevation": "<string>"
            },
            "away": {
              "id": 123,
              "name": "<string>",
              "abbrevation": "<string>"
            }
          },
          "status": "<string>",
          "start_date": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}

Headers

x-api-key
string

Path Parameters

id
integer<int64>
required

ID of the fantasy league to retrieve participating fixtures

Query Parameters

Body

application/json

The body is of type object.

Response

200 - application/json

Fixtures retrieved

statusCode
integer
required
Example:

200

message
string
required
Example:

"Fixtures retrieved"

data
object[]
required