81trust / 100
Derivs Oi
by derivs-oi in Onchain & crypto
x402 APIPassing, checked 3 h ago
Open interest for a perpetual asset across decentralized venues (Hyperliquid, dYdX v4): per-venue open interest in coins and in USD notional (via each venue's mark or oracle price), the total aggregate USD open interest and each venue's share. One call, normalized across protocols.
GET https://api.agentstools.dev/derivs/oi
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 27 ms typical, 27 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://api.agentstools.dev/derivs/oi?symbol=ETH"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%2Fapi.agentstools.dev%2Fderivs%2Foi
const res = await pay("https://api.agentstools.dev/derivs/oi?symbol=ETH");
console.log(await res.json());Example input
{
"symbol": "ETH"
}Example output
{
"aggregate": {
"total_oi_usd": 410000000,
"venue_count": 2,
"venue_shares": {
"dydx": 0.12,
"hyperliquid": 0.88
}
},
"partial": false,
"symbol": "ETH",
"ts": 1752000000,
"venues": [
{
"mark": 3000,
"oi_coins": 120000,
"oi_usd": 360000000,
"oracle": 3001,
"venue": "hyperliquid"
}
]
}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 | 31 ms | $0.01 |
| 6 h ago | Passed | 402 | 27 ms | $0.01 |
| 11 h ago | Passed | 402 | 26 ms | $0.01 |