# ユーザーのツイートタイムラインを取得

**API:** Data API

**Endpoint:** `GET /v1/beta/twitter/user/tweet_timeline`

**Tags:** Twitter / X

ドキュメントに記載されたタイムライン入力を使用して、ユーザーの公開ツイートを取得します。宣言されたリクエストとレスポンスのフィールドに従ってください。メンションのエンドポイントは別の契約であり、この操作に時間範囲のフィルタリングを追加しません。

### 料金の参考情報

- 計測方法：結果件数単位で計測。
- 参考リクエスト見積もり：0.0057 USD。
- 最小コスト基準：USD 0.00015。
- 参照用の顧客乗数：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`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `cursor` | query | no | string |  |
| `includeParentTweet` | query | no | string |  |
| `includeReplies` | query | no | string |  |
| `userId` | query | no | string |  |
| `userName` | query | no | string | X username (the part after @), for example OpenAI. |

## Responses

### 200 — ユーザーのツイートタイムライン

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

**application/json**

Schema: `ResponseAd3D19335Ae4_UserTweetsResponse` (`#/components/schemas/ResponseAd3D19335Ae4_UserTweetsResponse`)

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

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

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

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

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

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

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

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

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

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseAd3D19335Ae4_UserTweetsResponse

`#/components/schemas/ResponseAd3D19335Ae4_UserTweetsResponse`

```json
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success",
        "error"
      ]
    },
    "code": {
      "type": "integer",
      "description": "プロバイダーのステータスコード。"
    },
    "msg": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "tweets": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true,
            "description": "X が返すツイートオブジェクト。"
          }
        },
        "pin_tweet": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "has_next_page": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
```
