Overview
search_language_filter keeps results written in the languages you list. Pass an array of up to 20 two-letter ISO 639-1 codes, such as ["en", "fr", "de"]. Use lowercase codes. The filter applies in addition to the query and any other filters, and the API reference documents the request parameters.
The query does not need to be in the target language. To bias results toward a country as well as a language, add country with an ISO 3166-1 alpha-2 code such as "FR".
Filter by language
This request sends an English query and keeps French results.Response
Response
"search_language_filter": ["zh", "ja", "ko"].
Common language codes
Errors
A code that is not a two-letter ISO 639-1 code, such as the three-letter"eng", returns HTTP 400:
type and the message search_language_filter cannot have more than 20 languages.
Next Steps
Domain Filter
Include or exclude specific domains, paths, and top-level domains.
Date and Time Filters
Restrict results by publication date, last-updated date, or recency.
How Search Works
Result fields, several queries per request, and request limits.
API Reference
Every request parameter, the response schema, and error responses.