DraftKings Sportsbook

DraftKings Sportsbook team

Returns stable team metadata embedded in a public DraftKings Sportsbook team page. Supply team_id, sport, and slug from an item returned by /draftkings/sportsbook/teams. Allowed sport values: football, hockey, basketball, baseball.

get/draftkings/sportsbook/team

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/draftkings/sportsbook/team
  • Auth: API key in header x-api-key

Query parameters

team_idstring required

Numeric DraftKings team id

sport'football' | 'hockey' | 'basketball' | 'baseball' required

Sport: football, hockey, basketball, baseball

slugstring required

Lowercase DraftKings team slug

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "abbreviation": "ARI",
    "city": "Arizona",
    "id": "18454",
    "leagues": [
      {
        "id": "88808",
        "slug": "nfl"
      }
    ],
    "name": "ARI Cardinals",
    "primary_color": "#97233F",
    "secondary_color": "#000000",
    "short_name": "Cardinals",
    "sport": "football",
    "sport_id": "3"
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.