{
  "info": {
    "name": "DraftKings API starter",
    "description": "Independent service, not affiliated with or endorsed by DraftKings. Technical access is not a redistribution license. No wagering.\n\nImport this collection and the environment template. Nothing runs on import. Add your key to the environment's current value, set ALLOW_LIVE_REQUESTS to true, then send one request at a time. Each send costs one metered request. There is no automatic pagination. Every data request uses limit=5.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{DRAFTKINGS_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "if (pm.environment.get('ALLOW_LIVE_REQUESTS') !== 'true') {",
          "  throw new Error('Set ALLOW_LIVE_REQUESTS to true in the environment to spend a request.');",
          "}",
          "if (!pm.environment.get('DRAFTKINGS_API_KEY')) {",
          "  throw new Error('Add DRAFTKINGS_API_KEY to the current value of the environment.');",
          "}"
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          "pm.test('status is 200', () => pm.response.to.have.status(200));"
        ]
      }
    }
  ],
  "item": [
    {
      "name": "Coverage",
      "item": [
        {
          "name": "Stored coverage",
          "request": {
            "method": "GET",
            "description": "Measured stored coverage and collector context. Accepts no query parameters.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/coverage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "coverage"
              ],
              "query": []
            }
          }
        }
      ]
    },
    {
      "name": "Pick6",
      "item": [
        {
          "name": "Projections",
          "request": {
            "method": "GET",
            "description": "Market rows. A row is not a unique athlete. Multipliers are not odds.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/pick6/projections?sport=NHL&stat=Shots on Goal&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "pick6",
                "projections"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NHL"
                },
                {
                  "key": "stat",
                  "value": "Shots on Goal"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Change history",
          "request": {
            "method": "GET",
            "description": "Actual offer changes. Continue with pagination.next_after and offset 0.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/pick6/history?sport=NHL&after=0&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "pick6",
                "history"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NHL"
                },
                {
                  "key": "after",
                  "value": "0"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Projections as CSV",
          "request": {
            "method": "GET",
            "description": "Native CSV exists only on Pick6. Up to 100 rows per page.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/pick6/projections?sport=NHL&format=csv&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "pick6",
                "projections"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NHL"
                },
                {
                  "key": "format",
                  "value": "csv"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Sportsbook",
      "item": [
        {
          "name": "Events",
          "request": {
            "method": "GET",
            "description": "Observed events with event_status.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/events?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "events"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Odds",
          "request": {
            "method": "GET",
            "description": "As of 2026-11-03: ESPN-attributed DraftKings moneyline, spread and total. No native props, alternates or futures.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/odds?sport=NBA&market=total&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "odds"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "market",
                  "value": "total"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Retained history",
          "request": {
            "method": "GET",
            "description": "Retained observations ordered by seq. Not an opening-to-close archive.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/history?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "history"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "DFS",
      "item": [
        {
          "name": "Sports",
          "request": {
            "method": "GET",
            "description": "Captured catalog. Pagination only.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/dfs/sports?limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dfs",
                "sports"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Slates",
          "request": {
            "method": "GET",
            "description": "Selected draft groups.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/dfs/slates?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dfs",
                "slates"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Contests",
          "request": {
            "method": "GET",
            "description": "Observed contests, not a promise that a contest is open.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/dfs/contests?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dfs",
                "contests"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Players",
          "request": {
            "method": "GET",
            "description": "Roster-slot draftables. Salary is not a line.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/dfs/players?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "dfs",
                "players"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Statistics",
      "item": [
        {
          "name": "Games",
          "request": {
            "method": "GET",
            "description": "Sport and season required. NFL uses starting year; NBA and NHL use ending year.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/stats/games?sport=NBA&season=2027&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "stats",
                "games"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "season",
                  "value": "2027"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Player games",
          "request": {
            "method": "GET",
            "description": "Limited retained samples, not full seasons. Continue with pagination.next as after.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/stats/player-games?sport=NFL&season=2026&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "stats",
                "player-games"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NFL"
                },
                {
                  "key": "season",
                  "value": "2026"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Team games",
          "request": {
            "method": "GET",
            "description": "Limited retained samples.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/stats/team-games?sport=NHL&season=2027&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "stats",
                "team-games"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NHL"
                },
                {
                  "key": "season",
                  "value": "2027"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Scores and box scores",
      "item": [
        {
          "name": "Games",
          "request": {
            "method": "GET",
            "description": "ESPN scores for observed events.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/context/games?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "context",
                "games"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Player stats",
          "request": {
            "method": "GET",
            "description": "Filter by event_id or athlete_id.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/context/player-stats?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "context",
                "player-stats"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        },
        {
          "name": "Team stats",
          "request": {
            "method": "GET",
            "description": "Filter by event_id.",
            "url": {
              "raw": "{{baseUrl}}/api/v1/context/team-stats?sport=NBA&limit=5",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "context",
                "team-stats"
              ],
              "query": [
                {
                  "key": "sport",
                  "value": "NBA"
                },
                {
                  "key": "limit",
                  "value": "5"
                }
              ]
            }
          }
        }
      ]
    }
  ]
}