Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man token-volatility

/token-volatility(1)

agentutility / edge-market / token-volatility
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
token-volatility token volatility / historical volatility / annualized vol / standard deviation of returns / crypto vol calculator
SYNOPSIS
POST https://x402.org/v1/token-volatility
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
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.

INPUTrequest schema
propertytypedescriptionreq?
coingecko_idstringCoinGecko coin id (e.g. 'ethereum', 'bitcoin', 'solana'). Lower-case slug, not the symbol.required
daysnumberLookback window in days. Range [7, 365]. Default 30.optional
OUTPUTresponse shape
fieldtypedescription
coingecko_idstringCoinGecko ID of the token whose volatility was computed (e.g. bitcoin, ethereum).
daysstringLookback window in days used for the return series (default 30).
returns_countstringNumber of daily log-return observations included in the standard deviation calculation.
daily_volatility_pctstringStandard deviation of daily log returns over the window, expressed as a percent.
annualized_volatility_pctstringDaily volatility scaled by sqrt(365), expressed as an annualized percent.
first_price_usdstringClosing USD price at the start of the lookback window.
last_price_usdstringClosing USD price at the end of the lookback window.
sourcestringUpstream data provider for the price series (CoinGecko market_chart).
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/token-volatility \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the token-volatility tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketcryptovolatilityhistorical-volatilityannualized-volatilitycoingeckoprice-analyticstoken-volatility
methods
POST
cluster
edgemarket
price
$0.005 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
defi-yield-poolsDeFi yield pools / APY aggregator / yield-farming opportunities / DeFiLlama yields / cross-protocol APY ranking / stablecoin yields / LP…$0.005
ipfs-fetchIPFS fetch / IPFS gateway / Web3 storage retrieval / NFT metadata fetcher / Filecoin gateway / decentralized content / pinned-content reader.$0.005
price-impactPrice-impact / slippage estimator / DEX swap size impact / size-keyed quote / depth simulation.$0.005
safe-multisig-statusSafe multisig status / Gnosis Safe info / Safe owners / Safe threshold / Safe pending queue / DAO treasury wallet / Safe wallet lookup.$0.005
stablecoin-monitorStablecoin monitor.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org