Skip to main content
Use @tavily/core to call Tavily Search, Extract, and Crawl from your JavaScript and TypeScript programs. For every method and parameter, see the JavaScript 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 JavaScript SDK supports the full feature range of our REST API. Our JavaScript client is asynchronous by default.
  • 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.

Resources

GitHub

/tavily-ai/tavily-jsGitHub Repo stars

NPM

@tavily/corenpm downloads