{"uid":"cap_T5feOs9ioaZg2sS-Fu2X2","slug":"agentfeed-open-interest-9f65c380","name":"AgentFeed Open Interest","description":"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?","url":"https://x402.ochinimus.app/api/open-interest?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"symbol":{"type":"string","description":"USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"coin":{"type":"string"},"oi_usd":{"type":"number"},"source":{"type":"string"},"symbol":{"type":"string"},"oi_base":{"type":"number"},"mark_price":{"type":"number"},"history_note":{"type":"string"},"change_1h_pct":{},"change_24h_pct":{}}},"paid":{"type":"boolean"},"tool":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"data":{"okx":{"oi_usd":370837783,"oi_base":3054425.359999999},"bybit":{"oi_usd":809609835,"oi_base":6478924.1,"change_1h_pct":-1.3,"change_24h_pct":9.93},"symbol":"SOLUSDT","mark_price":121.419},"paid":true,"tool":"get_open_interest"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OKeG_B7VDuIl0b3SFas_K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Bybit and OKX open interest (base and USD) with 1h/24h change percentages and mark price for any USDT perpetual futures symbol","exampleAgentPrompt":"What's the current open interest for SOLUSDT — give me Bybit and OKX side by side in USD and base units, along with the 1h and 24h change and the mark price.","exampleUseCases":[{"title":"Monitoring OI expansion before a breakout","prompt":"Check the open interest on BTCUSDT right now — is it growing over the last hour and last 24 hours? Give me both Bybit and OKX numbers in USD and base units plus the current mark price."},{"title":"Comparing exchange OI for a mid-cap altcoin","prompt":"What's the open interest on AVAXUSDT across Bybit and OKX? I want to see the base and USD values for both exchanges and how much Bybit's OI has shifted in the last 1h and 24h."},{"title":"Spotting OI divergence during a squeeze","prompt":"Pull the open interest data for ETHUSDT — I need Bybit's 1h and 24h change percentages alongside OKX's OI so I can see if both exchanges are seeing the same move."}],"resultDescription":"A JSON object with the queried symbol, mark price, Bybit OI in both base and USD with 1h and 24h percentage change, and OKX OI in both base and USD. All values are real-time from live exchange data.","failureModes":["Invalid or unsupported symbol returns an error — must be a valid USDT perp symbol (e.g. SOLUSDT, not SOL/USDT)","OKX or Bybit API downtime may result in partial or missing exchange data","Symbol with very low liquidity may not be listed on both exchanges","Malformed query param returns a 400-level error","Payment failure or missing x402 payment header results in a 402 response"],"whenToPreferThis":"Use this endpoint when you need real-time, cross-exchange open interest data for any USDT perpetual — especially when you want both Bybit and OKX in a single call with time-change context. Prefer it over general market data APIs when you specifically need OI momentum signals (1h/24h change) alongside mark price. Best suited for derivatives trading analysis, squeeze detection, and positioning research.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:42:20.856Z","isFirstParty":false,"canonicalSlug":"agentfeed-open-interest-9f65c380"}