X-Session-Id — opaque identifier for a session of related requests (e.g. all calls from one user conversation).
X-Human-Id — opaque identifier for the end-user behind the request. Useful when a single API key serves many human users.
HUMAN\_ID; remote MCP derives the session ID from the MCP initialize handshake.
include\_domains](/documentation/api-reference/endpoint/research#body-include-domains), [exclude\_domains](/documentation/api-reference/endpoint/research#body-exclude-domains), and [output\_length](/documentation/api-reference/endpoint/research#body-output-length) parameters for [Research](/documentation/api-reference/endpoint/research)include\_domainsarray of string\[] — Max: 20 entriessec.gov matches sec.gov and data.sec.gov).exclude\_domainsarray of string\[] — Max: 20 entriesmedium.com also blocks blog.medium.com, but blocking blog.medium.com leaves medium.com itself allowed.output\_lengthstringshort, standard, longstandardexact\_match parameter for [Search](/documentation/api-reference/endpoint/search#body-exact-match)exact\_match to ensure that only search results containing the exact quoted phrase(s) in your query are returned, bypassing synonyms or semantic variations.
"John Smith" CEO Acme Corp).
boolean
false
X-Project-ID headerX-Project-ID: your-project-id to any API request
project\_id="your-project-id" when instantiating the client, or set the TAVILY\_PROJECT environment variable
projectId: "your-project-id" when instantiating the client, or set the TAVILY\_PROJECT environment variable
search\_depth parameter](/documentation/api-reference/endpoint/search#body-search-depth) - New options: fast and ultra-fastfast (BETA)ultra-fast (BETA)query](/documentation/api-reference/endpoint/extract#body-query) and [chunks\_per\_source](/documentation/api-reference/endpoint/extract#body-chunks-per-source) parameters for Extract and Crawlquery (Extract)stringchunks\_per\_source (Extract & Crawl)integerchunks\_per\_source to define the maximum number of relevant chunks returned per source and to control the raw\_content length.raw\_content field as: \ \[...] \ \[...] \ .query is provided (Extract) or instructions are provided (Crawl).include\_usage parameter](/documentation/api-reference/endpoint/search#body-include-usage)include\_usage parameter to true to receive credit usage information in the API response.
boolean
false
usage object with credits information, making it easy to track API credit consumption for each request.
@tavily/ai-sdk](https://www.npmjs.com/package/@tavily/ai-sdk) package that provides pre-built AI SDK tools for Vercel's AI SDK v5.
tavilySearch, tavilyExtract, tavilyCrawl, and tavilyMap
timeout parameter for Crawl](/documentation/api-reference/endpoint/crawl#body-timeout) and [timeout parameter for Map](/documentation/api-reference/endpoint/map#body-timeout)float
timeout parameter](/documentation/api-reference/endpoint/extract#body-timeout)number (float)
extract\_depth: 10 seconds for basic extraction and 30 seconds for advanced extraction.
start\_date parameter](/documentation/api-reference/endpoint/search#body-start_date),[end\_date parameter](/documentation/api-reference/endpoint/search#body-end-date)start\_date and end\_date parameters in the [Search](/documentation/api-reference/endpoint/search) endpoints.
start\_date will return all results after the specified start date. Required to be written in the format YYYY-MM-DD.
end\_date will return all results before the specified end date. Required to be written in the format YYYY-MM-DD.
start\_date to 2025-01-01 and end\_date to 2025-04-01 to reiceive results strictly from this time range.
include\_favicon parameter](/documentation/api-reference/endpoint/search#body-include-favicon)include\_favicon parameter to true to receive the favicon URL (if available) for each result in the API response.
auto\_parameters](/documentation/api-reference/endpoint/search#body-auto-parameters)falseauto\_parameters is enabled, Tavily automatically configures search parameters based on your query's content and intent. You can still set other parameters manually, and your explicit values will override the automatic ones.include\_answer, include\_raw\_content, and max\_results must always be set manually, as they directly affect response size.search\_depth may be automatically set to advanced when it's likely to improve results. This uses 2 API credits per request. To avoid the extra cost, you can explicitly set search\_depth to basic./usage endpoint](/documentation/api-reference/endpoint/usage)GET [https://api.tavily.com/usage](https://api.tavily.com/usage) with your API key to monitor your account in real time.
country parameter](/documentation/api-reference/endpoint/search#body-country)Boost search results from a specific country.
topic is general.
Integrate Tavily with n8n to enhance your workflows with real-time web search and content extraction—without writing code. With Tavily's powerful search and extraction capabilities, you can seamlessly integrate up-to-date online information into your n8n automations.
With Tavily's powerful search and content extraction capabilities, you can seamlessly integrate real-time online information into your Make workflows and automations.
format parameter](/documentation/api-reference/endpoint/extract#body-format)
enum\markdownmarkdown returns content in markdown format. text returns plain text and may increase latency.markdown, textsearch\_depth](/documentation/api-reference/endpoint/search#body-search-depth) and [chunks\_per\_source](/documentation/api-reference/endpoint/search#body-chunks-per-source)parameters
search\_depthenum\basicadvanced search is tailored to retrieve the most relevant sources and content snippets for your query, while basic search provides generic content snippets from each source.basic search costs 1 API Credit, while an advanced search costs 2 API Credits.basic, advancedchunks\_per\_sourcechunks\_per\_source to define the maximum number of relevant chunks returned per source and to control the content length.\ \[...] \ \[...] \ .search\_depth is advanced.1 \< x \< 3Your journey to state-of-the-art web search starts right here.