Authorizations
Your Valyu API key. Get one at platform.valyu.network
Body
The search query
"latest developments in quantum computing"
Custom instructions for AI processing
2000
"Focus on practical applications and commercial impact"
JSON schema for structured output. When provided, enables JSON mode and returns structured data
Type of search to perform
all
, web
, proprietary
"all"
Enable fast mode for reduced latency but shorter results. Best for general purpose queries.
true
Maximum price in dollars for a thousand retrievals (CPM) for search data only (does not affect AI costs)
x >= 0
30
List of specific sources to search (URLs, domains or dataset names). When a URL or domain path is provided (e.g., 'https://valyu.network/blog' or 'valyu.network/blog'), only that specific path will be searched. For entire domains, use either the domain name (e.g., 'valyu.network') or the base URL (e.g., 'https://valyu.network').
[
"https://docs.aws.amazon.com/",
"techcrunch.com/news",
"valyu/valyu-arxiv"
]
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.network/blog' or 'valyu.network/blog'), only that specific path will be excluded. For entire domains, use either the domain name (e.g., 'valyu.network') or the base URL (e.g., 'https://valyu.network').
[
"https://news.ycombinator.com/",
"github.com/valyu",
"valyu/valyu-pubmed"
]
Start date filter (YYYY-MM-DD)
"2024-01-01"
End date filter (YYYY-MM-DD)
"2024-12-31"
2-letter ISO country code to bias search results to a specific country
"US"
Response
Successful AI processing
Whether the request was successful
true
AI transaction ID
"ai_tx_12345-abcd-efgh"
The original search query
"latest developments in quantum computing"
AI-processed response content AI-generated text response (when data_type is unstructured)
"Based on the latest research findings, quantum computing has made significant breakthroughs in 2024..."
Type of response data
unstructured
, structured
"unstructured"
Simplified search results used for AI processing
Search transaction metadata
AI token usage information
Cost breakdown information