81trust / 100
Funding Rate
by AgentFeed in Onchain & crypto
x402 APIPassing, checked 3 h ago
Funding rate for any USDT perp on Bybit, OKX and Hyperliquid: per venue the raw rate, its interval in hours, the 8h equivalent, the annualised rate, next funding time and mark price. Use when you need to answer: What is the funding rate on this perp? Without a symbol: funding rates for the SOL and BTC perps on Hyperliquid, with open interest. Cross-venue spread and crowding: /api/funding-cross.
GET https://x402.ochinimus.app/api/funding-rate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 185 ms typical, 185 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://x402.ochinimus.app/api/funding-rate?symbol=ETHUSDT"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-rate
const res = await pay("https://x402.ochinimus.app/api/funding-rate?symbol=ETHUSDT");
console.log(await res.json());Example input
{
"symbol": "ETHUSDT"
}Example output
{
"data": {
"note": "Each rate is quoted for its own interval: funding_rate_8h = raw x 8 / funding_interval_hours, annualized_pct = raw x 24 / funding_interval_hours x 365 x 100. /api/funding-cross adds the cross-venue spread and a crowding read.",
"source": "bybit+okx+hyperliquid public funding",
"symbol": "ETHUSDT",
"venues": {
"bybit": {
"annualized_pct": -7.21,
"funding_interval_hours": 8,
"funding_rate_8h": -0.0000658,
"funding_rate_raw": -0.0000658,
"mark_price": 2649.08,
"next_funding_time": 1790611200000
},
"hyperliquid": {
"annualized_pct": 10.95,
"funding_interval_hours": 1,
"funding_rate_8h": 0.0001,
"funding_rate_raw": 0.0000125,
"mark_price": 2650.7,
"next_funding_time": 1790593200000
},
"okx": {
"annualized_pct": -2.4,
"funding_interval_hours": 8,
"funding_rate_8h": -0.0000219362088511,
"funding_rate_raw": -0.0000219362088511,
"mark_price": 2648.8,
"next_funding_time": 1790611200000
}
}
},
"paid": true,
"tool": "get_funding_rate"
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 146 ms | $0.005 |
| 6 h ago | Passed | 402 | 185 ms | $0.005 |
| 11 h ago | Passed | 402 | 207 ms | $0.005 |