Information
1from tavily import TavilyClient2tavily_client = TavilyClient(api_key="tvly-YOUR_API_KEY")3response = tavily_client.search("Who is Leo Messi?")4print(response) 1 from tavily import TavilyClient 2 tavily_client = TavilyClient ( api_key = "tvly-YOUR_API_KEY" ) 3 response = tavily_client . search ( "Who is Leo Messi?" ) 4 print ( response ) 1const { tavily } = require('@tavily/core');2const tvly = tavily({ apiKey: "tvly-YOUR_API_KEY" });3tvly.search("Who is Leo Messi?")4 .then(results => console.log(results)); 1 const { tavily } = require ( '@tavily/core' ) ; 2 const tvly = tavily ( { apiKey : "tvly-YOUR_API_KEY" } ) ; 3 tvly . search ( "Who is Leo Messi?" ) 4 . then ( results => console . log ( results ) ) ; 1curl -X POST 'https://api.tavily.com/search' \2 -H 'Content-Type: application/json' \3 -H 'Authorization: Bearer tvly-YOUR_API_KEY' \4 -d '{"query": "Who is Leo Messi?"}' 1 curl -X POST 'https://api.tavily.com/search' \ 2 -H 'Content-Type: application/json' \ 3 -H 'Authorization: Bearer tvly-YOUR_API_KEY' \ 4 -d '{"query": "Who is Leo Messi?"}' DeepLearning.AI Free / Month $0.008 / Credit $30 / Month Custom What is Tavily Search API? How is Tavily Search API different from other APIs? What are the key advantages of using Tavily Search API? Purpose-built for AI: Customizable: Real-time: Easy Integration: Scalable: How does Tavily ensure the accuracy of its information? How fast is Tavily Search API? Can I test Tavily Search API before subscribing to a paid plan? Does Tavily Search API provide citations for its results? What is GPT Researcher, and how does it relate to Tavily? What level of support does Tavily provide? When do my monthly API credits reset? Where can I find your privacy policy?