81trust / 100

Funding Cross

by AgentFeed in Markets & finance

x402 APIPassing, checked 32 min ago

Funding rate for ANY USDT perp across Bybit, OKX and Hyperliquid in one call, with the cross-venue spread and a crowding read. Use when you need to answer: What is funding for this perp across venues?

GET https://x402.ochinimus.app/api/funding-cross

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
55 ms typical, 55 ms slowest 5%
Last check
32 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ochinimus.app/api/funding-cross?symbol=SOLUSDT"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ochinimus.app%2Fapi%2Ffunding-cross
const res = await pay("https://x402.ochinimus.app/api/funding-cross?symbol=SOLUSDT");
console.log(await res.json());

Example input

{
  "symbol": "SOLUSDT"
}

Example output

{
  "data": {
    "crowding": "longs_pay_everywhere",
    "spread_8h": 0.00006151,
    "symbol": "SOLUSDT",
    "venues": {
      "bybit": {
        "funding_interval_hours": 8,
        "funding_rate_8h": 0.00008784,
        "funding_rate_raw": 0.00008784,
        "mark_price": 118.209,
        "next_funding_time": 1790611200000
      },
      "hyperliquid": {
        "funding_interval_hours": 1,
        "funding_rate_1h": 0.0000125,
        "funding_rate_8h_equiv": 0.0001,
        "funding_rate_raw": 0.0000125,
        "mark_price": 118.31
      },
      "okx": {
        "funding_interval_hours": 8,
        "funding_rate_8h": 0.0000384889726373,
        "funding_rate_raw": 0.0000384889726373,
        "mark_price": 118.19,
        "next_funding_time": 1790611200000
      }
    }
  },
  "paid": true,
  "tool": "get_funding_cross"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
32 min agoPassed40251 ms$0.01
4 h agoPassed40255 ms$0.01
7 h agoPassed40255 ms$0.01
12 h agoPassed402181 ms$0.01