Endpoint Playground
Test Crawlora's Get MLB league leaders 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/league-leaders?categories=<categories>&group=hitting&game_type=S&league_id=103" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| categories | string | Yes | 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"
}
}
]
}
]
}
}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 ranked MLB leader entries for one or more validated categories. Use mlb-discovery for all accepted categories, groups, and game type codes.
{
"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"
}
}
]
}
]
}
}curl "https://api.crawlora.net/api/v1/mlb/league-leaders?categories=<categories>" \
-H "x-api-key: $CRAWLORA_API_KEY"