x402.swaphunt.dev/v1/derivatives/funding-rates
Use when the user asks the funding rate of specific coins or whether longs or shorts are crowded. Returns per coin (max 20) hourly funding % on Hyperliquid perpetuals, annualized (x 8760), 7d/30d averages, mark price and a crowding signal; positive = longs pay. Ex: symbols=BTC,ETH,SOL
GET
https://x402.swaphunt.dev/v1/derivatives/funding-ratesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402.swaphunt.dev/v1/derivatives/funding-rates?symbols=BTC%2CETH%2CSOL");
console.log(await res.json());Example input
{
"symbols": "BTC,ETH,SOL"
}