{"uid":"cap_aGvd31EAOq5XuWzVvvV6I","slug":"basis-annualize-3830ace9","name":"Basis Annualize","description":"Annualize futures-spot basis percent. Call when carry trades need annualized basis from raw premium. Returns basis_apr 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-annualize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"days":{"type":"integer","description":"Days to delivery or horizon"},"spot":{"type":"number","description":"Underlying spot price (>0)"},"future":{"type":"number","description":"Futures/mark price"}}},"responseSchema":{"type":"json","example":{"basis":0.01,"schema":"delx/util-basis-annualize/v1","basis_apr":0.1216666666666667}},"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_UH9sXXumFpa2fJDEbXH0d","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":"Annualizes futures-spot basis percentage from raw premium, spot price, and days to delivery for carry trade analysis","exampleAgentPrompt":"What's the annualized basis APR if the spot price is 65000, the futures are trading at 65800, and delivery is in 45 days?","exampleUseCases":[{"title":"Crypto carry trade basis screening","prompt":"I'm evaluating a BTC carry trade — spot is at 65000, the quarterly future is at 66500, and there are 60 days to expiry. What's the annualized basis APR?"},{"title":"Funding rate comparison across tenors","prompt":"Can you annualize the basis for two contracts for me? First: spot 3000, future 3045, 30 days. Second: spot 3000, future 3090, 90 days. I want to compare which tenor gives better carry."},{"title":"Intraday basis drift monitoring","prompt":"Our futures desk sees ETH spot at 2400 and the front-month future at 2412 with 15 days to delivery — give me the annualized basis so we can decide whether to enter the carry."}],"resultDescription":"Returns a deterministic JSON object containing basis_apr — the annualized basis as a percentage — computed from the provided spot price, futures price, and days to delivery using local math only, with no external data dependencies.","failureModes":["Spot price is zero or negative — input validation error returned","Days field is zero or negative — undefined annualization period","Future price missing — cannot compute spread","Non-numeric input types — schema validation failure","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, locally computed annualized basis figure for carry trade analysis without relying on live market feeds, RPC calls, or external APIs. Prefer it over manual formulas when automating carry screening across multiple contracts or tenors, and when a cheap ($0.001 USDC), stateless, advisory calculation suffices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:05:08.523Z","isFirstParty":false}