GET /v1/info/trades
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/v1/info/tradesCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet recent perpetual trades.
Timestamps are in milliseconds.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
instrument_id | query | int | required | Perpetual instrument id — the numeric `instrument_id` from /v1/info/instruments (e.g. ETH-USD) example: 7 |
start_timestamp | query | int | required | Start timestamp in **milliseconds** (perps klines/mark-history/funding/trades) example: 1766000000000 |
end_timestamp | query | int | optional | End timestamp in **milliseconds** (perps klines/mark-history/funding/trades) |
Response
type: object
data key: data
pagination: none
sample: {
"data": "array[0]",
"more": "bool"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/v1/info/trades?instrument_id=7&start_timestamp=1766000000000"