Skip to navigation

Research API Overview

View as MarkdownOpen in Claude

Add You.com to your agent or IDE via MCP—connect at https://api.you.com/mcp. Try search with no signup at https://api.you.com/mcp?profile=free (you-search and you-discover). Research and finance use /mcp/research and /mcp/finance, or ?tools= on /mcp. MCP Server guide →

Install the Docs MCP server

The Docs MCP server lets your agent search over the entirety of these docs. Free to use.

Install https://you.com/docs/_mcp/server. See the Docs MCP Server guide to learn more.


What Is the Research API?

The Research API returns grounded, natural language answers to questions of varying complexity. It runs multiple searches, processes the results, cross-references sources, and synthesizes everything into a thorough, Markdown-formatted answer with inline citations. When you need a typed response, you can also get structured JSON by defining an output_schema.

Ask a hard question, get a researched answer with sources.


Endpoints

Each API has its own endpoint. Every request sends your API key in the X-API-Key header.

APIEndpointGuideAPI reference
Web Search APIPOST https://ydc-index.io/v1/search (also GET)Overview/v1/search
Contents APIPOST https://ydc-index.io/v1/contentsOverview/v1/contents
Answer APIPOST https://api.you.com/v1/answerOverview/v1/answer
Research APIPOST https://api.you.com/v1/researchOverview/v1/research
Finance Research APIPOST https://api.you.com/v1/finance_researchOverview/v1/finance_research

The Answer, Research, and Finance Research APIs run only on api.you.com. Sending one of those paths to ydc-index.io returns 403 with {"message": "Missing Authentication Token"}, even when the key is valid.


The Web Search API and the Research API serve different purposes by delivering different outputs:

Web Search APIResearch API
InputQuery, several search parameters (count, language, extraction etc.)Query, research effort, source controls, optional output schema
You getRaw search results (URLs, snippets, metadata)A natural language answer or structured JSON object with inline citations, plus search results
ProcessingReturns results as-is for you to processReads, reasons over, and synthesizes results for you
SpeedFast—single search round tripVaries—multiple searches and reasoning steps
ControlFull control over how results are usedControl depth, sources, recency, geography, and response shape
Best forRAG pipelines, building your own search UI, data gatheringAnswering questions of varying complexity using multiple sources

Use the Web Search API when you want raw results to feed into your own pipeline. Use the Research API when you want a ready-to-use answer backed by sources. If the job is a single-pass cited answer, known URLs, or a finance-optimized index, Choose the Right API maps those jobs to the Answer API, Contents API, and Finance Research API.


How It Works

Research operates as an agentic system that autonomously plans and executes a multi-step research strategy for your question.

Search, Contents, and Live News as retrieval primitives

Research uses You.com’s Search, Contents, and Live News APIs as its core tools. Rather than firing generic web queries, the system selects the right tool for each sub-question—search for discovery, contents for deep page reads, live news for time-sensitive information, and several other internal tools to aid in generating the best possible answer. This targeted tool selection reduces wasted calls and gives the reasoning model cleaner inputs at each step.

The system also evaluates retrieved sources for freshness, diversity, and relevance before incorporating them into the answer.

Context management at scale

Deep research generates far more information than any single LLM context window can hold. Research uses context-masking and compaction strategies that let it operate well beyond those limits—maintaining coherent reasoning across hundreds or thousands of turns without losing track of what it found, what it verified, and what remains unresolved.

At higher effort levels, a single query can run more than 1,000 reasoning turns and process up to 10 million tokens.

Budget-based planning

The system receives a compute budget determined by the research_effort tier you choose. It plans its approach around that budget, allocating more effort to verifying ambiguous or high-stakes claims and moving quickly through well-sourced facts. This is the mechanism that enables the range of latency, accuracy, and cost tradeoffs across tiers.


What You Get

Every Research API response includes:

  • content: A Markdown-formatted answer by default, or a JSON object when you provide output_schema. Inline citations such as [[1, 2]] reference items in the sources array.
  • content_type: The format of the content field. text is returned for default Markdown responses. object is returned for structured output.
  • sources: The web pages the API read and cited in the answer—each with a URL, title, and relevant snippets.
{
"output": {
"content": "## RISC-V vs ARM: Key Architectural Differences\n\nRISC-V and ARM are both reduced instruction set architectures, but they differ in licensing, extensibility, and ecosystem maturity [[1, 2]].\n\n### Licensing\nARM requires per-chip licensing fees, while RISC-V is open-source and royalty-free [[1, 3]]...",
"content_type": "text",
"sources": [
{
"url": "https://example.com/risc-v-vs-arm",
"title": "RISC-V vs ARM: A Technical Comparison",
"snippets": [
"RISC-V's open ISA allows custom extensions without licensing negotiations, making it attractive for specialized hardware."
]
},
{
"url": "https://example.com/processor-architectures",
"title": "Modern Processor Architectures Explained",
"snippets": [
"ARM's mature ecosystem includes extensive tooling and vendor support built over three decades."
]
}
]
}
}

Features

Research effort levels

The research_effort parameter controls how much compute the API allocates to your question. Higher effort means more searches, deeper source reading, and more cross-referencing—at the cost of longer response times.

TierPrice per 1kLatencyUse case
lite$12< 10sQuick factual lookups, simple searches
standard$50~10–30sBalanced depth for most production use (default)
deep$100< 120sComplex multi-source research and synthesis
exhaustive$450< 300sComprehensive analysis across dozens of sources
frontier$1,200Background only. 30s–12000s (p50: 300s)Long-running deep research tasks. Requires background: true.

