Retrieves historical funding rate data for perpetual contracts. This endpoint provides funding rate information including long and short funding rates at different timestamps, which is crucial for understanding the cost of holding positions in perpetual futures.
HTTP Request
GET /v4/public/mm/funding/history
Request Parameters
Parameter
Type
Required
Description
chainId
uint64
Yes
Chain ID (e.g., 143 for Monad mainnet)
symbol
string
Yes
Trading pair symbol (e.g., BTC/USDC)
startTime
uint64
No
Start time in Unix timestamp (seconds)
endTime
uint64
No
End time in Unix timestamp (seconds)
limit
uint32
No
Number of records to retrieve (default: 200, max: 200)
Important: Use symbol (singular) as the parameter name. startTime, endTime, and limit are optional.
Response Parameters
Parameter
Type
Description
timestamp
uint64
Funding rate timestamp (Unix timestamp in seconds)
long
string
Long position funding rate
short
string
Short position funding rate
Request Example
Python (requests)
Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.