
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "tavily",
"path": "/extract",
"method": "POST",
"body": {
"urls": [
""
]
}
}'
{
"success": true,
"data": {
"results": [],
"request_id": "{request_id}",
"response_time": 1,
"failed_results": [ 1 item ]
}
}
Example values, built from the documented fields.
The final charge depends on what comes back. It shows after Run.
$0.01per 5 results returned
Response-basedYou pay for what comes back, never more than the price shown before you run.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
100% success · 1,148 ms median · 30 days
About this endpoint
Extract web page content from one or more specified URLs using Tavily Extract.
Body parameters
urlsrequiredstringThe URLs to extract content from (1-20 per request). The price is per started 5 URLs.querystringUser intent for reranking extracted content chunks. When provided, chunks are reranked based on relevance to this query.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 raw_content length. Chunks will appear in the raw_content field as: <chunk 1> [...] <chunk 2> [...] <chunk 3>. Available only when query is provided. Must be between 1 and 5.extract_depthenum<string>The depth of the extraction process. advanced extraction retrieves more data, including tables and embedded content, with higher success but may increase latency.basic extraction costs 1 credit per 5 successful URL extractions, while advanced extraction costs 2 credits per 5 successful URL extractions. Default basic. On Orthogonal: basic $0.01, advanced $0.02 per started 5 URLs.include_imagesbooleanInclude a list of images extracted from the URLs in the response. Default is false.include_faviconbooleanWhether to include the favicon URL for each result.formatenum<string>The format of the extracted web page content. markdown returns content in markdown format. text returns plain text and may increase latency.timeoutnumberMaximum time in seconds to wait for the URL extraction before timing out. Must be between 1.0 and 60.0 seconds. If not specified, default timeouts are applied based on extract_depth: 10 seconds for basic extraction and 30 seconds for advanced extraction.Response types
resultsarrayrequest_idstringresponse_timenumber