Skip to main content
GET
/
list-games
List available games
curl --request GET \
  --url https://api.polyrouter.io/functions/v1/list-games \
  --header 'X-API-Key: <api-key>'
{
  "games": [
    {
      "polyrouter_id": "DETvKC20251013",
      "prophetx_event_id": 123,
      "title": "Detroit Lions at Kansas City Chiefs",
      "away_team": {
        "abbreviation": "<string>",
        "name": "<string>"
      },
      "home_team": {
        "abbreviation": "<string>",
        "name": "<string>"
      },
      "scheduled_at": "2023-11-07T05:31:56Z",
      "status": "not_started",
      "tournament": {
        "id": 123,
        "name": "<string>"
      },
      "sport": "<string>"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123,
    "has_more": true,
    "next_offset": 123
  },
  "meta": {
    "request_time": 123,
    "cache_hit": true,
    "data_freshness": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Query Parameters

league
enum<string>
required

League ID (required)

Available options:
,
nfl,
nba,
nhl,
mlb
status
enum<string>

Filter by game status

Available options:
not_started,
live,
finished

Response

Games list retrieved successfully

games
object[]
pagination
object
meta
object