Endpoint Playground
Test Crawlora's MLB Percentile Rankings API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/mlb/statcast-percentile?type=batter&year=2015&team=108&sort_dir=asc" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| type | string | No | batter | Table type |
| year | string | No | 2015 | Season |
| team | string | No | 108 | MLB team id; blank selects all teams |
| pctl | array | No | Repeated field-comparator-value filter from the type-specific field set in mlb_discovery; value range 0-100 | |
| sort | string | No | Local sort field from the type-specific set in mlb_discovery | |
| sort_dir | string | No | asc | Local sort direction |
| limit | integer | No | Rows per page (1-500) | |
| offset | integer | No | Zero-based row offset |
{
"code": 200,
"msg": "OK",
"data": {
"board": "percentile-rankings",
"type": "batter",
"year": "2026",
"filters": [
{
"field": "percent_rank_xwoba",
"comparator": "gte",
"value": 50
}
],
"sort": "percent_rank_xwoba",
"sort_dir": "desc",
"total": 28,
"offset": 0,
"limit": 5,
"rows": [
{
"player_id": "592450",
"player_name": "Example Player",
"percent_rank_xwoba": 86,
"player_url": "https://baseballsavant.mlb.com/savant-player/592450"
}
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns batter or pitcher percentile rankings. Type, season, and team are first-party table filters. Repeated pctl filters, table sorting, and pagination are applied locally to the embedded rows. Use mlb_discovery for exact type-specific fields, comparators, seasons, and team ids. CSV is a separate download.
{
"code": 200,
"msg": "OK",
"data": {
"board": "percentile-rankings",
"type": "batter",
"year": "2026",
"filters": [
{
"field": "percent_rank_xwoba",
"comparator": "gte",
"value": 50
}
],
"sort": "percent_rank_xwoba",
"sort_dir": "desc",
"total": 28,
"offset": 0,
"limit": 5,
"rows": [
{
"player_id": "592450",
"player_name": "Example Player",
"percent_rank_xwoba": 86,
"player_url": "https://baseballsavant.mlb.com/savant-player/592450"
}
]
}
}curl "https://api.crawlora.net/api/v1/mlb/statcast-percentile" \
-H "x-api-key: $CRAWLORA_API_KEY"