Research

View as MarkdownOpen in Claude

Research goes beyond a single web search. In response to your question, it runs multiple searches, reads through the sources, and synthesizes everything into a thorough, well-cited answer. Use it when a question is too complex for a simple lookup, and when you need a response you can actually trust and verify.

Authentication

X-API-Keystring
A unique API Key is required to authorize API access. [Get your API Key with free credits](https://you.com/platform).

Request

This endpoint expects an object.
inputstringRequired<=40000 characters

The research question or complex query requiring in-depth investigation and multi-step reasoning.

Note: The maximum length of the input is 40,000 characters.

research_effortenumOptionalDefaults to standard
Controls how much time and effort the Research API spends on your question. Higher effort levels run more searches and dig deeper into sources, at the cost of a longer response time. Available levels: - `lite`: Returns answers quickly. Good for straightforward questions that just need a fast, reliable answer. - `standard`: The default. Balances speed and depth, a good fit for most questions. - `deep`: Spends more time researching and cross-referencing sources. Use this when accuracy and thoroughness matter more than speed. - `exhaustive`: The most thorough option. Explores the topic as fully as possible, best suited for complex research tasks where you want the highest quality result.
Allowed values:
source_controlobjectOptional
Beta. Controls which web sources the research agent searches and visits. Use this to allow specific domains, block specific domains, filter by recency, or focus web results by country. `include_domains` and `exclude_domains` cannot be used together in the same request. Each domain list is capped at 500 entries. `exclude_domains` also blocks the research agent from visiting pages on those domains during browsing.
output_schemamap from strings to anyOptional
Beta. Requests structured JSON output in `output.content` using a supported JSON Schema subset. Supported only with `research_effort` values `standard`, `deep`, and `exhaustive`. Sending `output_schema` with `research_effort: "lite"` returns `422`. Required schema rules: the root must be an object, the root must not use top-level `anyOf`, every object must define `properties`, every object must set `additionalProperties: false`, every property must be listed in `required`, recursive schemas are not supported, and standalone `{"type": "null"}` is not supported outside `anyOf`. Supported patterns include nested objects, arrays, enums, nested `anyOf`, and non-recursive `$defs` and `$ref`. Unsupported keywords include `allOf`, `contains`, `not`, `dependentRequired`, `dependentSchemas`, `format`, `if`, `then`, `else`, `maxContains`, `minContains`, `maxItems`, `minItems`, `maxLength`, `minLength`, `maxProperties`, `minProperties`, `maximum`, `minimum`, `multipleOf`, `pattern`, `patternProperties`, `propertyNames`, `unevaluatedItems`, `unevaluatedProperties`, and `uniqueItems`. Limits: max nesting depth 5, max total properties 100, max total enum values 500, max large-enum string budget 7,500 for enums with more than 250 values, and max total schema string budget 25,000. The schema string budget counts property names, `$defs` names, enum values, and `const` values.

Response

A JSON object containing a comprehensive answer with citations and supporting search results
outputobject
The research output containing the answer and sources.

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error