A synchronous request holds the connection for the full run. Set your HTTP client timeout above the tier’s upper bound—longer than 120s for deep and 300s for exhaustive—or send background: true and collect the result with background requests.

For the same query, the difference between tiers is substantial. Here’s an abridged comparison for the question “Which global cities improved air quality the most over the past 10 years, and what measurable actions contributed?”:

{
"output": {
"content": "Global assessments show that the largest recent urban air-quality improvements are concentrated in East China, parts of the eastern United States, Europe, and Japan, with especially strong gains in Chinese megacities and cities with aggressive traffic-emissions controls such as London [[1, 2, 3]].\n\n1) Beijing (China) — PM2.5 fell from ~89–90 µg/m³ in 2013 to ~58 µg/m³ in 2017 (about 35–36% in five years), with evidence from both satellite and surface observations [[4, 5]].\nKey drivers included coal phase-down, industrial controls, stricter vehicle/fuel standards, and regional enforcement [[6, 7, 8]].\n\n2) Chinese city clusters (BTH / YRD / PRD) — China's population-weighted PM2.5 fell ~32% from 2013–2017, with the largest modeled decline in Beijing–Tianjin–Hebei (~38%); across 367 cities, observed PM2.5 fell ~44% from 2013–2019 [[9, 10]].\nThe main drivers were national clean-air action plans, coal controls, industrial restructuring, and transport emissions standards [[7, 9, 10]].\n\n3) London (UK) — London achieved major NO2 reductions linked to LEZ/ULEZ policies, with monitoring and modeling studies showing accelerated declines after ULEZ implementation and meaningful reductions versus no-ULEZ scenarios [[11, 12, 13, 14]].",
"content_type": "text",
"sources": [
{
"url": "https://pubmed.ncbi.nlm.nih.gov/36356738/",
"title": "Trends in urban air pollution over the last two decades: A global perspective - PubMed",
"snippets": [
"At global scale, PM2.5 exposures declined slightly from 2000 to 2019 ... Improvements were observed in the Eastern US, Europe, Southeast China, and Japan..."
]
}
]
}
}

The exhaustive response identifies additional cities (Seoul, with specific UNEP data), includes more granular measurements (µg/m³ ranges, percentage reductions over specific date ranges), and cross-references more sources to verify claims.

Citation-backed answers

Every claim in the response links back to a specific source via inline citations. Your users (or your system) can verify any statement by following the numbered references to the sources array.

Markdown output

The content field is formatted in Markdown with headers, lists, and inline citations—ready to render in a UI or feed into downstream processing.

More capabilities

FeatureWhat it does
Source ControlConstrain domains, freshness, and country
Structured OutputReturn JSON that follows a schema instead of Markdown
Background RequestsQueue long-running research and poll or stream for the result

Parameters

ParameterTypeRequiredDescription
inputstringYesThe research question (max 40,000 characters)
research_effortstringNoDepth of research: lite, standard (default), deep, exhaustive, frontier
source_controlobjectNoBeta. Controls which sources the research agent can use through domain, freshness, and country filters.
output_schemaobjectNoBeta. Requests structured JSON output that follows a supported JSON Schema subset. Not available with lite.
backgroundbooleanNoWhen true, runs the request asynchronously and returns a task handle. Poll or stream the task for the final result.

View full API reference


Common Use Cases

Complex question answering

When a question can’t be answered from a single source—comparative analyses, multi-factor evaluations, questions that span multiple domains—the Research API handles the synthesis for you.

“Compare the pricing models of the top 3 vector databases and their tradeoffs for a 10M-document collection”

Due diligence and market research

Quickly gather verified, cited information about companies, markets, or technologies. The citation-backed output gives you traceability that raw LLM generation can’t.

Internal tools and knowledge assistants

Build internal research tools where employees can ask complex questions and get sourced answers—product comparisons, regulatory summaries, technical deep dives—without manually reading dozens of pages.

Content creation pipelines

Use the Research API as the first step in a content pipeline: ask a research question, get a cited draft, then use it as source material for blog posts, reports, or briefings.


Best Practices

Match research effort to the question

Don’t use exhaustive or frontier for simple factual questions—lite or standard will be faster and cheaper. Save deep, exhaustive, and frontier for questions where thoroughness and accuracy justify the longer response time.

Verify citations for high-stakes use cases

The inline citations make verification straightforward. For legal, financial, or medical contexts, build a step that follows citation URLs to confirm claims before surfacing them to end users.

Use structured inputs for better results

The input field supports up to 40,000 characters. For complex research tasks, include context, constraints, or specific angles you want covered. A well-scoped question produces a more focused answer.

Use background mode for long-running tasks

For deep or exhaustive research that may exceed client-side timeouts, set background: true to queue the request and poll or stream for the result. This decouples submission from retrieval and keeps workers responsive when research takes minutes rather than seconds. The frontier effort level requires background mode.


Pricing

Research API pricing is tiered by effort level. See the Billing page for complete pricing and latency by tier.

Higher effort tiers allocate more compute for deeper reasoning, more source verification, and higher accuracy. See the research effort levels table above for how each tier performs.

For volume discounts, annual pricing, or enterprise features, visit you.com/pricing or contact api@you.com.


Try It


Next Steps