Skip to main content
Use tavily-python to call Tavily Search, Extract, Crawl, and Map from your Python programs. For every method and parameter, see the Python SDK reference.
1

Get an API key

Get a free Tavily API key. You get 1,000 free API credits every month, and no credit card is required.
2

Install the SDK

3

Make your first search

More examples

Extract content from URLs:
Run a smart crawl starting at a given URL:

Features

Our Python SDK supports the full feature range of our REST API, and more. We offer both a synchronous and an asynchronous client, for increased flexibility.
  • The search function lets you harness the full power of Tavily Search.
  • The extract function allows you to easily retrieve web content with Tavily Extract.
  • The crawl and map functions allow you to intelligently traverse websites and extract content.
For more details, head to the Python SDK Reference.

Resources

GitHub

/tavily-ai/tavily-pythonGitHub Repo stars

PyPI

tavily-pythonPyPI downloads