include_domains and exclude_domains.
Include specific domains
Useinclude_domains to restrict results to a set of trusted sources:
Exclude specific domains
Useexclude_domains to filter out domains you don’t want:
Combine both
You can useinclude_domains and exclude_domains independently. They cannot be combined in the same request (include takes precedence if both are provided).
Notes
- Provide bare domain names without
https://or trailing slashes:"nature.com"not"https://www.nature.com/" - Subdomains are matched:
"bbc.com"will include"news.bbc.com" - An empty array (
[]) means no filter is applied (default behavior)