資料 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).