Markets
Get trade history by market ID
Get trade history of a market by numeric market ID. Limit to 1000 records per page.
get/v1/markets/id/{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 int64 required
Numeric market ID. Use GetMarkets to get the list of available market IDs.
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.