Understanding Entities: People, Companies, Locations
Read the people, companies, places, and other names in an article
Written by Tasha Tatum
July 2, 2026
Updated October 16, 2026
Understanding entities: people, companies, locations
An entity is a named subject in an article, such as a person, company, place, or product. The response’s entities array gives each subject an ID, type, mention count, positions in the text, and sentiment toward it.
You can read these fields or use entity filters to find coverage of a particular person or company.
What is an entity in the APITube News API?
Each entity has a stable numeric id. The same company keeps the same ID across articles, so you can track it without relying on spelling alone.
Its links can include a self API link and known Wikipedia or Wikidata pages. Entities identify named subjects. Categories, topics, and industries describe what an article is about.
What entity types does APITube recognize?
The nine types are:
personlocationorganizationbrandproductnatural-disasterdiseaseeventsport
An unrecognized type is unknown. Name filters use these types: person.name looks for people, while organization.name looks for organizations.
What does an entity look like in an article?
Here is a location example:
{
"id": 1034399,
"name": "Germany",
"type": "location",
"links": {
"self": "https://api.apitube.io/v1/news/entity/1034399",
"wikipedia": "https://en.wikipedia.org/wiki/Germany",
"wikidata": "https://www.wikidata.org/wiki/Q183"
},
"frequency": 3,
"sentiment": {
"score": -0.42,
"polarity": "negative",
"mentions": { "positive": 1, "neutral": 0, "negative": 2 }
},
"title": { "pos": [{ "start": 7, "end": 14 }] },
"body": { "pos": [{ "start": 113, "end": 120 }, { "start": 852, "end": 859 }] },
"metadata": { "type": "country", "country": { "code": "DE" }, "coordinates": { "lat": 51.1657, "lng": 10.4515 } }
}
Read the fields as follows:
idandname: the subject’s identifier and display name.frequency: how many times it appears in this article.title.posandbody.pos: each mention’sstartandendcharacter positions.sentiment: a -1 to 1score, apolaritylabel, and counts of positive, neutral, and negativementions.metadata: extra details for that type. Locations can include a country and coordinates; organizations can include headquarters or key people.
For locations with a known country, locations_mentioned also provides name, country, lat, lng, and type in a simpler list. See the official response structure reference.
How do I find articles that mention a specific entity?
If you know the numeric ID, use entity.id. It accepts up to three comma-separated IDs:
curl "https://api.apitube.io/v1/news/everything?entity.id=1034399&api_key=YOUR_API_KEY"
If you know the name, use person.name, organization.name, location.name, or brand.name:
curl "https://api.apitube.io/v1/news/everything?organization.name=Netflix&api_key=YOUR_API_KEY"
The name must identify a known entity. An unknown name returns 400, rather than searching for that text anywhere in the article. Name filters accept up to three comma-separated names too. See how to find news mentioning a person or company.
How do I read sentiment toward a single entity?
Read that entity’s sentiment. A positive article can still describe one company negatively.
To filter for that tone, combine an entity selector with entity.sentiment.polarity. You can also set entity.sentiment.score.min and entity.sentiment.score.max, on a -1 to 1 scale:
curl "https://api.apitube.io/v1/news/everything?organization.name=Netflix&entity.sentiment.polarity=negative&api_key=YOUR_API_KEY"
See how to get sentiment toward a company or person and how sentiment analysis works.
Common Questions
- Are entity IDs numeric and stable?
- What is the difference between
entitiesandlocations_mentioned? - Can I filter on more than three entities at once?
- What does the entity
frequencycount?
Are entity IDs numeric and stable?
Yes. Use the same ID to track a subject across articles. entity.id requires numeric values and rejects non-numeric input.
What is the difference between entities and locations_mentioned?
entities includes all named subjects and their full details. locations_mentioned is a simpler list of places with a known country, useful for maps.
Can I filter on more than three entities at once?
No. Entity ID and name filters use only the first three comma-separated values. Split more subjects across requests, or combine with a broader category or topic filter.
What does the entity frequency count?
Mentions in that one article, rather than articles across the archive. Use the trends endpoint with entity.id to compare entity activity across many articles.