
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "tavily",
"path": "/search",
"method": "POST",
"body": {
"query": ""
}
}'
{
"success": true,
"data": {
"query": "{query}",
"answer": null,
"images": [],
"results": [ 1 item ],
"request_id": "{request_id}",
"response_time": 1,
"follow_up_questions": null
}
}
Example values, built from the documented fields.
The price changes with the values you send.
from$0.01per call
Request-basedThe price depends on what you send. You see it before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
100% success · 2,810 ms median · 30 days
About this endpoint
Execute a search query using Tavily Search.
Body parameters
queryrequiredstringThe search query to execute with Tavily.search_depthenum<string>Controls the latency vs. relevance tradeoff and how results[].content is generated: advanced: Highest relevance with increased latency. Best for detailed, high-precision queries. Returns multiple semantically relevant snippets per URL (configurable via chunks_per_source). basic: A balanced option for relevance and latency. Ideal for general-purpose searches. Returns one NLP summary per URL. fast: Prioritizes lower latency while maintaining good relevance. Returns multiple semantically relevant snippets per URL (configurable via chunks_per_source). ultra-fast: Minimizes latency above all else. Best for time-critical use cases. Returns one NLP summary per URL. Cost: basic, fast, ultra-fast: 1 API Credit advanced: 2 API Credits See Search Best Practices for guidance on choosing the right search depth. Default basic. On Orthogonal: advanced $0.02, every other depth $0.01 per request.chunks_per_sourceintegerChunks are short content snippets (maximum 500 characters each) pulled directly from the source. Use chunks_per_source to define the maximum number of relevant chunks returned per source and to control the content length. Chunks will appear in the content field as: <chunk 1> [...] <chunk 2> [...] <chunk 3>. Available only when search_depth is advanced.max_resultsintegerThe maximum number of search results to return (default 10, max 20). Does not change the price.topicenum<string>The category of the search.news is useful for retrieving real-time updates, particularly about politics, sports, and major current events covered by mainstream media sources. general is for broader, more general-purpose searches that may include a wide range of sources.time_rangeenum<string>The time range back from the current date to filter results based on publish date or last updated date. Useful when looking for sources that have published or updated data.start_datestringWill return all results after the specified start date based on publish date or last updated date. Required to be written in the format YYYY-MM-DDend_datestringWill return all results before the specified end date based on publish date or last updated date. Required to be written in the format YYYY-MM-DDinclude_answerbooleanInclude an LLM-generated answer to the provided query. basic or true returns a quick answer. advanced returns a more detailed answer.include_raw_contentbooleanInclude the cleaned and parsed HTML content of each search result. markdown or true returns search result content in markdown format. text returns the plain text from the results and may increase latency.include_imagesbooleanAlso perform an image search and include the results in the response.include_image_descriptionsbooleanWhen include_images is true, also add a descriptive text for each image.include_faviconbooleanWhether to include the favicon URL for each result.include_domainsstringA list of domains to specifically include in the search results. Maximum 300 domains.exclude_domainsstringA list of domains to specifically exclude from the search results. Maximum 150 domains.countryenum<string>Boost search results from a specific country. This will prioritize content from the selected country in the search results. Available only if topic is general.auto_parametersbooleanWhen auto_parameters is enabled, Tavily automatically configures search parameters based on your query's content and intent. You can still set other parameters manually, and your explicit values will override the automatic ones. The parameters include_answer, include_raw_content, and max_results must always be set manually, as they directly affect response size. Note: search_depth may be automatically set to advanced when it's likely to improve results. This uses 2 API credits per request. To avoid the extra cost, you can explicitly set search_depth to basic. On Orthogonal, auto_parameters: true is priced at $0.02 per request.Response types
querystringimagesarrayrequest_idstringresponse_timenumber