marketLiquidityHistory
Get hourly-averaged orderbook depth history for a specific market with unlimited retention.
Overview
Request
Field
Type
Description
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "marketLiquidityHistory",
"market": "BTC",
"startTime": 1706000000000,
"endTime": 1706100000000,
"limit": 500
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'marketLiquidityHistory',
'market': 'BTC',
'startTime': 1706000000000,
'endTime': 1706100000000,
'limit': 500
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Response Fields
Field
Description
Comparison with marketLiquidity
Rate limits
Common errors
Last updated