Endpoint Playground
Returns the at-bats of an MLB game by numeric `id`. Each play has its inning and half, batter, pitcher, event and description, and a list of individual pitch and event records with timing and pitch data. The response includes a `total` count of plays.
14 Oct 2026: 63 plays; 10 fields had a value in every checked item.
Sample value profiles: event_type: field_out (28), strikeout (18), single (6) and 5 more; inning: 1 to 9, median 5; event: “Groundout” and 10 other values.
curl 'https://api.crawlora.net/api/v1/mlb/game-play-by-play?id=824651' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id | string | Yes | 824651 | Numeric MLB game id |
{
"code": 200,
"data": {
"game_id": 824651,
"total": 63,
"plays": [
{
"at_bat_index": 0,
"event": "Strikeout",
"inning": 1
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.