Games

Get the game schedule with optional filtering and pagination.

Args: season: Filter by season (e.g., "2024-25") season_type: Filter by season type (e.g., "regular", "playoff") limit: Maximum number of results to return (default: 100, max: 1000) offset: Number of results to skip for pagination (default: 0)

Returns: Dictionary containing: - data: List of game schedule items - pagination: Pagination metadata (limit, offset, count, total)

get/api/v1/games/schedule

Request

  • Base URL
    https://developer.preciser.io
  • URL
    https://developer.preciser.io/api/v1/games/schedule
  • Auth
    none declared. Required headers: x-api-key, League

Query parameters

seasonstring nullable
competition_idstring nullable
season_typestring nullable
limitinteger
offsetinteger

Headers

x-api-keystring required

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

Changes

    • breaking

      the header request parameter League became required

    • breaking

      the header request parameter x-api-key became required

    • breaking

      header request parameter League list-of-types was narrowed by removing types null

    • breaking

      header request parameter x-api-key list-of-types was narrowed by removing types null

    • info

      for the header request parameter League, the type was generalized from no type to string

    • info

      for the header request parameter x-api-key, the type was generalized from no type to string

    • info

      added the new optional query request parameter competition_id

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status