Endpoint Playground
Test Crawlora's Get ranked MLB league statistics 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-stats?group=hitting" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| season | integer | No | Four-digit season; defaults to current year | |
| group | string | Yes | hitting | Stat group |
| limit | integer | No | Results to return (1-100) |
{
"code": 200,
"data": {
"fetched_at": "sample",
"group": "sample",
"player_id": 1,
"season": 1,
"source_url": "https://example.com/resource",
"splits": [
{
"league": {
"id": 1,
"name": "sample"
},
"player": {
"id": 1,
"name": "sample"
},
"position": "sample",
"rank": 1,
"season": "sample",
"stats": {},
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
}
}
],
"team_id": 1,
"total": 1,
"type": "sample"
},
"msg": "OK"
}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 season stat splits across both leagues. The group enum accepts `hitting`, `pitching`, and `fielding`.
{
"code": 200,
"data": {
"fetched_at": "sample",
"group": "sample",
"player_id": 1,
"season": 1,
"source_url": "https://example.com/resource",
"splits": [
{
"league": {
"id": 1,
"name": "sample"
},
"player": {
"id": 1,
"name": "sample"
},
"position": "sample",
"rank": 1,
"season": "sample",
"stats": {},
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
}
}
],
"team_id": 1,
"total": 1,
"type": "sample"
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/mlb/league-stats?group=<group>" \
-H "x-api-key: $CRAWLORA_API_KEY"