# Pobierz artykuł

**API:** Data API

**Endpoint:** `GET /v1/beta/twitter/article`

**Tags:** Twitter / X

Pobiera pełną treść artykułu X (długiego wpisu) na podstawie jego identyfikatora tweeta. Używaj, gdy tweet linkuje do artykułu lub sam jest artykułem, a podgląd 280 znaków nie wystarcza — zwracany jest pełny tekst zamiast skróconego tweeta. Artykuł jest zwracany w `article`. W przypadku zwykłych tweetów użyj `get_twitter_tweets`.

### Cennik referencyjny

- Rozliczanie: stała podstawa kosztu za udane żądanie.
- Szacunek referencyjny dla żądania: USD 0.001.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.

Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi 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 |
| --- | --- | --- | --- | --- |
| `tweet_id` | query | no | string |  |

## Responses

### 200 — Pomyślna odpowiedź

Headers:
- `X-Request-Id` (string) — Identyfikator żądania do podania podczas kontaktu z pomocą techniczną Felo.

**application/json**

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

### 400 — Nie można przetworzyć żądania. Sprawdź parametry żądania.

### 401 — Wymagany jest prawidłowy klucz API Felo.

### 402 — Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.

### 403 — Konto nie ma uprawnień do wykonania tej operacji.

### 429 — Osiągnięto limit żądań lub wydatków.

### 502 — Usługa nie mogła ukończyć żądania.

### 503 — API lub usługa rozliczeniowa jest tymczasowo niedostępna.

### 504 — Upłynął limit czasu usługi podczas przetwarzania żądania.

### default — Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy

**application/json**

Schema:

```json
{}
```

## Schema definitions

### ResponseCbc4F8806E32_Article

`#/components/schemas/ResponseCbc4F8806E32_Article`

```json
{
  "type": "object",
  "properties": {
    "author": {
      "$ref": "#/components/schemas/ResponseCbc4F8806E32_User"
    },
    "replyCount": {
      "type": "integer"
    },
    "likeCount": {
      "type": "integer"
    },
    "quoteCount": {
      "type": "integer"
    },
    "viewCount": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "preview_text": {
      "type": "string"
    },
    "cover_media_img_url": {
      "type": "string"
    },
    "contents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

### ResponseCbc4F8806E32_ArticleResponse

`#/components/schemas/ResponseCbc4F8806E32_ArticleResponse`

```json
{
  "type": "object",
  "properties": {
    "article": {
      "$ref": "#/components/schemas/ResponseCbc4F8806E32_Article"
    },
    "status": {
      "type": "string",
      "enum": [
        "success",
        "failed"
      ]
    },
    "msg": {
      "type": "string"
    }
  }
}
```

### ResponseCbc4F8806E32_User

`#/components/schemas/ResponseCbc4F8806E32_User`

```json
{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "userName": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "isBlueVerified": {
      "type": "boolean"
    },
    "verifiedType": {
      "type": "string"
    },
    "profilePicture": {
      "type": "string"
    },
    "coverPicture": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "location": {
      "type": "string"
    },
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    },
    "canDm": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string"
    },
    "favouritesCount": {
      "type": "integer"
    },
    "hasCustomTimelines": {
      "type": "boolean"
    },
    "isTranslator": {
      "type": "boolean"
    },
    "mediaCount": {
      "type": "integer"
    },
    "statusesCount": {
      "type": "integer"
    },
    "withheldInCountries": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "possiblySensitive": {
      "type": "boolean"
    },
    "pinnedTweetIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "isAutomated": {
      "type": "boolean"
    },
    "automatedBy": {
      "type": "string"
    },
    "unavailable": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "unavailableReason": {
      "type": "string"
    }
  }
}
```
