Skip to content
Live news Screener Coverage Pricing Docs REST API WebSocket API MCP server Company Use cases Blog Changelog Status Compare Contact
ALGRF$0.400.00(0.00%)Algo Grande Commissions Independent NI 43-101 Update to Capture First Year of Progress at Adelita[5:30:00 PM ET]ZEFIF$0.45+0.02(+3.56%)Zefiro Announces Closing of Non-Brokered Private Placement for Gross Proceeds of Approximately C$5.0 Million[5:29:00 PM ET]BLK$1,118.50-18.79(-1.65%)BlackRock® Canada Announces the Termination of iShares Convertible Bond Index ETF[5:23:34 PM ET]ITFS$1.43-0.02(-1.10%)Itafos Announces Release Date for Q3 2026 Results and Business Update Webcast[5:15:00 PM ET]FAGI$0.01-0.00(-13.33%)Full Alliance Group, Inc (OTC:FAGI) YAHBEE Highlights Community-Commerce Model for Agentic Commerce Era[5:15:00 PM ET]TGT$152.76-5.35(-3.38%)Vital Farms Introduces a Higher Standard for Free-Range Eggs Through Limited Pilot at Select Target Retail Stores[5:05:00 PM ET]NU$15.24+0.51(+3.46%)Notice to Market: Nu Holdings Ltd.[5:03:00 PM ET]POR$44.55-0.35(-0.78%)Portland General Electric Declares Dividend[5:00:00 PM ET]ANTX$3.55-0.09(-2.47%)AN2 Therapeutics, Inc. Reports Inducement Grants Under Listing Rule 5635(c)(4)[5:00:00 PM ET]EML$24.18-0.67(-2.70%)The Eastern Company Announces Timing of Third Quarter 2026 Earnings Release and Conference Call[4:55:00 PM ET]MYE$32.13-0.70(-2.13%)Myers Industries Announces Quarterly Dividend[4:45:00 PM ET]FCAP$63.35-0.59(-0.92%)First Capital, Inc. Reports Quarterly Earnings[4:45:00 PM ET]AIRDF$0.33-0.01(-3.96%)Rocket Doctor Grants Equity[4:42:20 PM ET]
Developers of trading bots and alert systems

News triggers for trading bots and alerts

A trading bot that waits on a poll interval is late. The useful pattern is a WebSocket subscription for the names you trade, plus a REST backfill if the socket drops.

How does a stock news API help developers of trading bots and alert systems?

MarketNewsAPI pushes each new stock article to a WebSocket channel you choose, such as a ticker or press releases, and REST covers anything you missed.

Fit

When this stock news workflow fits

  • Your bot should react to a headline, not to a timer.
  • You need a stable article id so the same story is not traded twice.
  • You want server-side filters so your process does not parse every headline.

The call

WebSocket subscribe

The same article shape on every guide: ticker, type, timestamps, summary, and a link. Press releases include the full text.

WebSocket subscribe
{"action":"subscribe","channels":["ticker:NVDA","type:press_release"]}
How to call it

How do you request stock news for this workflow?

1

Subscribe narrowly

Subscribe to ticker:NVDA for that name, or type:press_release for wire releases. Channels are OR. See channel rules.

2

Dedupe on id

Each article id is art_ plus 16 hex characters of the canonical URL. The same release syndicated under several tickers is one id.

3

Fill gaps

After a reconnect, call GET /v1/news with from set to the last published_at you processed and sort=published_asc.

FAQ

Frequently asked questions

Which plan includes the stock news stream?
Pro includes it. Pro is $15 a month, or $162 a year ($13.50 a month), and it includes unlimited REST, the WebSocket, and the MCP server. The 7-day trial includes the same access, and a card is required. Free is REST only, delayed 15 minutes, with no WebSocket. There is no separate streaming plan.
What is the burst limit on the API?
20 requests per second per account. That is a burst limit, not a daily quota. Pro has no daily or monthly request cap. The WebSocket stream is not counted as REST calls. If you exceed 20 REST calls in one second, the API returns HTTP 429 with a Retry-After header. A higher burst is an enterprise conversation.
Can I run a trading bot from a serverless function?
REST fits a short function because each call ends. A WebSocket needs a process that stays connected, so a serverless freeze will drop the stream. Many bots use both: the socket for live items, and REST with a from timestamp to recover anything published during a reconnect. Pro includes 3 concurrent connections.

Real-time stock news for $15 a month.

Start a 7-day Pro trial. A card is required. REST, WebSocket, and MCP are included. If you don't subscribe, the account stays on Free.