{"uid":"cap_NlmaHmTkU-rt-GaLWo0p6","slug":"basis-basis-points-9d6d4908","name":"Basis Basis Points","description":"Basis in bps from future vs spot for desk reports. Call when expressing futures premium in standard bps units. Returns basis bps as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.","url":"https://api.delx.ai/api/v1/x402/basis-bps","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"spot":{"type":"integer","description":"Input field: spot."},"future":{"type":"number","description":"Input field: future."}}},"responseSchema":{"type":"json","example":{"spot":100,"future":101.5,"schema":"delx/util-basis-bps/v1","basis_bps":150}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vh9s-Wv6Fz3hulYKuiNfa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes futures basis in basis points (bps) from a spot price and a future price using local deterministic math.","exampleAgentPrompt":"What's the futures basis in basis points if spot is 100 and the future is trading at 100.5?","exampleUseCases":[{"title":"Futures premium check for desk report","prompt":"For our end-of-day desk report, calculate the basis in bps — spot is 42000 and the front-month future is at 42350."},{"title":"Contango magnitude for crypto position","prompt":"BTC spot is 65000 and the quarterly future is at 66300 — how many basis points is that futures premium in bps?"},{"title":"Backwardation check for risk review","prompt":"Spot is 1850 and the futures contract is at 1840 — express the basis as bps so I can flag this for the risk team."}],"resultDescription":"A deterministic JSON object containing the computed basis expressed in basis points (bps), calculated as ((future - spot) / spot) × 10000, requiring no external data or market feeds.","failureModes":["Missing or null spot/future fields returns a validation error","Spot value of zero causes division-by-zero error","Non-numeric inputs rejected with schema validation error","Payment failure (insufficient USDC balance) blocks the call via x402"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline calculation of futures basis in standard bps units — especially for desk reports or agent pipelines that require normalized bps output without relying on live market feeds, RPC calls, or external APIs. Prefer it over manual computation when you need consistent, auditable JSON output for a fixed $0.001 USDC cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:10:57.241Z","isFirstParty":false}