Search and retrieve translated content
Learn how to search within translated articles and retrieve translated content from News API v3
Overview
News API v3 provides translation capabilities that allow you to search across language barriers and retrieve translated content. This guide explains how to use these features to work with multilingual news content effectively.
Prerequisites
- An active subscription with the NLP plan or higher
- A valid API key with appropriate permissions
Key translation features
News API v3 offers two main translation capabilities:
- Search in translated content: Find articles using English keywords even when the original content is in another language.
- Retrieve translated fields: Include English translations in API responses.
Searching in translated content
To search within translated content, use the search_in
parameter with one of
these translation options:
Option | Description |
---|---|
title_translated | Search only in translated titles |
content_translated | Search only in translated content |
summary_translated | Search only in translated summaries |
title_content_translated | Search in both translated titles and content |
Example request:
This request finds French articles where the English translation contains “artificial intelligence”.
Retrieving translations
When using the search_in
parameter with translation options, translation
fields are included in the response by default. To always include them, use the
include_translation_fields
parameter:
Combining original and translated search
For comprehensive results, you can search in both original and translated fields simultaneously:
You can specify a maximum of 2 options in the search_in
parameter.
Translation fields in responses
When using translation features, these fields appear in responses:
title_translated_en
: English translation of the article titlecontent_translated_en
: English translation of the article contentnlp.summary_translated
: Brief AI-generated summary of the translation (wheninclude_nlp_data
istrue
)
Example response snippet
Best practices
- Use precise queries: Translations may not capture all language nuances
- Combine with filters: Use
lang
andcountries
parameters to target specific regions - Remember the 2-option limit: The
search_in
parameter accepts a maximum of 2 options
Limitations
- Search in translations is only available for English translations
- Translation features require the NLP subscription plan or higher
- Translation quality varies by source language and content complexity
- Translation search is only available for content from March 12, 2025 onwards, as this is when the translation indexing was implemented