74trust / 100

Funding History

by cryptofeed402 in Onchain & crypto

x402 APIPassing, checked 9 h ago

30-day Hyperliquid funding rate history for the top ~40 perps by open interest, refreshed hourly: current rate, 7d and 30d average (hourly and simple annualized), min/max with time, positive/negative hour counts, and the 5 most positive and negative coins over 7d. Compact by default; variant=full or coin=BTC adds the hourly series. Bad params 400, coin not in set 404, stale 503, no charge. JSON. Free sample at /samples/funding-history-panel. $0.005 USDC per call on Base.

GET
https://cryptofeed402.site/funding-history
Price
$0.004
per call in USDC
Uptime
96.9%
last 30 days
Response time
586 ms
663 ms slowest 5%
Last check
Passed
9 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://cryptofeed402.site/funding-history

Each call costs $0.004 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://cryptofeed402.site/funding-history?variant=compact

Parameters

ParameterTypeRequiredDescription
coinstringNoOptional: 1-10 comma-separated coins from the set, e.g. BTC; returns those coins with hourly series
variantstringNoOptional: compact (default, no hourly series) or full (adds coins[].hourly) One of: compact, full.

Example response

The provider's example. We can't check it without paying.

Example response, 98 lines
{
  "annualization": "avg_*_annualized = mean hourly rate x 24 x 365, as a fraction (0.08 = 8%/yr), simple not compounded. Rates are Hyperliquid hourly funding (positive = longs pay shorts).",
  "billing": "Charged only for this fresh 200. 404, 503 and stale replies are not charged.",
  "cache_age_seconds": 3600,
  "coins": [
    {
      "avg_30d_annualized": 0.0964,
      "avg_30d_hourly": 0.000011,
      "avg_7d_annualized": 0.0762,
      "avg_7d_hourly": 0.0000087,
      "coin": "BTC",
      "current_rate": 0.0000125,
      "last_settled_at": 1795464000000,
      "last_settled_at_pt": "2026-11-18T12:00:00-08:00",
      "last_settled_rate": 0.0000125,
      "mark_px": 65000,
      "max_30d": {
        "rate": 0.0000125,
        "t": 1795460400000,
        "t_pt": "2026-11-18T11:00:00-08:00"
      },
      "max_7d": {
        "rate": 0.0000125,
        "t": 1795460400000,
        "t_pt": "2026-11-18T11:00:00-08:00"
      },
      "min_30d": {
        "rate": -0.0000179,
        "t": 1794337200000,
        "t_pt": "2026-11-05T10:00:00-08:00"
      },
      "min_7d": {
        "rate": -0.0000109,
        "t": 1795255200000,
        "t_pt": "2026-11-16T02:00:00-08:00"
      },
      "n_hours": 720,
      "n_hours_30d": 720,
      "n_hours_7d": 168,
      "n_negative_hours_30d": 25,
      "n_negative_hours_7d": 14,
      "n_positive_hours_30d": 695,
      "n_positive_hours_7d": 154,
      "n_zero_hours_30d": 0,
      "n_zero_hours_7d": 0,
      "open_interest": 40000,
      "open_interest_usd": 2600000000,
      "premium": -0.0001
    }
  ],
  "coins_count": 1,
  "disclaimer": "Automated data for AI agents. Not financial advice.",
  "full_variant_note": "?variant=full (all coins) or ?coin=BTC[,ETH] (1-10 coins) adds coins[].hourly = [{t (unix ms), rate}] with ~720 hourly settlements per coin, same price.",
  "generated_at": "2026-11-18T12:05:40-08:00",
  "newest_row_age_seconds": 340,
  "newest_row_at": 1795464000000,
  "newest_row_at_pt": "2026-11-18T12:00:00-08:00",
  "price_usd": 0.005,
  "route": "/funding-history",
  "schema": "cf402.funding_history.v0",
  "source": {
    "auth": "none_public",
    "history_finished_at": "2026-11-18T12:05:40-08:00",
    "history_started_at": "2026-11-18T12:05:01-08:00",
    "meta_fetched_at": "2026-11-18T12:05:01-08:00",
    "selection": "top 40 by open_interest * mark_px (USD)",
    "types": [
      "metaAndAssetCtxs",
      "fundingHistory"
    ],
    "universe_n": 230,
    "url": "https://api.hyperliquid.xyz/info"
  },
  "stale": false,
  "stale_after_hours": 3,
  "timezone": "America/Los_Angeles",
  "top_negative_7d": [
    {
      "avg_7d_annualized": -0.2628,
      "avg_7d_hourly": -0.00003,
      "coin": "EXAMPLE2",
      "current_rate": -0.00002,
      "n_hours_7d": 168
    }
  ],
  "top_positive_7d": [
    {
      "avg_7d_annualized": 0.7884,
      "avg_7d_hourly": 0.00009,
      "coin": "EXAMPLE1",
      "current_rate": 0.0001,
      "n_hours_7d": 168
    }
  ],
  "universe_coins_count": 40,
  "variant": "compact",
  "window_days": 30
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.004.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://cryptofeed402.site/funding-history?variant=compact'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://cryptofeed402.site/funding-history?variant=compact' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.004 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.004" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.004 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fcryptofeed402.site%2Ffunding-history
const res = await pay("https://cryptofeed402.site/funding-history?variant=compact");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.004 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.004"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://cryptofeed402.site/funding-history?variant=compact")
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
9 h agoPassed402593 ms$0.004
20 h agoPassed402595 ms$0.004
30 h agoPassed402527 ms$0.004
40 h agoPassed402611 ms$0.004
2 days agoPassed402643 ms$0.004
Show 10 older checks
3 days agoPassed402535 ms$0.004
4 days agoTimed out---
6 days agoPassed402533 ms$0.005
6 days agoPassed402546 ms$0.005
7 days agoPassed402663 ms$0.005
7 days agoPassed402570 ms$0.005
8 days agoPassed402601 ms$0.005
8 days agoPassed402605 ms$0.005
8 days agoPassed402511 ms$0.005
9 days agoPassed402509 ms$0.005

History

30 Nov 2026Price changed from $0.005 to $0.004