Valyu API
Valyu API
Tool
valyu_answer
Reference for the Valyu Answer endpoint that blends search results into AI-generated answers via POST /v1/answer.
Pricing
Per call
$0.02
Model
flat
Pay only for what you use. No subscriptions.
Inputs
end_date
stringcountry_code
stringstreaming
booleanfast_mode
booleandata_max_price
numberquery *
stringincluded_sources
arrayexcluded_sources
arraystructured_output
objectsystem_instructions
stringsearch_type
stringstart_date
stringTry It
API
MCP Config
Input Parameters
End date filter (YYYY-MM-DD)
2-letter ISO country code to bias search results to a specific country
Maximum price in dollars for data retrieval (search costs only, does not affect AI costs)
The search query
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').
JSON schema for structured output. When provided, enables JSON mode and returns structured data
Custom instructions for AI processing
Type of search to perform
Start date filter (YYYY-MM-DD)

