数据 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).