82trust / 100
Derivatives
by Onchain Query API in Onchain & crypto
x402 APIPassing, checked 2 h ago
Crypto perpetual-futures snapshot for a symbol in ONE call (Binance USD-M, keyless): current funding rate and the next funding time, mark and index price, open interest (contracts and USD), 24h price change/high/low/volume, and the top-trader long/short account ratio. For funding arbitrage, leverage/positioning reads, and a derivatives view an onchain-only feed cannot give. Cached 30s.
GET https://chain.cyberwarex.com/derivatives
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 273 ms typical, 273 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://chain.cyberwarex.com/derivatives?symbol=BTC"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%2Fchain.cyberwarex.com%2Fderivatives
const res = await pay("https://chain.cyberwarex.com/derivatives?symbol=BTC");
console.log(await res.json());Example input
{
"symbol": "BTC"
}Example output
{
"funding_rate": 0.00006,
"funding_rate_annualized_pct": 6.57,
"high_24h": 79000,
"index_price": 78700.1,
"long_short_ratio": 1.8,
"low_24h": 77000,
"mark_price": 78726.5,
"next_funding_time": 1789142400000,
"open_interest": 104466.34,
"open_interest_usd": 8220000000,
"perp": "BTCUSDT",
"price_change_24h_pct": 1.75,
"source": "binance-futures",
"symbol": "BTC",
"volume_24h": 180434.2
}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 | 218 ms | $0.005 |
| 5 h ago | Passed | 402 | 273 ms | $0.005 |
| 11 h ago | Passed | 402 | 280 ms | $0.005 |