> ## Documentation Index
> Fetch the complete documentation index at: https://docs.allium.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Open Interest Daily 🌱

> Daily Polymarket open interest per wallet and token, valued with onchain prices.

The `polygon.predictions_onchain.open_interest_daily` table contains the open interest of each wallet in each Polymarket outcome token, valued in USD with onchain daily prices. Each row represents one wallet, token and day.

This table contains no Polymarket API data. The equivalent table with Polymarket API metadata is [`polygon.predictions.open_interest_daily`](/historical-data/supported-blockchains/evm/polygon/predictions/open-interest-daily).

### Table Details

| Property | Value |
| - | - |
| Table Name | `polygon.predictions_onchain.open_interest_daily` |
| Table Status | Beta 🌱 |
| Unique Key | `day`, `address`, `token_id` |

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| project | VARCHAR(16777216) | Project name (ex. polymarket). |
| protocol | VARCHAR(16777216) | Protocol name (ex. polymarket). |
| day | DATE | Date for the open interest snapshot. |
| address | VARCHAR(42) | Wallet address holding the position. |
| condition\_id | VARCHAR(16777216) | Unique condition identifier for the market. |
| market\_unique\_id | VARCHAR(16777216) | Unique key for grouping related markets. |
| market\_id | VARCHAR(16777216) | Neg-risk market identifier. |
| market\_name | VARCHAR(16777216) | Market name: the neg-risk event name, the question for single markets, or the combo name for V3 positions. |
| market\_description | VARCHAR(16777216) | Neg-risk event description published onchain. |
| question\_id | VARCHAR(16777216) | Unique question identifier. |
| question | VARCHAR(16777216) | Market question text published onchain. |
| question\_description | VARCHAR(16777216) | Market resolution description published onchain. |
| token\_id | VARCHAR(16777216) | Token ID for the specific outcome token. |
| token\_outcome | VARCHAR(16777216) | Outcome name for the token, such as Yes, No, Up or Down. |
| neg\_risk | BOOLEAN | Whether this is a NegRisk market. |
| resolution\_outcome | VARCHAR(16777216) | Market resolution outcome if resolved. |
| resolved\_at | TIMESTAMP\_NTZ(9) | Market resolution timestamp. |
| open\_interest | FLOAT | Number of outcome tokens held (position size). |
| token\_price | FLOAT | Token price for the day. |
| open\_interest\_usd | FLOAT | USD value of the open interest position. |
| is\_price\_known | BOOLEAN | Whether the token has an onchain price for the day. |
| is\_winner | BOOLEAN | Whether this outcome won the market. |
| unique\_id | VARCHAR(16777216) | Unique identifier combining day, address, and token\_id (format 'day-YYYY-MM-DD\_address-{address}\_token\_id-{token_id}'). |

***

### Sample Query

```sql theme={null}
select *
from polygon.predictions_onchain.open_interest_daily
where day = '2026-10-17'
  and token_id = '73245421796922750466829041889725203633090129283314240032365966286987444361172'
order by open_interest_usd desc
limit 100
```
