Endpoint Playground
Test Crawlora's MLB Search 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/search?q=<q>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| q | string | Yes | Search text; 3-100 characters |
{
"code": 200,
"msg": "OK",
"data": {
"query": "Yankees",
"players": [],
"teams": [
{
"id": 147,
"name": "New York Yankees",
"team_name": "Yankees",
"franchise_name": "New York",
"club_name": "Yankees",
"tri_code": "NYY"
}
],
"search_terms": [],
"topics": [
{
"name": "Yankees Game Highlights",
"slug": "nyy-game-highlights"
}
]
}
}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 the same anonymous MLB typeahead categories used by MLB.com: player suggestions, team suggestions, content topics, and search terms. Queries need at least three characters.
{
"code": 200,
"msg": "OK",
"data": {
"query": "Yankees",
"players": [],
"teams": [
{
"id": 147,
"name": "New York Yankees",
"team_name": "Yankees",
"franchise_name": "New York",
"club_name": "Yankees",
"tri_code": "NYY"
}
],
"search_terms": [],
"topics": [
{
"name": "Yankees Game Highlights",
"slug": "nyy-game-highlights"
}
]
}
}curl "https://api.crawlora.net/api/v1/mlb/search?q=<q>" \
-H "x-api-key: $CRAWLORA_API_KEY"