Read-only preview
You're browsing the public OpenAPI spec. Sign in to send live requests with your team's API key.
Quickstart
Preview Polymarket activity with recent trade events for a market token. Swap in any token, condition, or event type from the endpoint catalog below.
No API key on this team yet — sample shows <YOUR_JWT> placeholder.
cURL
1curl 'https://token-api.service.pinax.network/v1/polymarket/markets/activity?token_id=53342136288932702007624506186417846874594504126387502748453102780630218207922&event_type=trade&limit=10&page=1' \2 -H 'Authorization: Bearer <YOUR_JWT>' \3 -H 'Accept: application/json'
Polymarket Markets
Market OHLCV
Returns OHLCV price data for a single outcome token. Each market has two outcome tokens (e.g. Yes and No) — use /v1/polymarket/markets to discover them.
Prices are in USD per share (0 to 1). Volume and fees are in USDC.
GET
https://token-api.service.pinax.network/v1/polymarket/markets/ohlc
Requires bearer token — sign in to inject your team’s key.
Required parameters
| Name | Type | Description |
|---|---|---|
token_idrequired query | string | e.g. 53342136288932702007624506186417846874594504126387502748453102780630218207922 |
Optional parameters
| Name | Type | Description |
|---|---|---|
interval query | Enum · 8 | The interval* for which to aggregate price data (1-minute, 5-minutes, 10-minutes, 30-minutes, hourly, 4-hours, daily or weekly). *Plan restricted. 1m5m10m30m1h4h1d1w |
start_time query | Datetime | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...). |
end_time query | Datetime | UNIX timestamp in seconds or date string (e.g. "2025-01-01T00:00:00Z", "2025-01-01", ...). |
limit query | integer | Number of items* returned in a single request. *Plan restricted. |
page query | integer | Page number to fetch. Empty data array signifies end of results. |
Response
200 OK{ "data": [ { "timestamp": "2026-04-01 00:00:00", "open": 0.997, "high": 0.998, "low": 0.997, "close": 0.998, "volume": 295143.37, "trades": 1206, "buys": 498, "sells": 708, "unique_makers": 592, "unique_takers": 121, "total_fees": 0, "fee_count": 0, "effective_fee_rate": 0, "market": { "condition_id": "0x6331a779482df72d904c3c1e12b6409ff836bc06f8c97945cba9b25ada2c605c", "market_slug": "will-the-portland-trail-blazers-win-the-2026-nba-finals", "token_id": "48262548906086150698299934962091284390063927164151224719187427455086357699251", "outcome_label": "No", "closed": false } } ] }