81trust / 100
Open Interest
by AgentFeed in Onchain & crypto
x402 APIPassing, checked 4 h ago
Open interest for ANY USDT perp: Bybit OI in base units and in USD with 1h and 24h change, plus OKX open interest and the mark price. /api/positioning covers SOL and BTC only. Use when you need to answer: How much open interest sits on this perp?
GET https://x402.ochinimus.app/api/open-interest
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 62 ms typical, 62 ms slowest 5%
- Last check
- 4 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/open-interest?symbol=SOLUSDT"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%2Fopen-interest
const res = await pay("https://x402.ochinimus.app/api/open-interest?symbol=SOLUSDT");
console.log(await res.json());Example input
{
"symbol": "SOLUSDT"
}Example output
{
"data": {
"bybit": {
"change_1h_pct": -1.3,
"change_24h_pct": 9.93,
"oi_base": 6478924.1,
"oi_usd": 809609835
},
"mark_price": 121.419,
"okx": {
"oi_base": 3054425.3599999994,
"oi_usd": 370837783
},
"symbol": "SOLUSDT"
},
"paid": true,
"tool": "get_open_interest"
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 62 ms | $0.01 |