82trust / 100
Sentiment
by crypto-sentiment-x402.onrender.com in Onchain & crypto
x402 APIPassing, checked 50 min ago
Real-time crypto sentiment for a ticker symbol (e.g. BTC, ETH, SOL) from 9 crypto news RSS outlets (CoinDesk, Cointelegraph, Decrypt, Bitcoin Magazine, The Block, CryptoSlate, NewsBTC, CryptoPotato, The Defiant) and the Fear & Greed Index. Headlines from the last 72h, weighted toward the newest. Returns a bullish/bearish/neutral label (or 'insufficient recent news'), score, sample size and the top 5 headlines behind it (title, link) as JSON. Path param: symbol, e.g. /sentiment/BTC.
GET https://crypto-sentiment-x402.onrender.com/sentiment/:symbol
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 247 ms typical, 247 ms slowest 5%
- Last check
- 50 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://crypto-sentiment-x402.onrender.com/sentiment/:symbol"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%2Fcrypto-sentiment-x402.onrender.com%2Fsentiment%2F%3Asymbol
const res = await pay("https://crypto-sentiment-x402.onrender.com/sentiment/:symbol");
console.log(await res.json());Example output
{
"drivers": [
{
"effect": 0.0263,
"link": "https://example.com/news/bitcoin-etf-inflows",
"published": "2026-10-03T14:05:00Z",
"score": 0.6249,
"source": "CoinDesk",
"title": "Bitcoin ETFs log fifth straight day of inflows",
"weight": 0.9288
},
{
"effect": -0.0222,
"link": "https://example.com/news/exchange-hack",
"published": "2026-10-03T12:40:00Z",
"score": -0.5719,
"source": "The Block",
"title": "Exchange hack drains $40M as bitcoin dips",
"weight": 0.8572
},
{
"effect": 0.0161,
"link": "https://example.com/news/record-hashrate",
"published": "2026-10-03T11:15:00Z",
"score": 0.4404,
"source": "Decrypt",
"title": "Bitcoin miners report record hashrate",
"weight": 0.8087
}
],
"drivers_summary": "2 of the top 3 headlines are positive, 1 is negative.",
"name": "Bitcoin",
"overall_sentiment": {
"average_compound": 0.21,
"effective_sample_size": 29.4,
"label": "bullish",
"newest_headline_age_hours": 1.6,
"sample_size": 38,
"unweighted_compound_72h": 0.17,
"window": "72h-hl24"
},
"symbol": "BTC"
}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 |
|---|---|---|---|---|
| 50 min ago | Passed | 402 | 287 ms | $0.01 |
| 6 h ago | Passed | 402 | 247 ms | $0.01 |