# 获取推文回复 V2

**API:** Data API

**Endpoint:** `GET /v1/beta/twitter/tweet/replies/v2`

**Tags:** Twitter / X

使用 tweetId 和 queryType 检索回复。本契约未声明分页游标输入。

### 计费参考

- 计量方式：按结果数量计量。
- 参考请求估算：0.01095 美元。
- 最低成本基准：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 |
| --- | --- | --- | --- | --- |
| `queryType` | query | no | string |  |
| `tweetId` | query | no | string |  |

## Responses

### 200 — 推文回复响应

Headers:
- `X-Request-Id` (string) — 联系 Felo 支持时需提供的请求标识符。

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "has_next_page": {
      "type": "boolean",
      "description": "表示是否还有更多结果"
    },
    "next_cursor": {
      "type": "string",
      "description": "用于获取下一页结果的游标"
    },
    "status": {
      "type": "string",
      "enum": [
        "success",
        "error"
      ],
      "example": "success",
      "description": "请求状态"
    },
    "tweets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseD8D8F324D259_Tweet"
      },
      "description": "回复推文数组。"
    },
    "msg": {
      "type": "string",
      "description": "status 为 error 时的错误消息。"
    }
  }
}
```

### 400 — 无法处理该请求。请检查请求参数。

### 401 — 需要有效的 Felo API 密钥。

### 402 — 由于未满足计费要求，请求无法继续。

### 403 — 该账户无权执行此操作。

### 429 — 已达到请求或支出限额。

### 502 — 服务无法完成该请求。

### 503 — API 或计费服务暂时不可用。

### 504 — 服务在处理请求时超时。

### default — 错误响应；上游透传响应可能采用提供方格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseD8D8F324D259_Tweet

`#/components/schemas/ResponseD8D8F324D259_Tweet`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "推文的 ID"
    },
    "url": {
      "type": "string",
      "description": "推文的 URL"
    },
    "text": {
      "type": "string",
      "description": "推文文本"
    },
    "source": {
      "type": "string",
      "description": "推文的来源客户端"
    },
    "retweetCount": {
      "type": "integer"
    },
    "replyCount": {
      "type": "integer"
    },
    "likeCount": {
      "type": "integer"
    },
    "quoteCount": {
      "type": "integer"
    },
    "viewCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "description": "推文的创建日期和时间"
    },
    "lang": {
      "type": "string",
      "description": "推文的语言"
    },
    "bookmarkCount": {
      "type": "integer"
    },
    "isReply": {
      "type": "boolean"
    },
    "inReplyToId": {
      "type": "string"
    },
    "conversationId": {
      "type": "string"
    },
    "inReplyToUserId": {
      "type": "string"
    },
    "inReplyToUsername": {
      "type": "string"
    },
    "isLimitedReply": {
      "type": "boolean",
      "description": "推文是否为受限回复"
    }
  }
}
```
