Endpoint Playground
Test Crawlora's Get MLB player season 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/player-stats?id=<id>&group=hitting" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id | string | Yes | Numeric MLB player id | |
| season | integer | No | Four-digit season; defaults to current year | |
| group | string | Yes | hitting | Stat group |
{
"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 one player's MLB season statistics. 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/player-stats?id=<id>&group=<group>" \
-H "x-api-key: $CRAWLORA_API_KEY"