Search Controls
The Answer API accepts the same freshness, locale, domain, and explicit-content controls as the Web Search API. All controls are optional and can be combined, except include_domains with exclude_domains or boost_domains.
safesearch defaults to moderate. Set it to strict for stronger explicit-content filtering or off to return unfiltered web results.
Freshness
Restrict results to the last week for questions about recent events:
Use a custom date range for questions bounded to a specific period:
Domain Filters
Restrict results to trusted sources with include_domains:
Exclude unreliable sources while boosting authoritative ones. exclude_domains and boost_domains can be used together:
Country and Language
Focus results on a specific region and language:
Select country and language from the supported values.