1gateway.dev/v1/crypto/perp/funding
Use when an agent compares perpetual funding across venues for one coin (carry/crowding). Input: coin (e.g. BTC). Output: JSON venues ranked by annualized funding (DEX venues only: Hyperliquid, dYdX, GMX, Lighter, Paradex), normalized to per-hour and APR, max-min spread with short/long venue, consensus mean, Hyperliquid mark vs oracle and vs dYdX oracle basis. Derived figures only; cached 60 s. Un
GET
https://1gateway.dev/v1/crypto/perp/fundingUptimeNot checked yet
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://1gateway.dev/v1/crypto/perp/funding?coin=BTC");
console.log(await res.json());Example input
{
"coin": "BTC"
}