# URL の整形された構造化コンテンツを取得します。

**API:** Data API

**Endpoint:** `POST /v1/beta/byteplus/fetch`

**Tags:** BytePlus

1 つの URL を取得し、整形された構造化ページコンテンツ（タイトル、本文、公開日時）を返します。`Url` は必須です。レスポンスは `ResponseMetadata.RequestId` と、解析済みコンテンツを含む `Result` オブジェクトでラップされます。すでに URL があるページの全文を取得するのに使い、通常は `post_byteplus_web_search` の結果と組み合わせます。

### 料金の参考情報

- 計測方法：成功リクエストあたりの固定コスト基準。
- 参考リクエスト見積もり：USD 0.0008。
- 参照用の顧客乗数：1.0。確定済みの顧客金額には再適用しないでください。

参考情報のメタデータであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Request body

Required: **yes**

### application/json

Schema:

```json
{
  "type": "object",
  "properties": {
    "Url": {
      "type": "string",
      "description": "取得する URL。必須です。",
      "example": "https://example.com"
    }
  },
  "required": [
    "Url"
  ]
}
```

Example:

```json
{
  "Url": "https://example.com"
}
```

## Responses

### 200 — 取得が正常に完了しました。`Result` に構造化されたページコンテンツが含まれます。

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "ResponseMetadata": {
      "type": "object",
      "description": "上流のリクエストメタデータ。",
      "properties": {
        "RequestId": {
          "type": "string",
          "description": "このリクエストの一意の識別子。"
        },
        "Action": {
          "type": "string"
        },
        "Version": {
          "type": "string"
        },
        "Service": {
          "type": "string"
        },
        "Region": {
          "type": "string"
        }
      }
    },
    "Result": {
      "type": "object",
      "description": "取得結果のペイロード。",
      "properties": {
        "Data": {
          "type": "object",
          "description": "構造化されたページコンテンツ。",
          "properties": {
            "StatusCode": {
              "type": "integer",
              "description": "取得したページの HTTP ステータスコード。"
            },
            "Url": {
              "type": "string",
              "description": "取得した URL。"
            },
            "Title": {
              "type": "string",
              "description": "ページタイトル。"
            },
            "PublishTime": {
              "type": "integer",
              "description": "検出された公開日時（Unix 秒、不明な場合は 0）。"
            },
            "ContentText": {
              "type": "string",
              "description": "ページから抽出した本文テキスト。"
            }
          }
        },
        "LogId": {
          "type": "string",
          "description": "上流のログ ID（ResponseMetadata.RequestId と等しい）。"
        }
      }
    }
  }
}
```

Example:

```json
{
  "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"
  }
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```
