get_oi_history
Retrieve hourly open interest snapshots for any Polymarket market using its conditionId, enabling analysis and charting of OI trends over time.
Instructions
Get hourly open interest snapshots for a specific Polymarket market. Use this to chart OI trends over time. The conditionId can be obtained from get_market_open_interest or the main subgraph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | Number of hourly snapshots to return (default 168 = 1 week) | |
| conditionId | Yes | The conditionId (hex string) of the market | |
| orderDirection | No | Sort direction by timestamp | desc |