{"uid":"cap_gG9OWnB7bqnQP-Wt1Fl1G","slug":"x402-deployer-x402-deployer-workers-dev-ebc72638","name":"Token Volatility Calculator (CoinGecko-backed)","description":"Token volatility / historical volatility / annualized vol / standard deviation of returns / crypto vol calculator. For any CoinGecko-listed token, computes log-return standard deviation over the last N days (default 30) and annualizes by sqrt(365). Returns daily and annualized volatility as percent, count of return observations, first and last close prices. Backed by CoinGecko's free public market_chart endpoint.","url":"https://x402-deployer.x402-deployer.workers.dev/token-volatility","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"input":{"body":{"days":60,"coingecko_id":"ethereum"},"type":"http","method":"POST","bodyType":"json"}},"response":{"days":60,"source":"coingecko","coingecko_id":"ethereum","returns_count":60,"last_price_usd":1731.0302008195085,"first_price_usd":2264.8143990219965,"daily_volatility_pct":2.5794,"annualized_volatility_pct":49.2791}},"exampleRequest":{"days":60,"coingecko_id":"ethereum"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pRZVpOU8kG2JfBP1pdCYv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes daily and annualized historical volatility (log-return standard deviation) for any CoinGecko-listed crypto token over a configurable lookback window","exampleAgentPrompt":"What's the annualized historical volatility of Ethereum (ethereum on CoinGecko) over the last 60 days? I want the daily and annualized vol as percentages.","exampleUseCases":null,"resultDescription":"Returns daily volatility as a percent, annualized volatility as a percent (scaled by sqrt(365)), the count of log-return observations used, and the first and last closing prices from the lookback window.","failureModes":["Token ID not found on CoinGecko — returns error indicating invalid coin ID","Insufficient price history for requested window — fewer observations than expected","CoinGecko rate limit hit on the free public endpoint — upstream 429 error","Invalid or missing request body fields — validation error response","Network timeout reaching CoinGecko market_chart API"],"whenToPreferThis":"Use this endpoint when you need a quick, computed historical volatility figure for a CoinGecko-listed token without building your own price-history pipeline. Ideal for options pricing inputs, risk scoring, portfolio analytics, or any agent task that needs annualized vol as a ready-to-use number. Prefer this over raw price endpoints when you specifically need the standard deviation of log returns already annualized.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:57.421Z","isFirstParty":false}