Skip to content
Fourohtwo

Cross-venue perp funding divergence for one asset

agentpay.tools/tools/funding_spread/call

Cross-venue perp funding divergence for one asset: per-venue funding normalised to 8h across Binance, Bybit, OKX, Gate.io, Bitget, Hyperliquid, dYdX, MEXC and KuCoin, the spread (max-min, cheapest and dearest venue), its 7-day percentile, and a carry estimate for a given notional net of taker fees. The basis/carry arbitrage read, not the raw rates.

BaseStacksStellarAnswering
POSThttps://agentpay.tools/tools/funding_spread/call

Uptime100% 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://agentpay.tools/tools/funding_spread/call", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"parameters":{"notional_usd":10000,"symbol":"ETH"}}),
});
console.log(await res.json());

Example input

{
  "parameters": {
    "notional_usd": 10000,
    "symbol": "ETH"
  }
}