fundingHistory
Get the funding history for a coin
Get the funding history for a coin.
POST Request
Field
Type
Description
type
string
Must be "fundingHistory"
coin
string
i.e. "BTC", "ETH"
startTime
int
Start time in ms (inclusive)
endTime
int
End time in ms (optional)
limit
int
Max results to return, default and max 500 (optional)
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "fundingHistory",
"coin": "BTC",
"startTime": 0
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'fundingHistory',
'coin': 'BTC',
'startTime': 0
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Response Fields
Field
Type
Description
coin
string
Asset symbol
fundingRate
string
Funding rate for the period
time
int
Timestamp (ms)
Last updated