Endpoint Playground
Test Crawlora's Get the MLB schedule and scores 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/schedule" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| date | string | No | Single date in YYYY-MM-DD format | |
| start_date | string | No | Range start in YYYY-MM-DD format | |
| end_date | string | No | Range end in YYYY-MM-DD format | |
| team_id | string | No | Numeric MLB team id |
{
"code": 200,
"data": {
"date": "sample",
"end_date": "sample",
"fetched_at": "sample",
"games": [
{
"away": {
"losses": 1,
"probable_pitcher": {
"id": 1,
"name": "sample"
},
"score": 1,
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
},
"wins": 1
},
"day_night": "sample",
"double_header": "sample",
"game_date": "sample",
"game_number": 1,
"game_type": "sample",
"home": {
"losses": 1,
"probable_pitcher": {
"id": 1,
"name": "sample"
},
"score": 1,
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
},
"wins": 1
},
"id": 1,
"official_date": "sample",
"scheduled_innings": 1,
"season": "sample",
"series_description": "sample",
"status": {
"abstract": "sample",
"code": "sample",
"detailed": "sample",
"reason": "sample"
},
"venue": {
"id": 1,
"name": "sample"
}
}
],
"source_url": "https://example.com/resource",
"start_date": "sample",
"team_id": 1,
"total_games": 1
},
"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 MLB games, teams, scores, status, probable pitchers, venue, and series information for one date or date range, optionally filtered to a team.
{
"code": 200,
"data": {
"date": "sample",
"end_date": "sample",
"fetched_at": "sample",
"games": [
{
"away": {
"losses": 1,
"probable_pitcher": {
"id": 1,
"name": "sample"
},
"score": 1,
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
},
"wins": 1
},
"day_night": "sample",
"double_header": "sample",
"game_date": "sample",
"game_number": 1,
"game_type": "sample",
"home": {
"losses": 1,
"probable_pitcher": {
"id": 1,
"name": "sample"
},
"score": 1,
"team": {
"abbreviation": "sample",
"id": 1,
"name": "sample"
},
"wins": 1
},
"id": 1,
"official_date": "sample",
"scheduled_innings": 1,
"season": "sample",
"series_description": "sample",
"status": {
"abstract": "sample",
"code": "sample",
"detailed": "sample",
"reason": "sample"
},
"venue": {
"id": 1,
"name": "sample"
}
}
],
"source_url": "https://example.com/resource",
"start_date": "sample",
"team_id": 1,
"total_games": 1
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/mlb/schedule" \
-H "x-api-key: $CRAWLORA_API_KEY"