Crypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history.
You need to gauge overall crypto market sentiment or mood — whether the market is fearful or greedy.
| name | type | required | description |
|---|---|---|---|
limit | integer | no | Number of days of history to return (default 1, max 30) |
value (0–100), value_classification (e.g. 'Greed'), optional history[]
{
"value": 10,
"value_classification": "Extreme Fear",
"timestamp": 1774137600,
"source": "alternative.me"
}
curl -X POST https://agentpay.tools/tools/fear_greed_index/call \
-H 'Content-Type: application/json' \
-d '{"parameters": {}, "agent_address": "<your wallet or any identifier>"}'
from agentpay import quickstart # pip install agentpay-x402
s = quickstart(max_spend=0.10) # hard budget cap; mints a wallet, no funding needed
r = s.call("fear_greed_index", {})
print(r.data) # + r.cost, r.tx, r.network — full receipt
npx -y @romudille/agentpay-mcp # keyless; exposes fear_greed_index to any MCP agent runtime