81trust / 100
Positioning
by AgentFeed in Onchain & crypto
x402 APIPassing, checked 4 h ago
Open interest and long/short ratio for SOL and BTC perps: the retail long/short account ratio plus Bybit open interest with 1h and 24h change. Use when you need to answer: How is the market positioned on SOL and BTC? For any other USDT perp use /api/open-interest and /api/long-short.
GET https://x402.ochinimus.app/api/positioning
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 85 ms typical, 85 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/positioning"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%2Fpositioning
const res = await pay("https://x402.ochinimus.app/api/positioning");
console.log(await res.json());Example input
{}Example output
{
"data": {
"btc": {
"long_short_ratio": {
"long_pct": 57.02,
"long_pct_prev_hour": 57,
"short_pct": 42.98,
"ts": 1790352000000
},
"open_interest": {
"base": 58663.035,
"change_1h_pct": 0.19,
"change_24h_pct": -1.31,
"usd": 4907625052
}
},
"period": "1h",
"sol": {
"long_short_ratio": {
"long_pct": 68.86,
"long_pct_prev_hour": 68.74,
"short_pct": 31.14,
"ts": 1790352000000
},
"open_interest": {
"base": 6478924.1,
"change_1h_pct": -1.3,
"change_24h_pct": 9.93,
"usd": 809589831
}
},
"source": "bybit_v5_public"
},
"paid": true,
"tool": "get_positioning"
}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 | 85 ms | $0.005 |