Named Entity Recognition (NER) in News API lets you find articles mentioning specific people, organizations, locations, or other named entities. Entity search provides more precise results than keyword searches and works across all languages using English entity names.Documentation Index
Fetch the complete documentation index at: https://newscatcherinc-docs.mintlify.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin
Make sure you have the following:- An active News API key
- NLP functionality enabled in your subscription plan
- The Newscatcher SDK installed for your language, or cURL for quick testing
Steps
Understand entity types
News API recognizes four entity types, each available as a separate request
parameter:
All entity parameters support boolean operators (
| Parameter | Entity type | Examples |
|---|---|---|
PER_entity_name | Person names | "Tim Cook", "Elon Musk" |
ORG_entity_name | Organization names | "Apple", "European Union" |
LOC_entity_name | Location names | "California", "Brussels" |
MISC_entity_name | Other entities | Products, events, nationalities |
AND, OR, NOT),
proximity search with NEAR, and count-based filtering.Search by entity
Combine keywords with entity recognition in a single request. This example
finds AI articles that mention OpenAI or Microsoft as organizations:
Review the NLP fields in the response
The response includes entity information in the The
nlp object for each
article:ner_* fields show entities found in the original content with their
mention counts.Search entities across languages
To find entities in non-English articles, include translated content in your
search. This example finds European Central Bank coverage in four languages
using English entity names:The response includes
translation_ner_* fields with entities extracted
from the translated content:
