# Download an X (Twitter) Article and Images

**Use case:** 

Extract a public X Article with its title, full text, links, and author details, then save its cover and body images to Apify Storage.

## Input

```json
{
  "tweets": [
    "https://x.com/qinbafrank/status/2099834905891049885"
  ],
  "storeMediaFiles": true,
  "videoQuality": "highest",
  "imageQuality": "original"
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Message",
    "format": "string"
  },
  "tweet_id": {
    "label": "Tweet ID",
    "format": "string"
  },
  "tweet_url": {
    "label": "Tweet URL",
    "format": "string"
  },
  "created_at": {
    "label": "Created at",
    "format": "string"
  },
  "text": {
    "label": "Post text",
    "format": "string"
  },
  "is_article": {
    "label": "X Article post",
    "format": "boolean"
  },
  "article.title": {
    "label": "Article title",
    "format": "string"
  },
  "article.url": {
    "label": "Article URL",
    "format": "string"
  },
  "article.preview_text": {
    "label": "Article preview",
    "format": "string"
  },
  "article.cover_image_url": {
    "label": "Cover image",
    "format": "string"
  },
  "article.block_count": {
    "label": "Content blocks",
    "format": "integer"
  },
  "author.username": {
    "label": "Username",
    "format": "string"
  },
  "author.name": {
    "label": "Name",
    "format": "string"
  },
  "media_count": {
    "label": "Media count",
    "format": "integer"
  },
  "stored_media_count": {
    "label": "Stored media count",
    "format": "integer"
  },
  "store_media_files": {
    "label": "Media storage requested",
    "format": "boolean"
  },
  "media_types": {
    "label": "Media types",
    "format": "array"
  },
  "view_count": {
    "label": "Views",
    "format": "integer"
  },
  "like_count": {
    "label": "Likes",
    "format": "integer"
  },
  "retweet_count": {
    "label": "Reposts",
    "format": "integer"
  },
  "reply_count": {
    "label": "Replies",
    "format": "integer"
  },
  "quote_count": {
    "label": "Quotes",
    "format": "integer"
  },
  "bookmark_count": {
    "label": "Bookmarks",
    "format": "integer"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "translation_available": {
    "label": "Translation available",
    "format": "boolean"
  },
  "translated_text": {
    "label": "Translated text",
    "format": "string"
  },
  "source_name": {
    "label": "Source",
    "format": "string"
  },
  "author.followers_count": {
    "label": "Followers",
    "format": "integer"
  },
  "author.verified_type": {
    "label": "Verification type",
    "format": "string"
  },
  "author.blue_verified": {
    "label": "Blue verified",
    "format": "boolean"
  },
  "author.profile_url": {
    "label": "Profile URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The X (Twitter) Video & Media Downloader Actor is ready to run with the inputs already set for "Download an X (Twitter) Article and Images". [Sign up or log in](https://console.apify.com/create-task-from-example/0a0DyyXc8IaJrxepZ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download an X (Twitter) Article and Images" task

The X (Twitter) Video & Media Downloader Actor will start running based on the input automatically. You can also change all the input fields, like x post ids or urls, store media files, and more, to match your specific use case.

### 3. Receive the "Download an X (Twitter) Article and Images" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, message, tweet id, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Download an X (Twitter) Article and Images" task via API](https://apify.com/arjun_code/x-twitter-media-downloader.md).

## About this Actor

This example demonstrates how to use [X (Twitter) Video & Media Downloader](https://apify.com/arjun_code/x-twitter-media-downloader.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/arjun_code/x-twitter-media-downloader.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/arjun_code/x-twitter-media-downloader.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
