StockNews Search
Fetch real-time, AI-analyzed financial news signals for tickers, agents, dashboards, and research bots.
https://stocknews.ai/api/news1-hour delayed. Learning and testing.
Real-time. Bots, dashboards, alerts.
Real-time. News Agent and deeper workflows.
Custom. Teams, licensing, historical access.
Bearer API key
Use one active API key per account. New integrations should use the Authorization header.
AuthorizationstringheaderrequiredBearer authentication header for your account API key.
Bearer sn_live_your_api_keyRequest parameters
Use these query parameters to narrow the news feed by ticker, signal strength, source, event type, or pagination.
symbolstringqueryTicker symbol filter. Comma-separated symbols are supported. Use SPY for general market / S&P 500 market-level news.
AAPL or AAPL,NVDA,MSFT or SPYlimitintegerqueryMaximum number of signals to return. Oversized requests are capped by your plan.
1010cursorIdstringqueryCursor id returned by the previous page.
665f...sentimentRatingenum[]queryFilter by AI sentiment label.
verybullish,bullishverybullishverybearishbullishbearishneutralstockImpactRatingenum[]queryFilter by expected stock-impact horizon.
shortTerm,longTermshortTermnoImpactlongTermtypeenum[]queryFilter by normalized news/event type.
Earnings,Analyst RatingCorporate DevelopmentsM&AIndustry NewsResearch AnalysisStock PicksEarningsAnalyst RatingMarket RecapInsidersEconomicOthersLegalsourcestring[]queryFilter by source. Press Release expands to known press release providers.
Reuters,CNBC,Press ReleaseReutersCNBCBenzingaTechCrunchNew York PostBusiness InsiderInvestopediaPress ReleaseBusiness WirePRNewswireGlobeNewsWireAccesswireNewsfileeventNamestringqueryUse all, or an exact event name stored on the signal. Exact names are case-sensitive.
all or EarningsFilter market-level signals
Use the regular /api/news endpoint with symbol=SPY when you want broad market news instead of a single-company feed.
https://stocknews.ai/api/news?symbol=SPY&limit=10Use this when your bot or agent needs broad US market context, index-level headlines, and stories that can affect more than one ticker.
Market context
Track broad US market headlines without choosing a single company first.
Index-aware feed
Pull S&P 500-style market stories using the familiar SPY symbol.
Broad feed
Omit symbol when you want the latest news across all symbols instead.
Filter for high-signal news
Use the Hot signals feed when you want a compact list of news items that are already more likely to matter.
https://stocknews.ai/api/news/top?limit=10This feed is designed for quick scanning, alerting, and agent workflows where you want higher-signal stories before doing deeper symbol-specific research.
What it returns
High-signal stories selected by StockNews.AI.
Accepted parameters
Use limit and cursorId for pagination. Other /api/news filters do not apply here.
When to use it
Use this for a quick feed of stories worth checking before broad market or symbol-specific scans.
Agent-readable signal schema
Responses are structured for agents, scripts, dashboards, and backtests. Some records may omit optional values depending on the source data.
newsIdstringStable news id.
eventIdstringGrouped event id when multiple sources describe the same story.
titlestringOriginal or normalized headline.
signalTitlestringAI-readable signal title.
urlstringOriginal article URL.
sourcestringPrimary source name.
sourcesJson[].sourceUrlstringTraceable source URL for the event.
publishedAtdatetimeWhen the original story was published.
firstSeenAtdatetimeWhen StockNews.AI first saw the story.
latestSourceAtdatetimeLatest source timestamp in the event cluster.
createdAtdatetimeWhen the signal record was created.
symbolstringPrimary ticker linked to the signal.
namestringDisplay ticker/name. S&P 500 is normalized to SPY.
sentimentRatingstringFormatted sentiment label returned by the API.
stockImpactRatingstringImpact horizon label, such as shortTerm or longTerm.
typestringNormalized news type, or Others.
eventNamestringEvent label when the story belongs to an event category.
importanceScorenumber0-100 estimate of how important the story may be.
sentimentScorenumberDirectional sentiment score.
relevanceScorenumberHow relevant the story is to the returned ticker.
sentimentReasoningstringWhy the model assigned the sentiment.
stockImpactReasoningstringWhy the story may matter for the stock.
startPricenumberStock price captured near signal detection for your own backtests.
elapsedTimestringHuman-readable time since createdAt.
pathTitlestringURL-safe title used by StockNews.AI pages.
trimSummarysarrayClean summary bullet list.
sourceCountnumberNumber of sources in the event cluster.
newsItemsnumberResolved number of related records in the event.
relevantSymbolsarrayOther tickers linked to the story.
Connect ChatGPT with MCP
Use MCP when you want ChatGPT or another AI client to call StockNews.AI tools directly instead of writing REST requests yourself. Use No Auth in the client and pass your StockNews.AI API key in the server URL.
MCP Server URI
https://stocknews.ai/mcp?api_key=sn_live_your_api_keyIn ChatGPT custom tools, choose No Auth, paste this URL, and replace the API key with your account key. Tool calls are read-only and count against your API quota.
List tools
ChatGPT can discover StockNews.AI tools such as recent news, semantic news search, company profile, quote, and price-change data.
Call tools
Each MCP tool call uses the same StockNews.AI tool catalog available in News Agent.
Quota
MCP calls use the same monthly API usage bucket as REST so billing stays simple.
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {
"name": "ChatGPT",
"version": "custom-mcp"
}
}
}HTTP status codes
The API returns normal HTTP status codes with JSON error bodies. Use response headers to read remaining quota and reset time.
Missing or invalid API key
Check the Authorization header or replace the key.
Plan does not include this access
Upgrade or remove unsupported filters.
Monthly quota exceeded
Wait for reset or upgrade the plan.
Server error
Retry later and log the request id if available.
Copyable examples
Use plain HTTP first. These examples are easy to paste into Cursor, Claude, ChatGPT, notebooks, and small scripts.
curl "https://stocknews.ai/api/news?symbol=NVDA&limit=10&sentimentRating=verybullish,bullish" \
-H "Authorization: Bearer sn_live_your_api_key"Prompt examples
Many teams will ask AI to write the integration or interpret the JSON. Give the AI the response and one of these prompts.
Watchlist brief
Use this StockNews.AI response to create a watchlist brief for AAPL, NVDA, MSFT, and TSLA.
Return the top 5 signals, explain why each matters, include the source trace, and flag anything with strong price follow-through.Trading bot research
You are helping me build a research bot, not executing trades.
Rank signals by importanceScore and relevanceScore.
Explain the catalyst, sentiment, related tickers, and what follow-up data I should check before making a decision.Cursor coding prompt
Build a small script that calls the StockNews.AI REST API every 15 minutes.
Store newsId, eventId, symbol, signalTitle, importanceScore, sentimentScore, source, firstSeenAt, startPrice.
Skip duplicate newsId values and print an alert when importanceScore is above 80.Price tracking
The API returns startPrice when the source record has a price snapshot, so you can store the signal-time price and run your own backtests.
Signal-time price
Use startPrice as the entry snapshot for your own tracking logic.
Backtest baseline
Store startPrice with newsId, symbol, and firstSeenAt before calculating later returns.
Your own windows
Compare later market prices against startPrice inside your bot, notebook, or database.