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