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 includecompany,country,person,product, andorganization, 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.
tickersare the tradeable symbols the story is tagged with.listingsadd the exchange, so a TSX or LSE listing stays distinct from a US symbol with the same letters.entitiesare 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:
- Show a reader which people and countries a story mentions.
- Find stories that name a private company you follow, even with no ticker.
- Spot suppliers or partners named next to your watchlist symbol.
- 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.
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.