Skip to main content
GET
/
api
/
v2
/
events
/
{eventID}
/
best-line
Get best available line for an event
curl --request GET \
  --url 'https://therundown.io/api/v2/events/{eventID}/best-line?key='
{
  "best_lines": {
    "period_full_game": {
      "moneyline": {
        "away": {
          "price": 155,
          "american_price": "+155",
          "affiliate": {
            "affiliate_id": 23,
            "affiliate_name": "FanDuel"
          }
        },
        "home": {
          "price": -170,
          "american_price": "-170",
          "affiliate": {
            "affiliate_id": 19,
            "affiliate_name": "DraftKings"
          }
        }
      },
      "spread": {
        "away": {
          "line_value": 4.5,
          "price": -105,
          "american_price": "-105",
          "affiliate": {
            "affiliate_id": 3,
            "affiliate_name": "Pinnacle"
          }
        },
        "home": {
          "line_value": -4.5,
          "price": -108,
          "american_price": "-108",
          "affiliate": {
            "affiliate_id": 23,
            "affiliate_name": "FanDuel"
          }
        }
      },
      "total": {
        "over": {
          "line_value": 224.5,
          "price": -108,
          "american_price": "-108",
          "affiliate": {
            "affiliate_id": 19,
            "affiliate_name": "DraftKings"
          }
        },
        "under": {
          "line_value": 224.5,
          "price": -105,
          "american_price": "-105",
          "affiliate": {
            "affiliate_id": 3,
            "affiliate_name": "Pinnacle"
          }
        }
      }
    }
  }
}

Authorizations

key
string
query
required

API key as query parameter

Path Parameters

eventID
string
required

Event ID (UUID format)

Query Parameters

period
enum<string>
default:period_full_game

Period to get best line for

Available options:
period_full_game,
period_first_half,
period_second_half,
period_first_period,
period_second_period,
period_third_period,
period_fourth_period,
period_live_full_game,
period_live_first_half,
period_live_second_half,
period_live_first_period,
period_live_second_period,
period_live_third_period,
period_live_fourth_period
affiliate_ids
string

Comma-separated sportsbook/affiliate IDs to filter. Common values include DraftKings (19), FanDuel (23), BetMGM (22), Bovada (2), Pinnacle (3).

Response

200 - application/json

Best lines

event_id
string
moneyline
object
spread
object
total
object
periods
object

Period-specific best lines keyed by period name