Skip to content
JNJ$270.36-0.60(-0.22%)Johnson & Johnson Announces New Investments Of $850M+ In California And Puerto Rico As Part Of Its $55B U.S. Investment Through Early 20296:47:54 AM ETTRV$398.67-4.97(-1.23%)Renewed JR EAST PASS Makes Its Winter Debut, Linking Eastern Japan's Top Snow Destinations6:47:00 AM ETNWS$28.43-0.82(-2.80%)PRESS DIGEST-Canada - December 16:46:51 AM ETMCO$482.70+0.02(+0.00%)First Pacific Company Limited -- Moody's Ratings changes First Pacific's outlook to positive; affirms Baa3 rating6:45:47 AM ETABNB$178.00-1.16(-0.65%)Truist Lifts Price Target on Airbnb to $164 From $161, Keeps Hold Rating6:44:07 AM ETSPOT$622.82+0.27(+0.04%)Guggenheim Adjusts Price Target on Spotify Technology to $700 From $650, Maintains Buy Rating6:42:48 AM ETBP$44.22+0.64(+1.47%)BRIEF-BP's Ian Tyler to Step Down from Audit Committee Effective Dec. 16:40:34 AM ETAPP$410.51+1.90(+0.46%)Why is Applovin stock slipping today?6:40:16 AM ETKHC$25.27-0.08(-0.32%)Kraft Heinz or Kimberly-Clark? Here's Where I'd Invest $1,000.6:38:53 AM ETGOOG$294.18+2.38(+0.82%)*Google To Establish New Manufacturing, Logistics, And AI-Focused Integration Facility In Visakhapatnam, Andhra Pradesh; To Include Specialized AI Hardware Manufacturing, Supply-Chain Capabilities6:38:15 AM ETCBIO$19.45+0.48(+2.53%)Guggenheim Adjusts Price Target on Crescent Biopharma to $45 From $35, Maintains Buy Rating6:37:53 AM ETNVDA$159.60+7.20(+4.72%)If You'd Invested $10,000 in Nvidia at Its 2022 Low, Here's How Much You'd Have Today6:37:02 AM ETSRFM$0.41+0.01(+2.30%)*Surf Air Mobility Signs Definitive Agreement With QuikCharter For OperatorOS, Surf Air Mobility's SurfOS Flight Operations Software For Part 135 Operators Powered By Palantir Technologies6:33:17 AM ETNFLX$61.39-0.20(-0.32%)Italy fines Netflix over joke about Michelangelo's David genitals6:33:03 AM ETBNS$84.550.00(0.00%)CANADA STOCKS-TSX futures rise on commodity strength; investors await bank earnings6:32:40 AM ETACN$238.35-3.49(-1.44%)Update: Citigroup Adjusts Price Target on Accenture to $245 From $220, Maintains Neutral Rating6:32:31 AM ETWCN$183.00-2.57(-1.38%)Waste Connections: Best Margins In The Sector, But Not Cheap Enough6:32:18 AM ETBE$208.83+16.96(+8.81%)Social Buzz: Wallstreetbets Stocks Mostly Advancing Premarket Tuesday; Bloom Energy, Nvidia to Open Higher6:31:44 AM ETAAPL$352.58-1.40(-0.40%)Actor Michael Patrick Thornton says ‘Being Heumann’ is part of a new era for disabled actors [Chicago Tribune]6:31:36 AM ETISRG$430.00+1.17(+0.27%)Is Intuitive Surgical Stock Riskier When The Fed Hikes?6:30:25 AM ETV$428.33-0.42(-0.10%)Tech Tops Holiday Wish Lists: What's in Store for Mastercard?6:30:18 AM ETAPD$318.21-0.88(-0.28%)Here's Why You Should Retain Air Products Stock in Your Portfolio6:30:15 AM ETBAC$48.96+0.32(+0.66%)JPMorgan Tops FSB's G-SIB List: What Does It Mean for Investors?6:30:07 AM ETTT$415.50+2.63(+0.64%)Trane Technologies Launches Nationally Registered Apprenticeship Program for Controls Technicians6:30:03 AM ET
Tutorial 5 min read

How do you use stock news api entities on a stock news article?

How to read stock news api entities on each article: type, name, and optional symbol, and how they differ from the tickers field.

Here is how stock news api entities work on MarketNewsAPI. Every article carries an entities array. Each entry has a type, a name, and an optional symbol. You read it from the same responses you already use, GET /v1/news and GET /v1/news/{id}. There is no separate entity endpoint. From 23 November 2026 through 27 November 2026, midnight to midnight Eastern, the index held 21834 publisher stock news articles (category stocks, type news). Each of those rows has an entities field you can read the same way.

This tutorial covers what entities are, how they differ from tickers, how to fetch them, and the mistakes to avoid. The full field reference is in the enrichment docs.

What an entity is

An entity is a named thing that the article mentions. MarketNewsAPI tags each one with three fields:

  • type: the kind of thing. Types include company, country, person, product, and organization, plus others.
  • name: the name as it reads in plain text.
  • symbol: a ticker, when one applies. It is optional. Many entities have none.

A country has no symbol. A chief executive has no symbol. A private supplier has no symbol. A listed company often does.

Entities versus tickers

