Oddlyx LogoOddlyx

Sportsbooks Endpoint

Retrieve a list of all sportsbooks supported by the API.

GET
/api/v1/nba/odds/sportsbooks

Description

Use this endpoint to map sportsbook IDs to display names. This is helpful when rendering odds tables and showing where each price comes from.

Response

Returns a list of all supported sportsbooks with their IDs and names.

Example Request

curl -X GET "https://odds-marketplace.onrender.com/api/v1/nba/odds/sportsbooks" \
  -H "Authorization: Bearer sk_your_api_key_here"

Example Response

{
  "success": true,
  "data": [
    {
      "id": 15,
      "name": "FanDuel"
    },
    {
      "id": 14,
      "name": "DraftKings"
    },
    {
      "id": 3,
      "name": "BetMGM"
    }
  ],
  "count": 3
}