データ 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).