The article also has tickers and listings. These are not the same as entities.

  • tickers are the tradeable symbols the story is tagged with.
  • listings add the exchange, so a TSX or LSE listing stays distinct from a US symbol with the same letters.
  • entities are everything named in the story, tradeable or not.

Here is a real row from the window above. The title is "Meta Platforms: Looking Beyond Capex, At Efficiency Gains For 2027 (Upgrade)" from Seeking Alpha, published at 2026-11-28T04:50:26Z. Its tickers are META and META:CA. The second one is a separate listing, not a typo.

Entities can go further than tickers. A story about a chip shortage may name a private foundry, a government agency, and a country. None of those trade. They still show up as entities. A story can also name a company that has no ticker in the story at all. Treat tickers as the routing key and entities as context.

Fetch entities with REST

Entities come back on the search endpoint and on the single-article endpoint. Send your key as a Bearer token from a server, never from a browser.

Search request

curl -s "https://api.marketnewsapi.com/v1/news?tickers=META&type=news&limit=20" \
  -H "Authorization: Bearer mna-live-..."

This request filters by ticker and type. It does not use q. The 21834 total above is also a filter count (category stocks, type news, over the window), not a q search. A q search covers title, summary, and snippet, so it would match a different set of rows.

Single article request

curl -s "https://api.marketnewsapi.com/v1/news/ARTICLE_ID" \
  -H "Authorization: Bearer mna-live-..."

Use this when you stored an id and want the full record again, including summary, body, and entities.

Response shape

The shape below is illustrative. It shows the structure, not the entities of the Meta row.

{
  "id": "...",
  "title": "...",
  "tickers": ["META", "META:CA"],
  "entities": [
    { "type": "company", "name": "Meta Platforms", "symbol": "META" },
    { "type": "person", "name": "..." },
    { "type": "country", "name": "..." },
    { "type": "product", "name": "..." }
  ]
}

Working with entities in code

A short Python loop groups entities by type. It also checks for the optional symbol before using it.

import requests

r = requests.get(
    "https://api.marketnewsapi.com/v1/news",
    params={"tickers": "META", "type": "news", "limit": 20},
    headers={"Authorization": "Bearer mna-live-..."},
)
for article in r.json()["data"]:
    by_type = {}
    for e in article.get("entities") or []:
        by_type.setdefault(e["type"], []).append(e)
    companies = by_type.get("company", [])
    no_symbol = [e["name"] for e in companies if not e.get("symbol")]
    print(article["title"], no_symbol)

Some uses that fit the field:

  1. Show a reader which people and countries a story mentions.
  2. Find stories that name a private company you follow, even with no ticker.
  3. Spot suppliers or partners named next to your watchlist symbol.
  4. Build a simple co-mention table for research.

Expect unknown types. The list includes others beyond the five named here. Write code that ignores a type it does not recognize instead of failing.

Try it for 7 days. Signup starts Pro. A card is required. Real-time REST, WebSocket, and MCP, with 250 REST requests a day, 1 WebSocket connection, and 2,500 WebSocket messages a day. Paid Pro removes the caps. After that it's $15/month, or Free if you stop.

Start 7-day free trial

Mistakes to avoid

An entity is not a recommendation

An entity means a story named something. It does not mean the story is good or bad for it. It does not mean anyone should buy or sell. A company can appear because a reporter mentioned it once. Do not turn entities into trade signals on their own.

Do not assume a symbol

symbol is optional. Check for it. Do not guess a ticker from a name, since the same letters can trade on more than one exchange.

Do not use entities to route

Filter with tickers. That is the tag the API searches on. Entities are for reading the story, not for selecting it.

Keep the source

When you show an article to someone, keep the publisher name and a working link to the url. The reporting belongs to the publisher.

Plans and access

Entities are on every plan. Free includes stock news, press releases, and legal notices with summaries and entities, at 50 REST requests a day, headlines delayed 15 minutes, and the last 365 days. Pro is $15 a month or $162 a year, with real-time news, no daily REST cap, and articles since 2000. The 7-day Pro trial needs a card. Nothing is charged during the trial, and Pro is billed when it ends unless you cancel. See pricing, sign up, or start at the docs.

Frequently asked questions

Is there a separate endpoint for entities?
No. Entities come back inside each article on GET /v1/news and GET /v1/news/{id}. You read the entities array from the same JSON you already use for title, tickers, and summary. The field reference is on the enrichment docs page.
Why does an entity have no symbol?
The symbol field is optional. Countries, people, products, and private companies usually have no ticker, so the symbol is left out. A company can also be named in a story that has no ticker for it. Check for the field before you use it, and filter stories with tickers instead.
Can I use entities as a buy or sell signal?
No. An entity only means the article named that company, person, country, product, or organization. It says nothing about whether the story helps or hurts it. Read the article, keep the publisher and link, and treat entities as context for a story rather than a recommendation.
Can I use the Pro plan commercially?
No. The Pro plan cannot be used for commercial work. A product you sell, work you do for a client, or redistribution of the feed needs a custom plan and a license. Email [email protected].

Real-time stock news for $15 a month.

Start a 7-day Pro trial. A card is required. REST, WebSocket, and MCP are included, with 250 REST requests a day, 1 WebSocket connection, 5 requests per second, and 2,500 WebSocket messages a day. You won't be charged during the trial. Unless you cancel, the card is billed for Pro when it ends.