@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:Features
Our JavaScript SDK supports the full feature range of our REST API. Our JavaScript client is asynchronous by default.- The
searchfunction lets you harness the full power of Tavily Search. - The
extractfunction allows you to easily retrieve web content with Tavily Extract.
Resources
GitHub
/tavily-ai/tavily-jsNPM
@tavily/core