---
title: "List football games"
method: GET
path: "/x/sports/{league}/games"
tags: ["Sports"]
---

# List football games

`GET /x/sports/{league}/games`

## Request

- Base URL: `https://xquik.com/api/v1`
- URL: `https://xquik.com/api/v1/x/sports/{league}/games`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
  - none

Lists NFL or college football games in a time window, with teams & scores. Use it to find game IDs & team IDs. Without from or to, X picks about 5 weeks around today. Each request costs 1 credit.

## Path parameters

- `league` 'nfl' | 'ncaafb', required

## Query parameters

- `from` string
- `to` string
- `team` string
- `fields` string
- `omit` string

## Response `200`

The league's games in the window, earliest first

- FootballSchedule: A league's games in a time window.
  - `league` 'nfl' | 'ncaafb', required: The league whose games this list holds.
  - `games` FootballScheduleGame[], required: The games, earliest first.
    - `id` string, required: The game ID the other sports routes take.
    - `seasonType` string, nullable, required: This game's part of the season, such as RegularSeason.
    - `week` integer, nullable, required: This game's week of the season.
    - `startsAt` string, date-time, nullable, required: This game's kickoff time in UTC, or null when Xquik cannot read it.
    - `status` string, nullable, required: This game's status from X, such as Scheduled, InProgress or Closed.
    - `clock` string, nullable, required: This game's clock, as X writes it.
    - `quarter` integer, nullable, required: This game's current or last quarter.
    - `home` FootballTeamScore, required: A team's side of a game & its points.
      - `teamId` string, nullable, required: The team, a key of teams.
      - `points` integer, nullable, required: The team's points so far.
    - `away` FootballTeamScore, required: A team's side of a game & its points.
      - `teamId` string, nullable, required: The team, a key of teams.
      - `points` integer, nullable, required: The team's points so far.
    - `teamIds` string[], required: The game's teams, keys of teams.
    - `periods` FootballSchedulePeriod[], required: The periods played so far.
      - `type` string, nullable, required: X's name for the period, such as Quarter.
    - `odds` object, nullable, required: Betting odds for each team, or null when X has none.
      - `home` FootballOdds, required: Betting odds titles for 1 team, as X shows them.
        - `moneyLine` string, nullable, required: The money line. X sends it for the away team only.
        - `spread` string, nullable, required: The point spread.
        - `total` string, nullable, required: The over or under total.
      - `away` FootballOdds, required: Betting odds titles for 1 team, as X shows them.
        - `moneyLine` string, nullable, required: The money line. X sends it for the away team only.
        - `spread` string, nullable, required: The point spread.
        - `total` string, nullable, required: The over or under total.
  - `teams` object, required: The teams the games name, by team ID.

## Other responses

- `400`: Invalid input. A value past its maxLength gets this answer, & the message names the field & its limit.
- `401`: Unauthenticated
- `402`: Payment required. MPP reads include `WWW-Authenticate`. Authenticated reads include balances, plus checkout when the key can open it. A key that reads only gets the account page instead. A failed request never creates checkout. A caller on a plan gets top-up only, plus `credits_renew_at` when the plan renews. Guest keys offer top-up.
- `424`: Dependency unavailable, unauthorized, or limited. Default v1 uses 502. Best-practice responses use 424 for transparent dependency failures. Search answers 424 `search_unavailable` when X fails the query itself, or when its filters matched none of the last 3,000 posts read. The message says how far back the search read.
- `429`: Too many requests right now. Each user gets 500 reads a second. Each minute allows 120 writes & 60 deletes. `x_api_rate_limited` means X limits this read for now. Neither answer costs anything. Wait for the seconds in `Retry-After`, then retry.
- `502`: Dependency unavailable, unauthorized, or limited. Default v1 uses 502. Best-practice responses use 424 for transparent dependency failures. Search answers 424 `search_unavailable` when X fails the query itself, or when its filters matched none of the last 3,000 posts read. The message says how far back the search read.
- `503`: Retry x_api_unavailable after Retry-After. With X-Xquik-Busy, retry until your deadline.

## Changes

> 68 revisions in range; 1 not diffed.

- **2026-10-23** `e29bc136a9cc`: 4 breaking
  - the `dashboard` response property const value changed from `/dashboard/account` to `/dashboard/billing` for the status `402`
  - the `dashboard` response property const value changed from `/dashboard/account` to `/dashboard/billing` for the status `402`
  - the `dashboard` response property const value changed from `/dashboard/account` to `/dashboard/billing` for the status `402`
  - the `next_step` response property const value changed from `Ask the user to top up at /dashboard/account. This key cannot open checkout.` to `Ask the user to top up at /dashboard/billing. This key cannot open checkout.` for the status `402`
- **2026-10-22** `d94eba2599ff`: 1 info
  - added the required property `teams/additionalProperties/record` to the response with the `200` status
- **2026-10-22** `5840cd7e39fd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/x/sports/:league/games/get.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) - [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xquik-dev/apis/xquik-api/revisions/4b2c5d75d99b?raw)
