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 Activity

                  GET/v1/polymarket/markets/activity

                  Returns a chronological feed of on-chain trades, position splits, merges, and redemptions. Each row includes the transaction hash, block number, and scaled amounts.

                  For trades, market.token_id and market.outcome_label identify the specific outcome token. For splits, merges, and redemptions, these are null because the operation applies to the market as a whole.

                  At least one of user, token_id, or condition_id is required. Defaults to the last 24 hours when no time range is specified — provide start_time and end_time to query older data.

                  Query Parameters

                  ParameterDescriptionValue
                  user
                  string
                    token_id
                    string
                      condition_id
                      string
                        event_type
                        string

                        Filter by event type

                        • Accepted values: trade, split, merge, redeem
                        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 Open InterestMarket Positions
                            Test this endpoint

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

                            1{2  "data": [3    {4      "event_type": "trade",5      "timestamp": "2026-04-02 16:51:31",6      "block_num": 85014327,7      "tx_hash": "0xf190865afd395e2f4b8f2e5f8ceb2c05a86d94a73ea411e8a8a3fc649924c420",8      "user": "0x38e598961dd0456a7fb2e758bd433d3e59fb8a4a",9      "amount": "3976744",10      "value": 3.98,11      "fee_amount": "526315",12      "fee_value": 0.53,13      "market": {14        "condition_id": "0xcb37916b953e6b37a5be32ceabc5a093614be15d9e6abb7668bf6400fbf36d46",15        "market_slug": "bitcoin-up-or-down-on-april-3-2026",16        "token_id": "3861173442961229042274748637211736540847931193208187121747580704941582603312",17        "outcome_label": "Down",18        "closed": false19      }20    },21    {22      "event_type": "split",23      "timestamp": "2026-04-02 16:54:27",24      "block_num": 85014415,25      "tx_hash": "0x144e86c0cd14880a6615dc1853e4438287efde3a9fb0ddca618a1b48d22d59bf",26      "user": "0x4bfb41d5b3570defd03c39a9a4d8de6bd8b8982e",27      "amount": "680000",28      "value": 0.68,29      "fee_amount": "0",30      "fee_value": 0,31      "market": {32        "condition_id": "0xb03edede6288cd4e3af35e9aa2d8eeb1a8a0fcde8ba270cc2ae3677bd6dc44f0",33        "market_slug": "btc-updown-5m-1775148600",34        "token_id": null,35        "outcome_label": null,36        "closed": false37      }38    }39  ]40}
                            The GraphStatusTestnetBrand AssetsForumSecurityPrivacy PolicyTerms of Service