v1
latestOpenAPI 3.0.02026-07-2471143147.5 KBMarkets
Get funding rate history
Get funding rate settlement history for a specific market. Returns SettleFundingRate events from the FundingRate contract.
get/v1/markets/id/{market_id}/funding-rate-history
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 (default = now - 7 days)
Start timestamp in nanoseconds (inclusive). Default: now - 7 days
end_timestring uint64
(optional) End timestamp in nanoseconds for filtering data (default = now)
End timestamp in nanoseconds (exclusive). Default: now
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.