Skip to main content
The Valyu TypeScript SDK gives you search, content extraction and DeepResearch through one API.

Install

Authenticate

Get your API key from the Valyu Platform. Accounts get 2,000 free credits a month with a work email (1,000 with a personal email; add a card after your first month to keep them coming). The SDK reads VALYU_API_KEY from the environment automatically:

First call

Check success before reading Search results. Other methods have endpoint-specific response types; streaming methods return chunks, and wait helpers may raise errors.

APIs

Search

Search web and specialist sources

Contents

Extract and process web content

DeepResearch

Autonomous async research reports
For source discovery, see Datasources. For research workflows, see batch tasks and review checkpoints.
For multi-step synthesis or cited reports, reach for DeepResearch. Use Search when your application should own query planning and synthesis.

Support