Valyu API
Valyu API
Tool
valyu_search
Reference for the Valyu Search endpoint to search the web, research, and proprietary datasets via POST /v1/search.
Pricing
Per call
$0.02
Model
flat
Pay only for what you use. No subscriptions.
Inputs
end_date
stringmax_num_results
integerfast_mode
booleanquery *
stringrelevance_threshold
stringsearch_type
stringresponse_length
stringcountry_code
stringmax_price
stringurl_only
booleanis_tool_call
booleanincluded_sources
arrayexcluded_sources
arraycategory
stringstart_date
stringTry It
API
MCP Config
Input Parameters
End date for time-filtered searches (YYYY-MM-DD)
Maximum number of results to return (1-20 for standard API keys, up to 100 with a special API key)
The query string for the search
Minimum relevance score for results (0.0-1.0)
Type of search to perform.'web' searches and returns web content. 'proprietary' uses Valyu's full-text multimodal indicies (arxiv/pubmed/proprietary academic content). 'news' searches and returns only news articles.
Controls the length of content returned per result. Can be an integer for character count or predefined values: 'short' (25k), 'medium' (50k), 'large' (100k), 'max' (full)
2-letter ISO country code to bias search results to a specific country
Maximum price in dollars for a thousand retrievals (CPM). Only applies when provided. If not provided, adjusts automatically based on search type and max number of results.
List of specific sources to search (URLs, domains or dataset names). When a URL or domain path is provided (e.g., 'https://valyu.ai/blog' or 'valyu.ai/blog'), only that specific path will be searched. For entire domains, use either the domain name (e.g., 'valyu.ai') or the base URL (e.g., 'https://valyu.ai').
List of specific sources to exclude from search (URLs, domains, or dataset names). When a URL or domain path is provided (e.g., 'https://valyu.ai/blog' or 'valyu.ai/blog'), only that specific path will be excluded. For entire domains, use either the domain name (e.g., 'valyu.ai') or the base URL (e.g., 'https://valyu.ai').
Natural language category/guide phrase to help guide the search to the most relevant content. For example 'agentic use-cases
Start date for time-filtered searches (YYYY-MM-DD)

