Search overview
What is the You.com Search API?
The You.com Search API delivers high-quality, structured web and news results optimized for AI applications and programmatic access. Designed for developers building RAG systems, AI agents, knowledge bases, and data-driven applications, our Search API returns clean, structured data with rich metadata, relevant snippets, and optional full-page content.
TL;DR: A fast, LLM-ready search API that returns structured JSON with web and news results. Perfect for feeding context into AI models, building knowledge systems, and powering data-driven applications.
How it works
The Search API processes your query and returns unified results from both web and news sources in a single request. Each result includes:
- Core tnformation: URLs, titles, and descriptions
- LLM-ready snippets: Query-aware text excerpts - the best snippets to answer your query will be provided
- Rich metadata: Publication dates, authors, thumbnails, and favicons
- Full page content: Live-crawled HTML or Markdown on demand
Our intelligent classification system automatically determines when to include news results based on query intent, ensuring you get the most relevant information for your use case.
What you get
Every search returns structured JSON with two main result types:
Web results
- Relevant web pages from across the internet
- Multiple text snippets per result for context
- Publication dates and author information
- Thumbnail images and favicons for UI display
News results (when relevant)
- Recent news articles from authoritative sources
- Article summaries and headlines
- Publication timestamps for freshness
- Associated images and metadata
All results are returned in clean, structured JSON format requiring no HTML parsing or post-processing.
Key features
Unified web & news results
Get both web pages and news articles in a single API call. Our classification system automatically determines when to include news results based on query intent.
LLM-optimized output
Every result includes:
- Snippets: Pre-extracted relevant text excerpts
- Descriptions: Clean summaries without HTML clutter
- Metadata: Publication dates, authors, thumbnails, favicons
- Structured JSON: No parsing required, ready for AI consumption
Advanced search operators
Build powerful and precise search queries using search operators:
site:domain.com- Search within specific domainsfiletype:pdf- Filter by file type+term/-term- Include/exclude specific terms- Boolean operators:
AND,OR,NOT
Learn more about search operators →
Live crawling
Retrieve full HTML or Markdown content from search results on-demand. Perfect for deep content analysis or building comprehensive knowledge bases.
Global coverage
Target results by geographic region using the country parameter (ISO 3166-2 country codes) and filter by language using the language parameter (BCP 47 language codes).
Freshness controls
Filter results by recency:
day- Last 24 hoursweek- Last 7 daysmonth- Last 30 daysyear- Last 365 daysYYYY-MM-DDtoYYYY-MM-DD- Custom date range
All optional parameters you can control
Quickstart
Get started with a simple search in under 30 seconds:
Common use cases
RAG (Retrieval-Augmented Generation)
Use search snippets to provide context to your LLM without hallucination. The structured snippets are perfect for feeding directly into your prompt.
AI agent knowledge retrieval
Give your AI agents access to real-time web information. Perfect for building agents that need up-to-date facts, news, or specialized domain knowledge.
News monitoring & alerts
Track breaking news, competitor mentions, or industry trends. The automatic news classification ensures you get timely articles when relevant.
Content research & analysis
Gather comprehensive information from multiple sources for content creation, competitive intelligence, or market research.
Knowledge base construction
Use live crawling to build comprehensive knowledge bases with full-page content in clean Markdown format.
Examples of advanced search capabilites
Search operators
Combine operators for powerful, precise searches:
Pagination
Retrieve multiple pages of results:
Geographic targeting
Narrow down on results by country:
Refer to the ISO 3166-2 standard for a list of country codes.
Best practices
1. Use snippets for RAG
The snippets array is pre-processed for LLM consumption. Use it directly instead of crawling full pages when possible.
2. Implement caching
Cache frequent queries to reduce API calls and improve response times. Consider a 5-15 minute TTL for most use cases.
3. Handle empty results
Always check if results.web or results.news arrays are empty before processing:
4. Use appropriate count values
- For RAG:
count=5-10is usually sufficient - For UI display:
count=20-50for pagination - For data gathering:
count=100(max) for comprehensive coverage
5. Utilize search operators and query parameters
Use search operators and specify query parameters in the request to reduce noise and get more relevant results.
Rate limits & pricing
The Search API is optimized for high-throughput applications with generous rate limits. Pricing is based on:
- Number of API calls
- Use of optional features (live crawling)
- Result count per request
For detailed pricing and rate limit information, visit you.com/platform/upgrade or contact api@you.com.
Next steps
Explore the complete API documentation with all parameters and response schemas
Master advanced search operators to refine your queries
Learn from practical examples and integration guides
Get your API key and make your first search in 5 minutes