{"uid":"cap_HLgh1NAidyAekeK5oQIK1","slug":"delx-volatility-sample-4c8e632f","name":"Delx Volatility Sample","description":"Estimate descriptive sample volatility from caller-supplied returns — call when estimating descriptive sample volatility from returns. Use on caller-supplied ticks/returns when agents need signal prep without a licensed live market feed (ottoai-class demand, first-party transform). Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip…","url":"https://api.delx.ai/api/v1/x402/volatility-sample","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"returns":{"type":"array","description":"Caller-supplied period returns for sample volatility."},"periods_per_year":{"type":"number","description":"Annualization factor (e.g. 365 for daily)."}}},"responseSchema":{"type":"json","example":{"mean":0.00125,"count":4,"schema":"delx/util-volatility-sample/v1","advisory":"Descriptive sample volatility only.","annualized_vol":0.25609752,"standard_deviation":0.01340476}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YcQS3pL36MMwKFCbvpSA2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Estimates descriptive sample volatility (annualized standard deviation) from caller-supplied period returns","exampleAgentPrompt":"Calculate the annualized sample volatility from these daily returns: [0.012, -0.008, 0.003, 0.021, -0.015, 0.007, -0.004] using 365 periods per year.","exampleUseCases":[{"title":"Crypto portfolio volatility estimation","prompt":"I have these daily percentage returns for ETH over the past week: [0.034, -0.021, 0.011, -0.043, 0.028, 0.015, -0.009] — can you calculate the annualized sample volatility using 365 periods per year?"},{"title":"Equity signal prep without live feed","prompt":"I need to prep a volatility signal for a stock strategy — here are the weekly returns: [0.008, -0.012, 0.005, 0.019, -0.003, 0.011, -0.007, 0.004] — annualize it using 52 periods per year."},{"title":"Options pricing vol input from historical data","prompt":"Can you estimate the sample volatility from these 30 daily returns I pulled from my database, annualized to 365 days? Returns: [0.005, -0.013, 0.022, -0.007, 0.001, 0.018, -0.024, 0.009, 0.003, -0.011, 0.016, -0.002, 0.008, -0.019, 0.014, 0.006, -0.008, 0.021, -0.005, 0.012, -0.017, 0.003, 0.009, -0.014, 0.007, 0.011, -0.006, 0.004, 0.015, -0.010]"}],"resultDescription":"Returns deterministic machine-readable JSON containing the computed sample volatility (annualized standard deviation) derived from the supplied returns array and annualization factor. The result is stateless, computed locally with no upstream dependencies.","failureModes":["Empty or missing returns array returns an error","Non-numeric values in the returns array cause a validation failure","Invalid or zero periods_per_year may produce division errors or nonsensical results","Insufficient data points (e.g. a single return) may yield undefined or degenerate volatility","Payment failure via x402 on Base blocks execution"],"whenToPreferThis":"Choose this endpoint when you have your own historical return series and need a fast, deterministic, stateless sample volatility estimate without subscribing to a live market data feed. Ideal for signal preparation pipelines, backtesting workflows, or any agent that already holds tick or return data and needs annualized vol as a downstream input. Preferable over full market-data APIs when cost, latency, or data-privacy constraints apply.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:58:19.334Z","isFirstParty":false}