Docs
Search⌘ K
  • Home
  • About The Graph
  • Supported Networks
  • Protocol Contracts
  • Subgraphs
    • Substreams
      • Token API
        • Hypergraph
          • AI Suite
            • Indexing
              • Graph Horizon
                • Resources
                  Token API > Polymarket Market Endpoints

                  Market OHLCV

                  GET/v1/polymarket/markets/ohlc

                  Returns OHLCV price data for a single outcome token. Each market has two outcome tokens (e.g. Yes and No) — use /v1/polymarket/markets to discover them.

                  Prices are in USD per share (0 to 1). Volume and fees are in USDC.

                  Query Parameters

                  ParameterDescriptionValue
                  token_id
                  string
                    Required
                    interval
                    string

                    The interval* for which to aggregate price data (1-minute, 5-minutes, 10-minutes, 30-minutes, hourly, 4-hours, daily or weekly).
                    *Plan restricted.

                    • Default value: 1d
                    • Accepted values: 1m, 5m, 10m, 30m, 1h, 4h, 1d, 1w
                    1d
                    start_time
                    string

                    UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                      end_time
                      string

                      UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...).

                        limit
                        integer

                        Number of items* returned in a single request.
                        *Plan restricted.

                        • Default value: 10
                        • Minimum value: 1
                        • Maximum value: 1000
                        page
                        integer

                        Page number to fetch.
                        Empty data array signifies end of results.

                        • Default value: 1
                        • Minimum value: 1
                        • Maximum value: 767465558638

                        Potential Responses

                        StatusDescription
                        200

                        Successful Response

                        400

                        Client side error

                        401

                        Authentication failed

                        403

                        Forbidden

                        404

                        Not found

                        500

                        Server side error

                        ⁠Edit on GitHub⁠

                        Market LookupMarket Open Interest
                        Test this endpoint

                        1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/polymarket/markets/ohlc?token_id=53342136288932702007624506186417846874594504126387502748453102780630218207922&interval=1d&limit=10&page=1' \3  --header 'Authorization: Bearer {token}'

                        1{2  "data": [3    {4      "timestamp": "2026-04-01 00:00:00",5      "open": 0.997,6      "high": 0.998,7      "low": 0.997,8      "close": 0.998,9      "volume": 295143.37,10      "trades": 1206,11      "buys": 498,12      "sells": 708,13      "unique_makers": 592,14      "unique_takers": 121,15      "total_fees": 0,16      "fee_count": 0,17      "effective_fee_rate": 0,18      "market": {19        "condition_id": "0x6331a779482df72d904c3c1e12b6409ff836bc06f8c97945cba9b25ada2c605c",20        "market_slug": "will-the-portland-trail-blazers-win-the-2026-nba-finals",21        "token_id": "48262548906086150698299934962091284390063927164151224719187427455086357699251",22        "outcome_label": "No",23        "closed": false24      }25    }26  ]27}
                        The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service