draftkings apiDashboard ↗

INDEPENDENT DEVELOPER REFERENCE

Does the API export CSV?

Partly. Pick6 endpoints accept format=csv and return up to 100 rows per page, with selections and entities as JSON cells. Sportsbook, DFS, context and statistics endpoints return JSON only, so convert those rows on your side. A small example script does that conversion.

Editorial review: · Not a live coverage report

Paging a CSV

A CSV response has no pagination object, so page by raising offset until a page returns fewer rows than limit. The history CSV has no change_id column, so use JSON when you follow a change cursor. Cells that begin with characters such as = or - are prefixed with an apostrophe to prevent spreadsheet formula injection, and a signed value will need that removed.

One page of Pick6 as CSV
curl --fail-with-body "https://draftkingsapi.com/api/v1/pick6/projections?sport=NFL&format=csv&limit=100" \
  -H "Authorization: Bearer $DRAFTKINGS_API_KEY" -o pick6.csv

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.