Answer
AI-generatedSummary
Send a natural language query to You.com's answer API to receive a synthesized answer with citations from web search results, applying optional filters to control the results' domains, country focus, freshness, language, and safe search level.
Inputs
- Query (required) — The search query to retrieve relevant web results for answering (max 400 characters). Search operators are not supported.
- Answer Options — Optional filters to refine the answer operation, including Boost Domains (domains to prioritize without exclusion), Country (geographical focus of results), Exclude Domains (domains to omit), Freshness (recency filter: any time, past day/week/month/year or custom), Include Domains (restrict results strictly to these domains), Language (BCP 47 language tag for results), and Safe Search (content moderation level).
Output shape
a single JSON object containing the synthesized answer with citations and related metadata as returned by You.com's API
Returned data includes the answer and citations sourced from web search results. The request respects domain and content filters. If domain include/exclude/boost options conflict, an error occurs.