Data API / BytePlus / Fetch
Fetch clean, structured content for a URL.
Fetch a single URL and return clean, structured page content — title, body text, and publish time. Url is required. The response wraps ResponseMetadata.RequestId and a Result object with the parsed content. Use it to extract full page content for URLs you already have, typically pairing it with post_byteplus_web_search results.
Параметры
Параметров пути, запроса и заголовков нет.
Тело запроса
UrlstringОбязательныйThe URL to fetch. Required.
Пример запроса
curl -X POST "https://openapi.felo.ai/v1/beta/byteplus/fetch" \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Url": "<string>"
}'Ответ
Поля ответа
ResponseMetadataobjectНеобязательныйUpstream request metadata.
RequestIdstringНеобязательныйUnique identifier for this request.
ActionstringНеобязательныйVersionstringНеобязательныйServicestringНеобязательныйRegionstringНеобязательныйResultobjectНеобязательныйFetch result payload.
DataobjectНеобязательныйStructured page content.
StatusCodeintegerНеобязательныйHTTP status code of the fetched page.
UrlstringНеобязательныйThe fetched URL.
TitlestringНеобязательныйPage title.
PublishTimeintegerНеобязательныйDetected publish time as Unix seconds (0 if unknown).
ContentTextstringНеобязательныйClean body text extracted from the page.
LogIdstringНеобязательныйUpstream log id (equals ResponseMetadata.RequestId).