
Getting Started Guide
How to Use Tavily
A practical guide to get you up and running with Tavily. Written by Delv Editorial, Delv Team.
Getting started with Tavily
In this guide, you'll learn how to set up Tavily and make your first API call to retrieve web data optimised for AI applications. You’ll be able to integrate real-time web information into your projects quickly and efficiently.Step 1: Sign up and set up
- Go to tavily.com.
- Click on the “Get Started Free” button on the homepage.
- Fill in your details to create an account. You’ll receive a confirmation email; click the link to verify your account.
- Log in to your Tavily dashboard. Here, you can find your API key under the “API Keys” section.
Step 2: Your first API call
- Open your preferred API testing tool (like Postman or curl).
- Set the request type to GET.
- Enter the following URL in the request field:
https://api.tavily.com/search. - In the headers, add a new key:
Authorizationwith the valueBearer YOUR_API_KEY(replaceYOUR_API_KEYwith the key you obtained in Step 1). - In the query parameters, add:
query: Your search term (e.g., latest AI trends).
- Click on “Send” to execute the request. You should receive a JSON response with relevant web data.
Step 3: Get better results
- To refine your search, consider using additional query parameters, such as:
max_results: Define the maximum number of results you want (e.g., 10).
- language: Specify a language code (e.g., en for English).
- Experiment with different search terms and parameters to see how the results change. This will help you understand what yields the best data for your needs.