---
title: "Get Baseball Savant Rolling Windows rows"
method: GET
path: "/mlb/statcast-rolling"
tags: ["MLB"]
---

# Get Baseball Savant Rolling Windows rows

`GET /mlb/statcast-rolling`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/mlb/statcast-rolling`
- Auth: API key in header `x-api-key`

Returns the six embedded Batter/Pitcher rolling-window tables, filtered by metric, role, and plate-appearance window. Each group is sorted by the selected metric delta in the same direction as the first-party page and paginated independently. The upstream page has no season, team, or game-type filters.

## Query parameters

- `metric` 'xwoba' | 'woba' | 'ba' | 'xba' | 'slg' | 'xslg'
- `role` 'Batter' | 'Pitcher'
- `window_pa` '50' | '100' | '250'
- `limit` integer
- `offset` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- MlbStatcastRollingResponseDoc
  - `fetched_at` string
  - `groups` MlbStatcastRollingGroup[]
    - `limit` integer
    - `offset` integer
    - `role` string
    - `rows` object[]
    - `total` integer
    - `window_pa` integer
  - `limit` integer
  - `metric` string
  - `offset` integer
  - `source_url` string
  - `total` integer

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
