81trust / 100

Perps Predicted Funding

by x402stock.xyz in Markets & finance

x402 APIPassing, checked 2 h ago

Predicted next-period funding rate for each coin across venues — on-chain plus centralized perp venues (Hyperliquid, Binance, Bybit) — each with the funding interval and next funding time. A cross-exchange funding-arbitrage signal in one call: compare where a coin's funding is richest or cheapest. Free on-chain DEX data, no key. From x402stock, a market & economic data API (x402, USDC).

GET https://x402stock.xyz/api/v1/perps/predicted-funding

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
215 ms typical, 215 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/perps/predicted-funding"
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%2Fx402stock.xyz%2Fapi%2Fv1%2Fperps%2Fpredicted-funding
const res = await pay("https://x402stock.xyz/api/v1/perps/predicted-funding");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of": "2026-06-04T00:00:00.000Z",
  "coins": [
    {
      "coin": "BTC",
      "venues": [
        {
          "funding_interval_hours": 1,
          "funding_rate": 0.0000125,
          "next_funding_time": "2026-06-04T01:00:00.000Z",
          "venue": "HlPerp"
        },
        {
          "funding_interval_hours": 4,
          "funding_rate": 0.0000066,
          "next_funding_time": "2026-06-04T04:00:00.000Z",
          "venue": "BinPerp"
        }
      ]
    }
  ],
  "count": 1,
  "source": "x402stock"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402215 ms$0.02
5 h agoPassed402242 ms$0.02
10 h agoPassed402212 ms$0.02