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