MLB Stats API Docs

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

GET/api/v1/game/{gamePk}/content

Game content

Editorial, media, and highlight content for a game.

On this page

Try it

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

Reference

Path parameters

NameTypeRequiredDescription
gamePknumberyes

Game id from the schedule endpoint.

Response

Type: GameContentResponse

/** `GET /api/v1/game/{gamePk}/content` — partial. */
export interface GameContentResponse extends WithCopyright {
	link: string
	editorial?: Record<string, unknown>
	media?: Record<string, unknown>
	highlights?: Record<string, unknown>
	summary?: Record<string, unknown>
	[key: string]: unknown
}

Build with it

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

Highlights reel

Thumbnail cards for a game’s posted video highlights, with titles and run times.

Finding a game…

Example URLs

  • Content for a game: https://statsapi.mlb.com/api/v1/game/744914/content