Extract(提取网页)
POST
/tavily/extractTavily是一家专注于AI搜索的公司,他们的搜索会为了LLM进行优化,以便于LLM进行数据检索。
官方文档:https://docs.tavily.com/docs/tavily-api/rest_api
价格:0.002PTC/URL
请求参数
Body Params application/json
api_key
string
required
API Key
Example
{
"api_key": "{{YOUR_API_KEY}}",
"urls": [
"https://en.wikipedia.org/wiki/Artificial_intelligence",
"https://en.wikipedia.org/wiki/Machine_learning",
"https://en.wikipedia.org/wiki/Data_science",
"https://en.wikipedia.org/wiki/Quantum_computing"
]
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
results
array [object {2}]
required
url
string
required
raw_content
string
required
failed_results
array[string]
required
response_time
number
required
Example
{
"results": [
{
"url": "string",
"raw_content": "string"
}
],
"failed_results": [
"string"
],
"response_time": 0
}
Last modified: 8 天前