Markets
[Deprecated] Get trade history by market name
[DEPRECATED - use /v1/markets/id/{market_id}/trade-history] Get trade history of a market by market name. Limit to 1000 records per page.
get/v1/markets/{market_id}/trade-history
Request
- Base URLhttps://api.testnet.rise.trade
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
market_idstring required
Market name to get trade history for (e.g., BTC-PERP, ETH-PERP)
Query parameters
start_timestring uint64
(optional) start timestamp in nanoseconds for filtering data
end_timestring uint64
(optional) end timestamp in nanoseconds for filtering data
pageinteger
Page number, default to 1 if not provided. Note: Page number starts at 1
limitinteger
Number of records per page, default to 100, max to 1000
Response
A successful response.
Changes
No recorded changes to this operation across all 2 revisions of this API.