Endpoint Playground
Test Crawlora's DraftKings Sportsbook event context 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/draftkings/sportsbook/event-context?event_id=<event_id>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| event_id | string | Yes | Numeric DraftKings event id |
{
"code": 200,
"msg": "OK",
"data": {
"event_id": "34522271",
"sport_id": "7",
"league_id": "84240",
"sport_seo_id": "baseball",
"league_seo_id": "mlb",
"event_seo_id": "chi-white-sox-@-det-tigers"
}
}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 public sport, league, and event navigation identifiers for a numeric DraftKings event id. Use it to associate an event with DraftKings Sportsbook's public sport and league navigation.
{
"code": 200,
"msg": "OK",
"data": {
"event_id": "34522271",
"sport_id": "7",
"league_id": "84240",
"sport_seo_id": "baseball",
"league_seo_id": "mlb",
"event_seo_id": "chi-white-sox-@-det-tigers"
}
}curl "https://api.crawlora.net/api/v1/draftkings/sportsbook/event-context?event_id=<event_id>" \
-H "x-api-key: $CRAWLORA_API_KEY"