# Ambil Balasan Tweet V2

**API:** Data API

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

**Tags:** Twitter / X

Ambil balasan menggunakan tweetId dan queryType. Kontrak ini tidak mendeklarasikan input kursor paginasi.

### Referensi harga

- Metering: Jumlah hasil terukur.
- Estimasi referensi per permintaan: USD 0.01095.
- Dasar biaya minimum: USD 0.00015.
- Pengali pelanggan referensi: 1.0. Jangan terapkan lagi pada jumlah pelanggan yang telah diselesaikan.
- Dasar biaya tidak menentukan harga pelanggan akhir, termasuk saat bernilai nol.

Hanya metadata referensi, bukan penawaran akun, harga yang dijamin, atau batas pengeluaran. Kredit sumber daya bukanlah kredit Felo. Biaya akhir mengikuti catatan tagihan 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 — Respons balasan tweet

Headers:
- `X-Request-Id` (string) — Pengenal permintaan yang harus disertakan saat menghubungi dukungan Felo.

**application/json**

Schema: object

```json
{
  "type": "object",
  "properties": {
    "has_next_page": {
      "type": "boolean",
      "description": "Menunjukkan apakah ada hasil lain yang tersedia"
    },
    "next_cursor": {
      "type": "string",
      "description": "Kursor untuk mengambil halaman hasil berikutnya"
    },
    "status": {
      "type": "string",
      "enum": [
        "success",
        "error"
      ],
      "example": "success",
      "description": "Status permintaan"
    },
    "tweets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseD8D8F324D259_Tweet"
      },
      "description": "Array tweet balasan."
    },
    "msg": {
      "type": "string",
      "description": "Pesan error jika status bernilai error."
    }
  }
}
```

### 400 — Permintaan tidak dapat diproses. Periksa parameter permintaan.

### 401 — Kunci API Felo yang valid diperlukan.

### 402 — Permintaan tidak dapat dilanjutkan karena persyaratan penagihan belum terpenuhi.

### 403 — Akun tidak diizinkan melakukan operasi ini.

### 429 — Batas permintaan atau batas pengeluaran telah tercapai.

### 502 — Layanan tidak dapat menyelesaikan permintaan.

### 503 — API atau layanan penagihan untuk sementara tidak tersedia.

### 504 — Layanan kehabisan waktu saat memproses permintaan.

### default — Respons error; respons passthrough upstream dapat menggunakan format penyedia

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseD8D8F324D259_Tweet

`#/components/schemas/ResponseD8D8F324D259_Tweet`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "description": "ID tweet"
    },
    "url": {
      "type": "string",
      "description": "URL tweet"
    },
    "text": {
      "type": "string",
      "description": "Teks tweet"
    },
    "source": {
      "type": "string",
      "description": "Klien sumber tweet"
    },
    "retweetCount": {
      "type": "integer"
    },
    "replyCount": {
      "type": "integer"
    },
    "likeCount": {
      "type": "integer"
    },
    "quoteCount": {
      "type": "integer"
    },
    "viewCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "description": "Tanggal dan waktu tweet dibuat"
    },
    "lang": {
      "type": "string",
      "description": "Bahasa tweet"
    },
    "bookmarkCount": {
      "type": "integer"
    },
    "isReply": {
      "type": "boolean"
    },
    "inReplyToId": {
      "type": "string"
    },
    "conversationId": {
      "type": "string"
    },
    "inReplyToUserId": {
      "type": "string"
    },
    "inReplyToUsername": {
      "type": "string"
    },
    "isLimitedReply": {
      "type": "boolean",
      "description": "Apakah tweet merupakan balasan terbatas"
    }
  }
}
```
