Returns historical price data for supported crypto assets from Polymarket API
Documentation Index
Fetch the complete documentation index at: https://docs.struct.to/llms.txt
Use this file to discover all available pages before exploring further.
Asset ticker: BTC, ETH, XRP, SOL, DOGE, BNB, HYPE
BTC, ETH, XRP, SOL, DOGE, BNB, HYPE Time window: 5m, 15m, 1h, 4h, 1d
5m, 15m, 1h, 4h, 1d Start timestamp in seconds (Unix epoch, inclusive)
End timestamp in seconds (Unix epoch, inclusive)
Number of results (default: 10, max: 100)
Cursor from previous response for keyset pagination. Pass the pagination_key from the previous page to fetch the next page.
Successful response
Opening price at start_time (cast to f64 from NUMERIC in query)
Closing price at end_time (cast to f64 from NUMERIC in query)
Time window: "5m", "15m", "1h", "1d"
Window start timestamp (seconds since epoch)
Window end timestamp (seconds since epoch)
Generated column: "up" if close > open, "down" if close ≤ open, null if no close yet