draftkings apiDashboard ↗

INDEPENDENT DEVELOPER REFERENCE

How do ESPN IDs relate to DraftKings IDs here?

They are separate. Statistics and context rows use numeric ESPN IDs. ESPN-attributed sportsbook event IDs embed the same ESPN event number at the end of a longer string. Native sportsbook, Pick6 and DFS use their DraftKings source IDs. No mapping between ESPN and DraftKings identities is supplied or inferred.

Editorial review: · Not a live coverage report

Sportsbook to statistics

A sportsbook event_id looks like espn-draftkings:espn:NBA:401909925. Its last segment is the number the statistics and context filters take as event_id. Other retained samples can use other sources, so confirm the prefix before you split it.

Only split the prefix you expect
event_id = "espn-draftkings:espn:NBA:401909925"  # illustrative
if event_id.startswith("espn-draftkings:espn:"):
    espn_event = event_id.rsplit(":", 1)[1]
    print(espn_event)  # pass as event_id on /api/v1/stats/*

Check the recorded data

Related resources

Independent service operated by DD Inc., not affiliated with or endorsed by DraftKings. Technical access is not a redistribution license. No wagering: this service does not place, recommend or settle entries or bets. Check sources and status for actual capture context.