Request
Body Params application/json
{
"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"
]
}
Request samples
curl --location --request POST 'https://api.302.ai/tavily/extract' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key": "sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO",
"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
application/json results
array [object {2}]
requiredfailed_results
array[string]
required{
"results": [
{
"url": "string",
"raw_content": "string"
}
],
"failed_results": [
"string"
],
"response_time": 0
}
Modified at 2024-11-19 09:26:40