---
title: "Get a game's audience"
method: GET
path: "/api/v1/x/sports/{league}/games/{id}/audience"
tags: ["Sports"]
---

# Get a game's audience

`GET /api/v1/x/sports/{league}/games/{id}/audience`

## Request

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

Returns who follows 1 game on X. It has live viewers, fan picks per team & the game chat's state. Each request costs 1 credit.

## Path parameters

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

## Query parameters

- `fields` string
- `omit` string

## Response `200`

The game's audience

- SportsGameAudience: Who watches & roots for 1 game on X.
  - `id` string, required: The ID of the game, from your request.
  - `league` 'nfl' | 'ncaafb', required: The game's league, from your request.
  - `viewers` object, nullable, required: People watching the game on X at X's last count. Null before X counts any, as before kickoff.
    - `count` integer, required: How many people watched the game on X.
    - `asOf` string, date-time, required: When X counted them.
  - `teamPicks` object, required: How many people on X picked a team to root for.
    - `total` integer, nullable, required: Picks for every team in the game.
    - `teams` object[], required: Picks per team.
      - `teamId` string, required: The team ID, a key in teams.
      - `count` integer, nullable, required: How many people picked this team.
  - `chat` object, required: The game's live chat on X.
    - `available` boolean, nullable, required: Whether the chat is open now.
    - `broadcastId` string, nullable, required: X's ID for the game's chat room.
    - `opensIn` object, nullable, required: Time left until the chat opens. Null while it is open & after the game.
      - `days` integer, nullable, required: Whole days left.
      - `hours` integer, nullable, required: Hours left after the days.
      - `minutes` integer, nullable, required: Minutes left after the hours.
  - `teams` object, required: The game's teams, by team ID. Short name, alternate ID, X account & record are null here.

## Other responses

- `400`: Invalid input. A value past its maxLength gets this answer, & the message names the field & its limit. Bad input costs nothing, since it's refused before any read.
- `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.
- `403`: The API key is paused. Resume it at dashboard.xquik.com/api-keys & its next call goes through.
- `404`: Not found
- `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 a filtered search goes far back without a match. The message says how far back the search looked. "X can't run this search" appears only when it's true. Searches X can't run fail at once, with the fix. When X fails a read, Xquik answers 502 `x_api_unavailable` with `X-Xquik-Cause` & `Retry-After`. Retry after that many seconds.
- `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.
- `500`: Unexpected error.
- `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 a filtered search goes far back without a match. The message says how far back the search looked. "X can't run this search" appears only when it's true. Searches X can't run fail at once, with the fix. When X fails a read, Xquik answers 502 `x_api_unavailable` with `X-Xquik-Cause` & `Retry-After`. Retry after that many seconds.
- `503`: Retry x_api_unavailable after Retry-After. With X-Xquik-Busy, retry until your deadline. Overload is announced with 503, `Retry-After` & a reason.
- `default`: Unexpected error.

## Changes

- **2026-10-31** `2e8e935f1661`: 1 info
  - endpoint added
- **2026-10-31** `c57c57352955`: 1 breaking
  - api path removed without deprecation
- **2026-10-30** `02f0b86fb58d`: 1 breaking
  - api path removed without deprecation
- **2026-10-30** `d7a994ca1067`: 1 info
  - endpoint added
- **2026-10-30** `722bcc0a4fec`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/api/v1/x/sports/:league/games/:id/audience/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/2e8e935f1661?raw)
