Market News

The latest news driving a whole market — US, gold, BTC, oil… — AI-scored, with links.

GET/api/market-news
Insider InfoIncluded in every plan · one key.

Overview

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

Universe
9 markets
History
Recent headlines
Updates
On demand · ~30 min cache
Source
Yahoo Finance + DeepSeek AI

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

ParameterTypeDescription
marketstringus | gold | silver | btc | eth | oil | dollar | copper | bonds — omit to list them (optional)
fresh0 | 11 = bypass the 30-min cache (optional)
x-api-keyheaderYour API key — market-news scope (required)
Example response
200 OK · application/json
{
  "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"
    }
  ]
}
Insider Info — related datasets
Get your API key

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.