Polymarket Open Interest API
Returns the open interest in USDC for one or more Polymarket markets. You pass one or more condition IDs in condition, separated by commas.
Use cases
- Track how much money is still committed to a market before deciding whether it is liquid enough to trade.
- Rank a set of markets by open interest to find the most active ones.
- Chart open interest for a market over time by calling the API on a schedule and storing the
value.
- Compare open interest across up to 20 related markets in a single call.
Request
curl -X POST "https://api.sandbase.ai/v1/api/polymarket/oi" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"condition": "0xc5eae79d1ffe716572353962eb926b1e3964c500a4880a7a94f58408218ee76b"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"condition_id": "0xc5eae79d1ffe716572353962eb926b1e3964c500a4880a7a94f58408218ee76b",
"value": 7708257.285468
}
]
}
Response fields
Notes
Pricing
$0.00044 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.