Felo API PlatformFelo API Platform

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