
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "valyu",
"path": "/v1/search",
"method": "POST",
"body": {
"query": ""
}
}'
$0.01per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
About this endpoint
Reference for the Valyu Search endpoint to search the web, research, and proprietary datasets via POST /v1/search.
Body parameters
queryrequiredstringThe query string for the searchmax_num_resultsintegerMaximum number of results to return (1-20 for standard API keys, up to 100 with a special API key)search_typeenum<string>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.fast_modebooleanEnable fast mode for reduced latency but shorter results. Best for general purpose queries.max_pricenumber<float>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.relevance_thresholdnumber<float>Minimum relevance score for results (0.0-1.0)included_sourcesstringList 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').excluded_sourcesstringList 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').categorystringNatural language category/guide phrase to help guide the search to the most relevant content. For example 'agentic use-casesresponse_lengthdefault:shortControls 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)country_codestring2-letter ISO country code to bias search results to a specific countryis_tool_callbooleanTunes retrieval process based on whether the API is being called by an AI agent as a tool call, or a user query.start_datestring<date>Start date for time-filtered searches (YYYY-MM-DD)end_datestring<date>End date for time-filtered searches (YYYY-MM-DD)url_onlybooleanWhen set to true, only returns URLs for results (no content). Only applies when search_type is 'web' or 'news'.More from Valyu
- Get StatusGET/v1/deepresearch/tasks/{id}/status$0.01 per callFixed
- Get Batch StatusGET/v1/deepresearch/batches/{id}$0.01 per callFixed
- Create TaskPOST/v1/deepresearch/tasks$0.01 per callFixed
- AnswerPOST/v1/answer$0.01 per callFixed
- Add Tasks to BatchPOST/v1/deepresearch/batches/{id}/tasks$0.01 per callFixed
- Cancel BatchPOST/v1/deepresearch/batches/{id}/cancel$0.01 per callFixed
- Update TaskPOST/v1/deepresearch/tasks/{id}/update$0.01 per callFixed
- Cancel TaskPOST/v1/deepresearch/tasks/{id}/cancel$0.01 per callFixed
- Delete TaskDELETE/v1/deepresearch/tasks/{id}/delete$0.01 per callFixed
- Create BatchPOST/v1/deepresearch/batches$0.01 per callFixed
- ContentsPOST/v1/contents$0.01 per callFixed
- List Batch TasksGET/v1/deepresearch/batches/{id}/tasks$0.01 per callFixed