> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://statpad.dev/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://statpad.dev/docs/_mcp/server.

# List games

GET https://api.statpad.dev/v1/{league}/games

A schedule page, ordered by start time. Pass either `date`, a schedule day, or a
`from`-`to` range of start times up to 31 days long. Games are listed once the league
publishes them with both teams known, up to the end of its season, and a game the league
withdraws before it starts is removed. A range matches `time_tbd` games by their
`scheduled_at`, the start of their US Eastern day.


Reference: https://statpad.dev/docs/api-reference/games/list-games

## Authentication

- `Authorization` header (bearer token, required) — An API key, sent as `Authorization: Bearer <key>`.

## Request

### Path parameters

- `league` (string, required) — The league's alias.

### Query parameters

- `date` (date, optional) — A schedule day, in the time zone `tz`. A `time_tbd` game has no start time, so it is matched by its US Eastern day whatever `tz` is.
- `tz` (string, optional, default: America/New_York) — IANA time zone that `date` is in.
- `from` (datetime, optional) — Earliest start time, inclusive.
- `to` (datetime, optional) — Latest start time, exclusive.
- `team_id` (string, optional) — Only games this team plays in.
- `cursor` (string, optional) — `next_cursor` from the previous page. Omit it for the first page.
- `limit` (integer, optional, default: 100) — Page size.

## Response

### 200

A page of games with the teams they reference.

- `data` (list of Game, required)
- `teams` (list of Team, required) — The teams the page's games reference.
- `next_cursor` (string, required, nullable) — Pass as `cursor` for the next page; null on the last page.

## Errors

### 400 Bad Request Error

A parameter is missing or invalid (`bad_request`).

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 401 Unauthorized Error

The API key is missing, unknown or revoked (`unauthorized`).

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 403 Forbidden Error

The plan doesn't include this league or feature (`forbidden`).

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 404 Not Found Error

No such league or entity (`not_found`).

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 429 Too Many Requests Error

The account's request rate (`rate_limited`) or period allowance (`quota_exhausted`, with `resets_at`) is used up. No data is served.

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 500 Internal Server Error

Something failed on our side (`internal`). Retry with backoff.

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

### 503 Service Unavailable Error

Account access or its limits could not be checked because a dependency is unavailable (`unavailable`). No data is served.

