Skip to main content
Glama

stat-api — Sports Data

Query table

query_table
Read-onlyIdempotent

Query any table. Returns {"<table>": [rows], "limit": N, "next_from_id": M|null, "has_more": bool}. To read every row, start with from_id=0 and re-call with from_id set to the previous next_from_id until it is null. A call without from_id returns the first page in the table's default sort with next_from_id null. filters is a flat object of field or field__op keys from describe_table (e.g. {"season_id": 2024, "day__between": "20250101,20250131"}). Requires an API key (Authorization: Bearer ; free tier at https://stat-api.com). Every returned row counts against the monthly record quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
tableYes
leagueYes
filtersNofield or field__op keys → scalar values; see describe_table
from_idNokeyset cursor: 0 for the first page of a full walk, then the previous next_from_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / league / enum
      Previous value: -[
      -  "nfl",
      -  "nba",
      -  "mlb",
      -  "nhl",
      -  "pga",
      -  "dfs",
      -  "kalshi",
      -  "polymarket",
      -  "reference"
      -]New value: +[
      +  "nfl",
      +  "nba",
      +  "mlb",
      +  "nhl",
      +  "pga",
      +  "dfs",
      +  "reference"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / from_id / description
      Previous value: -"keyset cursor from next_from_id"New value: +"keyset cursor: 0 for the first page of a full walk, then the previous next_from_id"
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.