80trust / 100
Defi Funding
by Tanod chainpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
Crypto funding rates: Hyperliquid perpetual funding, hourly and annualised, with 7-day history for one symbol (chainpeek, Tanod). Use when an agent needs Hyperliquid perpetual funding rates (hourly and annualised) or one symbol's recent funding history.
POST https://tanod.dev/v1/defi/funding
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 283 ms typical, 751 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/defi/funding' \
-H 'content-type: application/json' \
--data-raw '{"limit":5}'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%2Ftanod.dev%2Fv1%2Fdefi%2Ffunding
const res = await pay("https://tanod.dev/v1/defi/funding", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"limit\":5}",
});
console.log(await res.json());Example input
{
"limit": 5
}Example output
{
"annualization": "funding_hourly x 24 x 365, simple (not compounded)",
"cache": "fetched",
"count": 2,
"funding_interval": "hourly",
"markets": [
{
"change_24h_pct": 0.364,
"funding_annualized_pct": -256.363,
"funding_hourly": -0.0002926515,
"mark_price": 0.067579,
"max_leverage": 5,
"open_interest": 40158428,
"open_interest_usd": 2713866.41,
"oracle_price": 0.067812,
"premium": -0.00171061,
"symbol": "SAND",
"volume_24h_usd": 2954719.68
},
{
"change_24h_pct": 17.51,
"funding_annualized_pct": 238.854,
"funding_hourly": 0.0002726643,
"mark_price": 0.020704,
"max_leverage": 3,
"open_interest": 182233334,
"open_interest_usd": 3772958.95,
"oracle_price": 0.020606,
"premium": 0.00339707,
"symbol": "GRIFFAIN",
"volume_24h_usd": 1471315.91
}
],
"note": "Data from the Hyperliquid public API; informational only, not investment or trading advice.",
"sorted_by": "abs(funding_hourly) desc",
"source": {
"docs": "https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint",
"name": "Hyperliquid public API",
"url": "https://api.hyperliquid.xyz/info"
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 348 ms | $0.002 |
| 6 h ago | Passed | 402 | 264 ms | $0.002 |
| 10 h ago | Passed | 402 | 1.0 s | $0.002 |
| 14 h ago | Passed | 402 | 289 ms | $0.002 |
| 18 h ago | Passed | 402 | 283 ms | $0.002 |
| 21 h ago | Passed | 402 | 295 ms | $0.002 |
| 25 h ago | Passed | 402 | 269 ms | $0.002 |
| 28 h ago | Passed | 402 | 564 ms | $0.002 |
| 32 h ago | Passed | 402 | 273 ms | $0.002 |
| 36 h ago | Passed | 402 | 274 ms | $0.002 |
| 39 h ago | Passed | 402 | 263 ms | $0.002 |
| 43 h ago | Passed | 402 | 751 ms | $0.002 |
| 47 h ago | Passed | 402 | 276 ms | $0.002 |
| 2 days ago | Passed | 402 | 280 ms | $0.002 |
| 2 days ago | Passed | 402 | 473 ms | $0.002 |