- `type` (string, required) — Identifies the problem type.
- `title` (string, required)
- `status` (integer, required)
- `code` (enum, required) — `bad_request` a malformed request or message. `unauthorized` a missing or invalid API key. `forbidden` the plan doesn't include the league or feature. `not_found`. `rate_limited`. `resync_required` the requested position is older than the retained history, so subscribe again without `resume` for a fresh snapshot (for a game stream, a REST game read with its `seq` also works). `invalid_resume` a resume seq beyond the stream's head. `slow_consumer` the client fell too far behind and was dropped from a stream, so resume from `resume_from`. `too_many_subscriptions`. `unknown_stream`. `internal`. `unavailable`. `quota_exhausted` the account has used its request allowance for the current period.
  - Allowed values: `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `resync_required`, `invalid_resume`, `slow_consumer`, `too_many_subscriptions`, `unknown_stream`, `internal`, `unavailable`, `quota_exhausted`
- `detail` (string, optional)
- `request_id` (string, optional)
- `min_seq` (long, optional) — With `resync_required`, the oldest seq the stream still holds.
- `resets_at` (datetime, optional) — With `quota_exhausted`, when the next period's allowance starts.

## Types

### Game

- `id` (string, required)
- `league` (string, required) — A league's public alias, such as `nfl` or `ncaaf`.
- `season_id` (string, required)
- `week_id` (string, required, nullable)
- `title` (string, required, nullable) — A named game's title, such as a bowl.
- `game_type` (enum, required)
  - Allowed values: `regular`, `playoff`, `preseason`, `exhibition`, `allstar`
- `status` (enum, required) — `scheduled`, then `created` (data available), `inprogress` (with `halftime` and `delayed` along the way), `complete` (final, stats may still be corrected) and `closed` (validated). Also `time_tbd`, `suspended`, `postponed` and `cancelled`. Depending on the league, a postponed game either goes back to `scheduled` at its new time under the same id, or stays `postponed` while its makeup is a new game.
  - Allowed values: `scheduled`, `time_tbd`, `created`, `inprogress`, `halftime`, `delayed`, `suspended`, `complete`, `closed`, `postponed`, `cancelled`
- `coverage` (enum, required) — How much the feed covers. `full` has play-by-play; `score_only` has the score alone.
  - Allowed values: `full`, `basic`, `score_only`
- `scheduled_at` (datetime, required) — When the game starts. For a `time_tbd` game it is the start of the game's US Eastern day, not a start time, and a game whose date isn't fixed yet, such as an NFL flex game, can still move to another day.
- `venue_id` (string, required, nullable)
- `neutral_site` (boolean, required)
- `home_team_id` (string, required)
- `away_team_id` (string, required)
- `home_score` (integer, required, nullable)
- `away_score` (integer, required, nullable)
- `attendance` (integer, required, nullable)
- `started_at` (datetime, required, nullable) — When the first play happened, from the play-by-play's own wall clock, counting only plays that carry one. Null until such a play arrives.
- `ended_at` (datetime, required, nullable) — When the last play happened, from the play-by-play's own wall clock, counting only plays that carry one, once the game is over. Null until then, or when no play carries one.
- `rescheduled_from_id` (string, required, nullable) — For a makeup game, the postponed game it replaces, when known.
- `version` (integer, required) — Bumps on every change to the entity, deletions included. A client holding a version can ignore any state with a lower one.
- `updated_at` (datetime, required)

### Team

- `id` (string, required)
- `league` (string, required) — A league's public alias, such as `nfl` or `ncaaf`.
- `market` (string, required)
- `name` (string, required)
- `alias` (string, required) — Abbreviation. Two teams in a league can share one, so identify teams by id.
- `venue_id` (string, required, nullable)
- `active` (boolean, required)
- `version` (integer, required) — Bumps on every change to the entity, deletions included. A client holding a version can ignore any state with a lower one.
- `updated_at` (datetime, required)

## Examples

**Response**

```json
{
  "data": [
    {
      "id": "01a1b987-644f-7459-b8e0-810b314f71da",
      "league": "nfl",
      "season_id": "01a1b987-6453-7f24-8b50-864e0733cdcd",
      "week_id": "01a1b987-6455-7bc9-a76a-fb7382f87aa5",
      "title": null,
      "game_type": "regular",
      "status": "complete",
      "coverage": "full",
      "scheduled_at": "2026-11-06T01:15:00Z",
      "venue_id": "01a1b987-6457-74b4-84be-105aa41bda9b",
      "neutral_site": false,
      "home_team_id": "01a1b987-6450-7c2a-898a-4dfae5a45300",
      "away_team_id": "01a1b987-6452-7f29-ac56-aab66006a3f5",
      "home_score": 10,
      "away_score": 33,
      "attendance": null,
      "started_at": null,
      "ended_at": null,
      "rescheduled_from_id": null,
      "version": 1,
      "updated_at": "2026-11-08T05:00:20.428452Z"
    }
  ],
  "teams": [
    {
      "id": "01a1b987-6450-7c2a-898a-4dfae5a45300",
      "league": "nfl",
      "market": "Baltimore",
      "name": "Ravens",
      "alias": "BAL",
      "venue_id": null,
      "active": true,
      "version": 1,
      "updated_at": "2026-11-08T05:00:20.428452Z"
    },
    {
      "id": "01a1b987-6452-7f29-ac56-aab66006a3f5",
      "league": "nfl",
      "market": "Jacksonville",
      "name": "Jaguars",
      "alias": "JAX",
      "venue_id": null,
      "active": true,
      "version": 1,
      "updated_at": "2026-11-08T05:00:20.428452Z"
    }
  ],
  "next_cursor": null
}
```

**SDK Code**

```python Jacksonville at Baltimore, NFL week 9
import requests

url = "https://api.statpad.dev/v1/nfl/games"

querystring = {"date":"2026-11-07"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript Jacksonville at Baltimore, NFL week 9
const url = 'https://api.statpad.dev/v1/nfl/games?date=2026-11-07';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Jacksonville at Baltimore, NFL week 9
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.statpad.dev/v1/nfl/games?date=2026-11-07"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Jacksonville at Baltimore, NFL week 9
require 'uri'
require 'net/http'

url = URI("https://api.statpad.dev/v1/nfl/games?date=2026-11-07")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Jacksonville at Baltimore, NFL week 9
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.statpad.dev/v1/nfl/games?date=2026-11-07")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Jacksonville at Baltimore, NFL week 9
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.statpad.dev/v1/nfl/games?date=2026-11-07', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Jacksonville at Baltimore, NFL week 9
using RestSharp;

var client = new RestClient("https://api.statpad.dev/v1/nfl/games?date=2026-11-07");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Jacksonville at Baltimore, NFL week 9
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.statpad.dev/v1/nfl/games?date=2026-11-07")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```