81trust / 100
Crypto Sentiment
by crypto-sentiment in Onchain & crypto
x402 APIPassing, checked 2 h ago
Composite crypto market sentiment: the Fear & Greed index (value, classification, trend) blended with aggregated news-headline sentiment into one bullish/bearish/neutral score, optionally focused on a coin or query. Data by alternative.me (attributed) + curated RSS headlines.
GET https://api.agentstools.dev/crypto/sentiment
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 34 ms typical, 85 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.agentstools.dev/crypto/sentiment?coin=ETH"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.agentstools.dev%2Fcrypto%2Fsentiment
const res = await pay("https://api.agentstools.dev/crypto/sentiment?coin=ETH");
console.log(await res.json());Example input
{
"coin": "ETH"
}Example output
{
"attribution": "Data by alternative.me",
"coin": "ETH",
"composite": {
"label": "bearish",
"score": -0.38
},
"fear_greed": {
"classification": "Extreme Fear",
"history": [],
"trend": "falling",
"value": 15,
"window_points": 14
},
"news_sentiment": {
"breakdown": {
"bearish": 4,
"bullish": 2,
"neutral": 1
},
"items_scored": 7,
"label": "bearish",
"score": -0.21
},
"query": null,
"sources": {
"errors": [],
"fear_greed": true,
"news_feeds_ok": 6
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 85 ms | $0.003 |
| 7 h ago | Passed | 402 | 88 ms | $0.003 |
| 10 h ago | Passed | 402 | 30 ms | $0.003 |
| 13 h ago | Passed | 402 | 27 ms | $0.003 |
| 18 h ago | Passed | 402 | 34 ms | $0.003 |