81trust / 100

Funding

by Horizon Pulse in Onchain & crypto

x402 APIPassing, checked 3 h ago

Crypto derivatives data. Use when you need current perpetual futures funding rates for BTC, ETH and SOL. Call GET with no parameters. Returns JSON per asset from OKX USDT swaps: instId, fundingRate, fundingTime and a rule-based crowding hint {side: longs/shorts/neutral, level: quiet/mild/elevated/extreme} with the thresholds used. OKX public data only. The hint is not a forecast or advice. Errors are not charged.

GET https://horizonpulse.dev/api/funding

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://horizonpulse.dev/api/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%2Fhorizonpulse.dev%2Fapi%2Ffunding
const res = await pay("https://horizonpulse.dev/api/funding");
console.log(await res.json());

Example input

{}

Example output

{
  "asOf": "2026-10-01T14:36:45.068Z",
  "assets": {
    "BTC": {
      "crowding": {
        "level": "mild",
        "side": "longs"
      },
      "fundingRate": 0.0000850403758528,
      "fundingTime": "1790870400000",
      "instId": "BTC-USDT-SWAP"
    },
    "SOL": {
      "crowding": {
        "level": "quiet",
        "side": "neutral"
      },
      "fundingRate": -0.0000439448031955,
      "fundingTime": "1790870400000",
      "instId": "SOL-USDT-SWAP"
    }
  },
  "ok": true,
  "source": "okx"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402252 ms$0.01
6 h agoPassed402331 ms$0.01
9 h agoPassed402226 ms$0.01
14 h agoPassed402158 ms$0.01