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 Lookup

                  GET/v1/polymarket/markets

                  Returns market metadata including question, outcomes with token IDs, volume, and status. Each market has exactly two outcomes (binary); multi-outcome scenarios are modeled as multiple markets grouped under one event.

                  Use this to discover token_id values needed for OHLCV and position queries, or to resolve a slug to identifiers. When no identifier is provided, returns a paginated list for discovery.

                  Query Parameters

                  ParameterDescriptionValue
                  condition_id
                  string
                    market_slug
                    string
                      token_id
                      string
                        event_slug
                        string
                          closed
                          boolean
                            sort_by
                            string
                            • Default value: volume
                            • Accepted values: volume, end_date, start_date
                            volume
                            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⁠

                            Swap EventsMarket OHLCV
                            Test this endpoint

                            1curl --request GET \2  --url 'https://token-api.thegraph.com/v1/polymarket/markets?condition_id=0x9708334534b504e2025a5a6af92f8600808c10be577e5066f920c40625fbec16&market_slug=will-bitcoin-reach-150k-in-january-2026&token_id=53342136288932702007624506186417846874594504126387502748453102780630218207922&event_slug=will-bitcoin-reach-150k-in-january-2026&closed=false&sort_by=volume&limit=10&page=1'

                            1{2  "data": [3    {4      "condition_id": "0x6331a779482df72d904c3c1e12b6409ff836bc06f8c97945cba9b25ada2c605c",5      "market_slug": "will-the-portland-trail-blazers-win-the-2026-nba-finals",6      "event_slug": "2026-nba-champion",7      "event_title": "2026 NBA Champion",8      "question": "Will the Portland Trail Blazers win the 2026 NBA Finals?",9      "description": "",10      "outcomes": [11        {12          "label": "Yes",13          "token_id": "82402823484466457361170410951601106261368113664328436062375970009969959380598"14        },15        {16          "label": "No",17          "token_id": "48262548906086150698299934962091284390063927164151224719187427455086357699251"18        }19      ],20      "closed": false,21      "neg_risk": true,22      "accepting_orders": true,23      "fees_enabled": false,24      "volume": 5483559.78,25      "start_date": "2025-06-23T16:02:41.286933Z",26      "end_date": "2026-07-01T00:00:00Z"27    }28  ]29}
                            The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service