V2 Markets

Get price history for specific market line prices

Changed on
get/api/v2/markets/history

Request

  • Base URL
    https://therundown.io
  • Auth
    API key in header X-TheRundown-Key

Query parameters

market_line_price_idsstring required

Comma-separated market line price IDs (max 50)

fromstring date-time

Start time (RFC3339)

tostring date-time

End time (RFC3339)

limitinteger
main_line'true' | 'false'

When true, return only history rows (or chart points) that were the sportsbook's main line when written: is_main_line = true on history rows, m = true on chart points. Sorted by time, each change of the line value for a participant is a main-line move at that timestamp.

Response

Price history

Changes

    • info

      added the new optional query request parameter main_line

    • info

      added the optional property // to the response with the status