Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Fetch clean, structured content for a URL.

服务器:https://openapi.felo.ai
客户端库

BytePlus

​

Web search and page content retrieval.

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.

请求体
必填
application/json
  • Url
    类型: string
    必填

    The URL to fetch. Required.

响应
  • 200
    类型: object

    Fetch completed successfully. Result holds the structured page content.

    • ResponseMetadata
      类型: object

      Upstream request metadata.

      • Action
        类型: string
      • Region
        类型: string
      • RequestId
        类型: string

        Unique identifier for this request.

      • Service
        类型: string
      • Version
        类型: string
    • Result
      类型: object

      Fetch result payload.

      • Data
        类型: object

        Structured page content.

        • ContentText
          类型: string

          Clean body text extracted from the page.

        • PublishTime
          类型: integer

          Detected publish time as Unix seconds (0 if unknown).

        • StatusCode
          类型: integer

          HTTP status code of the fetched page.

        • Title
          类型: string

          Page title.

        • Url
          类型: string

          The fetched URL.

      • LogId
        类型: string

        Upstream log id (equals ResponseMetadata.RequestId).

    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/byteplus/fetch
curl https://openapi.felo.ai/v1/beta/byteplus/fetch \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "Url": "https://example.com"
}'
{
  "ResponseMetadata": {
    "RequestId": "20260904155514D7EA140BFD77348BC3FC",
    "Action": "",
    "Version": "",
    "Service": "",
    "Region": ""
  },
  "Result": {
    "Data": {
      "StatusCode": 200,
      "Url": "https://example.com",
      "Title": "Example Domain",
      "PublishTime": 0,
      "ContentText": "This domain is for use in documentation examples without needing permission. Avoid use in operations.\nLearn more"
    },
    "LogId": "20260904155514D7EA140BFD77348BC3FC"
  }
}
Fetch clean, structured content for a URL.