{"uid":"cap_Emuzv52Fx0Qjwd69k-3WJ","slug":"okx-perpetual-basis-premium-monitor-6affc30a","name":"OKX Perpetual Basis & Premium Monitor","description":"Perpetual premium and basis for a symbol: OKX perp mark price versus the spot index, returning the absolute basis, premium percent and an interpretation of perp positioning. Live data for basis trades, premium monitoring and spot-perp divergence. perp premium, spot perp basis, mark vs index, contango","url":"https://api.x402node.dev/market/basis","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","properties":{"symbol":{"type":"string","description":"coin symbol, e.g. BTC, ETH (default BTC)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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_54f2aOJCwZ8ReIwlvypsR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the perpetual/spot basis for a given symbol on OKX, including absolute basis, premium percent, and a positioning interpretation (contango/backwardation)","exampleAgentPrompt":"What's the current perp basis for BTC on OKX right now — give me the absolute basis, premium percent, and whether it's in contango or backwardation?","exampleUseCases":null,"resultDescription":"Returns the OKX perpetual mark price versus the spot index for a given symbol, with the absolute basis (mark minus index), premium as a percentage, and a human-readable interpretation of positioning (e.g. contango, backwardation, or neutral).","failureModes":["Invalid or unsupported symbol returns an error or empty result","OKX data feed downtime causes stale or unavailable prices","Missing symbol parameter results in a 400 bad request","Rate limiting or payment failure returns a 402 or 429 error"],"whenToPreferThis":"Use this endpoint when you need live, per-symbol spot-perp divergence data from OKX specifically, especially for basis trading signals, premium monitoring, or interpreting whether the derivatives market is in contango or backwardation. Prefer this over generic funding rate APIs when you want the mark-vs-index framing with an interpreted positioning label.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:21:44.432Z","isFirstParty":false}