polygon.predictions.open_interest
table provides daily snapshots of open interest across all prediction markets. Open interest represents the total value of outstanding positions. These holdings include positions that have not been redeemed.
Use this table for market liquidity analysis, total value locked tracking, and understanding the overall size of prediction markets.
Table Columns
Unique Key:unique_id
Column Name | Data Type | Description |
---|---|---|
project | VARCHAR | Project name (ex. polymarket). |
protocol | VARCHAR | Protocol name (ex. polymarket). |
unique_id | VARCHAR | Unique identifier combining day, address, and token_id. |
day | DATE | Date for the open interest snapshot. |
address | VARCHAR | Wallet address holding the position. |
condition_id | VARCHAR | Unique condition identifier for the market. |
market_unique_id | VARCHAR | Unique key for grouping related markets. |
market_id | VARCHAR | Market identifier. |
market_name | VARCHAR | Market name. |
market_description | VARCHAR | Market description. |
question_id | VARCHAR | Unique question identifier. |
question | VARCHAR | Market question text. |
question_description | VARCHAR | Market description from API. |
token_id | VARCHAR | Token ID for the specific outcome token. |
token_outcome | VARCHAR | Token outcome name. |
category | VARCHAR | Main category of the market. |
sub_category | VARCHAR | Specific subcategory of the market. |
tags | VARCHAR | API category tags. |
neg_risk | BOOLEAN | Whether this is a NegRisk market. |
resolution_outcome | VARCHAR | Market resolution outcome (API data). |
resolved_at | TIMESTAMP_NTZ(9) | Market resolution timestamp (API data). |
open_interest | FLOAT | Number of outcome tokens held (position size). |
token_price | FLOAT | Current token price. |
open_interest_usd | FLOAT | USD value of the open interest position. |
market_active | BOOLEAN | Whether market is currently active. |
market_closed | BOOLEAN | Whether market is closed. |
market_accepting_orders | BOOLEAN | Whether market is accepting new orders. |
is_winner | BOOLEAN | Whether this outcome won the market (API data). |
_created_at | TIMESTAMP_NTZ(9) | Record creation timestamp. |
_updated_at | TIMESTAMP_NTZ(9) | Record update timestamp. |
Sample Query
Analyze total open interest by market & category: