home / skills / openclaw / skills / fear-and-greed-index
This skill anchors market sentiment using the Fear and Greed Index to gauge Extreme Fear or Extreme Greed and inform risk assessment.
npx playbooks add skill openclaw/skills --skill fear-and-greed-indexReview the files below or copy the command above to add this skill to your agents.
---
name: fear-and-greed
description: Access the Alternative.me Crypto Fear & Greed Index. Use this tool to anchor your baseline market sentiment analysis, determining whether the broader retail market is in a state of Extreme Fear (capitulation risk) or Extreme Greed (euphoria/correction risk).
homepage: https://alternative.me/crypto/fear-and-greed-index/
metadata:
{
"openclaw": {
"emoji": "😨",
"requires": {},
},
}
---
# Crypto Fear & Greed Index API
Access the global crypto market sentiment baseline using the free Alternative.me API.
## API Endpoint
Base URL: `https://api.alternative.me/fng/`
The API requires no authentication or API keys.
### Get Current Sentiment
Fetch the latest daily Fear & Greed metric (0-100 score + classification label):
```bash
curl -s "https://api.alternative.me/fng/?limit=1"
```
Returns a JSON structure containing:
- `value`: The 0-100 numerical score.
- `value_classification`: The textual label (e.g. "Extreme Fear", "Fear", "Greed", "Extreme Greed").
- `timestamp`: Unix epoch of the data point.
## Common Use Cases
### Sentiment Baseline Anchoring
When conducting qualitative sentiment analysis on news headlines or on-chain flows, first fetch the Fear & Greed index to anchor your assumptions about retail psychology.
1. If `value` < 25 (Extreme Fear): The market is highly sensitive to bearish catalysts. Price may be artificially depressed.
2. If `value` > 75 (Extreme Greed): The market is euphoric and ignoring risk. High danger of sudden liquidations or corrections.
This skill provides programmatic access to the Alternative.me Crypto Fear & Greed Index as a baseline market-sentiment signal. It fetches the latest daily index value and classification so you can quickly gauge whether retail sentiment is in Extreme Fear, Fear, Greed, or Extreme Greed. Use it to anchor risk assumptions and adjust strategy timing or messaging.
The skill calls the public Alternative.me FNG API endpoint to retrieve the most recent sentiment datapoint (score 0–100, textual label, and timestamp). No authentication or API keys are required; a simple GET request to the API returns JSON containing the numeric value and value_classification. Consume that output in trading signals, reports, or upstream analytics to incorporate retail sentiment into decision-making.
Do I need an API key to use this skill?
No. The Alternative.me FNG endpoint is public and requires no authentication.
What numeric thresholds indicate extreme conditions?
Common thresholds are <25 for Extreme Fear and >75 for Extreme Greed, used as heuristic signals for elevated risk or capitulation.