Endpoint Playground
Test Crawlora's MLB Discovery 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/discovery" \
-H "x-api-key: $CRAWLORA_API_KEY"No request parameters
{
"code": 200,
"msg": "OK",
"data": {
"sports": [
{
"id": 1,
"name": "Major League Baseball"
}
],
"leagues": [
{
"id": 103,
"name": "American League"
},
{
"id": 104,
"name": "National League"
}
],
"game_types": [
{
"value": "S",
"description": "Spring Training"
}
],
"stat_hitter_positions": [
{
"value": "C"
},
{
"value": "1B"
}
],
"stat_player_pools": [
{
"value": "QUALIFIED"
},
{
"value": "ALL"
}
],
"sections": [
{
"label": "News",
"url": "https://www.mlb.com/news"
}
]
}
}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.com's live navigation tree, including hidden nodes labeled with visibility, and the MLB-only value sets for leagues, divisions, game types, roster types, standings types, stat groups, supported stat types, leader categories, MLB Pipeline prospect filters, league-stats hitter positions and player pools, and observed Baseball Savant leaderboard categories and filters including Expected Statistics, Outs Above Average, Arm Strength, Arm Value, Home Runs, and Sprint Speed. Use these values to discover sections and supported filters before calling MLB endpoints.
{
"code": 200,
"msg": "OK",
"data": {
"sports": [
{
"id": 1,
"name": "Major League Baseball"
}
],
"leagues": [
{
"id": 103,
"name": "American League"
},
{
"id": 104,
"name": "National League"
}
],
"game_types": [
{
"value": "S",
"description": "Spring Training"
}
],
"stat_hitter_positions": [
{
"value": "C"
},
{
"value": "1B"
}
],
"stat_player_pools": [
{
"value": "QUALIFIED"
},
{
"value": "ALL"
}
],
"sections": [
{
"label": "News",
"url": "https://www.mlb.com/news"
}
]
}
}curl "https://api.crawlora.net/api/v1/mlb/discovery" \
-H "x-api-key: $CRAWLORA_API_KEY"