MLB Stats API Docs

Type to search endpoints by name, path, or keyword.

GET/api/v1/gameStatus

Game status (enum)

All game status codes and descriptions.

On this page

Try it

https://statsapi.mlb.com/api/v1/gameStatus
const res = await fetch('https://statsapi.mlb.com/api/v1/gameStatus')
const data = await res.json()
curl -s 'https://statsapi.mlb.com/api/v1/gameStatus'

Reference

Response

Type: GameStatusResponse

/** `GET /api/v1/gameStatus` */
export type GameStatusResponse = GameStatusEntry[]

Notes

  • Returns a bare array. Maps statusCode/detailedState values seen on games.

Build with it

Live examples powered by this endpoint with real data. Inspiration — restyle and remix freely.

Status codes

A searchable reference of every game status the API reports.

Loading statuses…

Example URLs

  • All game statuses: https://statsapi.mlb.com/api/v1/gameStatus