Market News
The latest news driving a whole market — US, gold, BTC, oil… — AI-scored, with links.
/api/market-newsOverview
The macro sibling of News Sentiment. Instead of one stock, it returns the latest financial-news headlines for a whole market — the US market, gold, silver, BTC, Ethereum, oil, the dollar, copper or bonds — each read by AI and scored bullish/bearish, plus `bullSummary`/`bearSummary` recaps. Real source: Yahoo Finance (via a liquid proxy per market). Its own product, with its own key.
Use it toSee the news flow driving a whole market (Fed, gold, crypto…), not just one stock.
Coverage
Call it
Send your ra_live_… key in the x-api-key header. Pick your language:
curl "https://raspberrytrades.com/api/market-news?market=us" \
-H "x-api-key: ra_live_your_key_here"Parameters
| Parameter | Type | Description |
|---|---|---|
market | string | us | gold | silver | btc | eth | oil | dollar | copper | bonds — omit to list them (optional) |
fresh | 0 | 1 | 1 = bypass the 30-min cache (optional) |
x-api-key | header | Your API key — market-news scope (required) |
{
"ticker": "us",
"name": "US Market",
"source": "yahoo-finance-rss",
"count": 20,
"sentiment": { "label": "bullish", "score": 0.18, "bullish": 11, "bearish": 4, "neutral": 5 },
"bullSummary": "Headlines point to cooling inflation and resilient earnings.",
"bearSummary": "Some pieces warn on stretched valuations and rate risk.",
"headlines": [
{
"title": "S&P 500 closes at record as inflation eases",
"url": "https://www.reuters.com/...",
"source": "reuters.com",
"publishedAt": "2026-07-01T20:05:00Z",
"sentiment": "bullish"
}
]
}Create a free account, copy your ra_live_… key and make your first call to https://raspberrytrades.com/api/market-news.
Keep your key on your server — never ship it in front-end code.