Felo API PlatformFelo API Platform

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