fetch_funding
InvokeReturn live funding metrics (funding_rate, time_to_next, open_interest, skew) for specified perpetuals markets across one or more venues.
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"venue_ids": {
"default": [
"BINANCE",
"BYBIT",
"HYPERLIQUID",
"OKX"
],
"description": "List of venues to query",
"type": "array",
"items": {
"type": "string",
"enum": [
"BINANCE",
"BYBIT",
"HYPERLIQUID",
"OKX"
]
}
},
"markets": {
"default": [
"BTC-USDT",
"ETH-USDT"
],
"description": "Markets to query, e.g. ['BTC-USDT', 'ETH-USDT', 'SOL-USDT']",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"venue_ids",
"markets"
],
"additionalProperties": false
}
Invoke with curl
curl -s -X POST \
'http://65.108.87.255:8081/entrypoints/fetch_funding/invoke' \
-H 'Content-Type: application/json' \
-d '
{
"input": {
"venue_ids": [
"BINANCE"
],
"markets": [
"string"
]
}
}
'