← all AgentPay tools

fear_greed_index

Crypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history.

Free data x402 protocol no API key · no wallet

When agents use this

You need to gauge overall crypto market sentiment or mood — whether the market is fearful or greedy.

Parameters

nametyperequireddescription
limitintegernoNumber of days of history to return (default 1, max 30)

Returns

value (0–100), value_classification (e.g. 'Greed'), optional history[]

Example response

{
  "value": 10,
  "value_classification": "Extreme Fear",
  "timestamp": 1774137600,
  "source": "alternative.me"
}

Call it — HTTP (x402)

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>"}'

Call it — Python SDK

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

Call it — MCP

npx -y @romudille/agentpay-mcp   # keyless; exposes fear_greed_index to any MCP agent runtime
All tools · x402 delivery scores · Receipt ledger · Guides · llms.txt · AgentPay