Get your free Valyu API key
Head to the Valyu Platform and sign in (or create an account). Then, copy one of your API keys from your dashboard.Get your free API key
You get over 1000 free query retrievals. No credit card required.
Install Valyu
Install the Valyu SDK in your language of choice.Start searching with Valyu
Basic Search
Run your first Valyu Search in 4 lines of code. Simply replace the API key in this snippet with your own:Advanced Search
Content Extraction
Turn any web page into clean markdown (or structured data) using the Contents API:For structured extraction with JSON Schemas or AI summaries, see the
Content Extraction Guide and the
Contents API reference.
Use Cases
Academic Research Data
Access millions of research papers and academic content with full-text search:Financial Market Data
Want financial data? Just ask in plain English - we’ll figure it out:Our natural language processing is so good, it even understands queries like
”$$$$$ of larry and Sergey brins companie. on fr week commencing 5th hune on
the 21st century” 🤯 (Yes, that means “Google stock price for Friday June 5th,
2021” - we’re that good!)
Advanced Features
Deep Research
Search across proprietary academic papers, financial data, and more with
search_type="proprietary"
Web Intelligence
Get smart web search results that are actually relevant with
search_type="web"
Cost Control
Set
max_price
to control costs for a thousand queries (CPM). Only pay for
what you use!Quality Filtering
Use
relevance_threshold
to ensure only relevant resultsNext Steps
Python SDK
Detailed Python SDK documentation
TypeScript SDK
Detailed TypeScript SDK documentation
API Reference
Full API specification
Tips and Tricks
How to get the best results from the Valyu API
Prompting Guide
Learn how to craft effective prompts for optimal search results
MCP Integration
Power your MCP agents with enriched context