Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersText embedding modelsVector storesRetrieversAmazon KendraArcee RetrieverArxivAzure Cognitive SearchBM25ChaindeskChatGPT PluginCohere RerankerDocArrayElasticSearch BM25Google Cloud Enterprise SearchGoogle DriveGoogle Vertex AI SearchKay.aikNNLOTR (Merger Retriever)MetalPinecone Hybrid SearchPubMedRePhraseQuerySEC filingSelf-querying retrieverSVMTavily Search APITF-IDFVespaWeaviate Hybrid SearchWikipediayou-retrieverZepToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsRetrieversTavily Search APIOn this pageTavily Search APITavily's Search API is a search engine built specifically for AI agents (LLMs), delivering real-time, accurate, and factual results at speed.Usage‚ÄãFor a full list of allowed arguments, see the official documentation. You can also pass any param to the SDK via a kwargs dictionary.# %pip install tavily-pythonimport osfrom langchain.retrievers.tavily_search_api import TavilySearchAPIRetrieveros.environ["TAVILY_API_KEY"] = "YOUR_API_KEY"retriever = TavilySearchAPIRetriever(k=4)retriever.invoke("what year was breath of the wild released?")    [Document(page_content='Nintendo Designer (s) Hidemaro Fujibayashi (director) Eiji Aonuma (producer/group manager) Release date (s) United States of America: ‚Ä¢ March 3, 2017 Japan: ‚Ä¢ March 3, 2017 Australia / New Zealand: ‚Ä¢ March 2, 2017 Belgium: ‚Ä¢ March 3, 2017 Hong Kong: ‚Ä¢ Feburary 1, 2018 South Korea: ‚Ä¢ February 1, 2018 The UK / Ireland: ‚Ä¢ March 3, 2017 Content ratings', metadata={'title': 'The Legend of Zelda: Breath of the Wild - Zelda Wiki', 'source': 'https://zelda.fandom.com/wiki/The_Legend_of_Zelda:_Breath_of_the_Wild', 'score': 0.96994, 'images': None}),     Document(page_content='02/01/23 Nintendo Switch Online member exclusive: Save on two digital
Tavily's Search API is a search engine built specifically for AI agents (LLMs), delivering real-time, accurate, and factual results at speed.
Tavily's Search API is a search engine built specifically for AI agents (LLMs), delivering real-time, accurate, and factual results at speed. ->: Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersText embedding modelsVector storesRetrieversAmazon KendraArcee RetrieverArxivAzure Cognitive SearchBM25ChaindeskChatGPT PluginCohere RerankerDocArrayElasticSearch BM25Google Cloud Enterprise SearchGoogle DriveGoogle Vertex AI SearchKay.aikNNLOTR (Merger Retriever)MetalPinecone Hybrid SearchPubMedRePhraseQuerySEC filingSelf-querying retrieverSVMTavily Search APITF-IDFVespaWeaviate Hybrid SearchWikipediayou-retrieverZepToolsAgents and toolkitsMemoryCallbacksChat loadersComponentsRetrieversTavily Search APIOn this pageTavily Search APITavily's Search API is a search engine built specifically for AI agents (LLMs), delivering real-time, accurate, and factual results at speed.Usage‚ÄãFor a full list of allowed arguments, see the official documentation. You can also pass any param to the SDK via a kwargs dictionary.# %pip install tavily-pythonimport osfrom langchain.retrievers.tavily_search_api import TavilySearchAPIRetrieveros.environ["TAVILY_API_KEY"] = "YOUR_API_KEY"retriever = TavilySearchAPIRetriever(k=4)retriever.invoke("what year was breath of the wild released?")    [Document(page_content='Nintendo Designer (s) Hidemaro Fujibayashi (director) Eiji Aonuma (producer/group manager) Release date (s) United States of America: ‚Ä¢ March 3, 2017 Japan: ‚Ä¢ March 3, 2017 Australia / New Zealand: ‚Ä¢ March 2, 2017 Belgium: ‚Ä¢ March 3, 2017 Hong Kong: ‚Ä¢ Feburary 1, 2018 South Korea: ‚Ä¢ February 1, 2018 The UK / Ireland: ‚Ä¢ March 3, 2017 Content ratings', metadata={'title': 'The Legend of Zelda: Breath of the Wild - Zelda Wiki', 'source': 'https://zelda.fandom.com/wiki/The_Legend_of_Zelda:_Breath_of_the_Wild', 'score': 0.96994, 'images': None}),     Document(page_content='02/01/23 Nintendo Switch Online member exclusive: Save on two digital