Endpoint Playground
Returns ranked MLB leader entries for one or more validated categories. Use mlb-discovery for all accepted categories, groups, and game type codes.
14 Oct 2026: 1 results; 6 fields had a value in every checked item.
Sample value profiles: category: “homeRuns”; leaders: median 40 entries; group: “hitting”.
curl 'https://api.crawlora.net/api/v1/mlb/league-leaders?categories=homeRuns&group=hitting&game_type=S&league_id=103' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| categories | string | Yes | homeRuns | Comma-separated MLB leader category names; values are listed in mlb-discovery |
| season | integer | No | Four-digit season; defaults to current year | |
| group | string | No | hitting | Stat group |
| game_type | string | No | S | MLB game type |
| league_id | string | No | 103 | MLB league id |
| limit | integer | No | Leaders per category (1-100) |
{
"code": 200,
"msg": "OK",
"data": {
"season": 2026,
"categories": [
"homeRuns"
],
"count": 1,
"results": [
{
"category": "homeRuns",
"group": "hitting",
"total": 538,
"leaders": [
{
"rank": 1,
"value": "58",
"player": {
"id": 592450,
"name": "Aaron Judge"
}
}
]
}
]
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.