{"uid":"cap_JZMe3e6HqMkECPpwN6YAA","slug":"delx-commerce-basis-points-calculator-f76d7edd","name":"Delx Commerce — Basis Points Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/basis-bps?utm_source=zero.xyz","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_a1G93h08tAp9a-deVEso6","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 the basis points (bps) spread between a spot price and a futures price for a financial instrument","exampleAgentPrompt":"What's the basis in basis points if the spot price is 100 and the futures price is 101.5?","exampleUseCases":[{"title":"Crypto perpetual funding analysis","prompt":"The BTC spot is 65000 and the perpetual future is trading at 65300 — how many basis points is that spread?"},{"title":"Equity futures basis check","prompt":"If S&P spot is 5200 and the front-month future is 5215, what's that difference expressed in basis points?"},{"title":"Commodities contango measurement","prompt":"Gold spot is at 2400 and the 3-month futures are at 2430 — can you calculate the basis bps for me?"}],"resultDescription":"Returns a JSON object containing the echoed spot and future prices along with the computed basis in basis points (e.g. {spot: 100, future: 101.5, basis_bps: 150}), conforming to the delx/util-basis-bps/v1 schema.","failureModes":["Missing or non-numeric spot or future fields returns a validation error","Division-by-zero if spot is 0","Negative basis_bps returned when futures trade at a discount to spot (backwardation), which is expected but may surprise callers","Network or payment failure over x402 protocol results in no response"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call computation of futures basis in basis points without setting up an account or managing API keys. It is ideal for AI agents in trading, DeFi, or analytics workflows that need on-demand, verifiable basis calculations paid in USDC via the x402 protocol on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:07.186Z","isFirstParty":false,"canonicalSlug":"delx-commerce-basis-points-calculator-f76d7edd"}