# Archive Public X Posts as Evidence With Source Links

**Use case:** 

Create PNG screenshots of public X posts for researchers, journalists and compliance teams, with source URLs and capture timestamps for visual records. Each result includes capture status, image dimensions, filename and download link; enable includeMetadata for post IDs and URLs. Set postUrls to choose the posts to capture.

## Input

```json
{
  "postUrls": [
    "https://x.com/NASA/status/2107095768821576019"
  ],
  "profileUrls": [
    "https://x.com/apify",
    "apify"
  ],
  "captureMode": "postCard",
  "theme": "dark",
  "fullPage": false,
  "hideReplies": true,
  "includeMetadata": true,
  "format": "png",
  "quality": 90,
  "deviceScaleFactor": "2x",
  "viewportWidth": 1440,
  "viewportHeight": 900
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "targetUrl": {
    "label": "Target URL",
    "format": "string"
  },
  "captureMode": {
    "label": "Capture mode",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "width": {
    "label": "Width",
    "format": "number"
  },
  "height": {
    "label": "Height",
    "format": "number"
  },
  "fileSizeBytes": {
    "label": "File size",
    "format": "number"
  },
  "filename": {
    "label": "File name",
    "format": "string"
  },
  "downloadUrl": {
    "label": "Download URL",
    "format": "string"
  },
  "capturedAt": {
    "label": "Captured at",
    "format": "string"
  }
}
```

## How it works

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

The Twitter (X) Screenshot Generator Actor is ready to run with the inputs already set for "Archive Public X Posts as Evidence With Source Links". [Sign up or log in](https://console.apify.com/create-task-from-example/HbreE6N1XI3l8mCSp) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Archive Public X Posts as Evidence With Source Links" task

The Twitter (X) Screenshot Generator Actor will start running based on the input automatically. You can also change all the input fields, like x post links, ids or usernames, x profile links or usernames, and more, to match your specific use case.

### 3. Receive the "Archive Public X Posts as Evidence With Source Links" 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 row type, target url, capture mode, 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 "Archive Public X Posts as Evidence With Source Links" task via API](https://apify.com/nimbryxo-studio/twitter-x-screenshot-generator.md).

## FAQ

### What do I need to capture an X post?

Give the public X screenshot task an x.com or twitter.com post link, a numeric post ID, or a profile link or username; each post link produces one post card in postCard mode.

### What information comes with an X post screenshot?

Each result from the public X screenshot task includes capture status, image dimensions, filename, file size, download link and capture time; with details enabled, it also includes the post ID, URL, author handle and text snippet.

### How many X posts can I capture in one run?

The public X screenshot task accepts a list of post links, IDs or usernames and makes one capture per link; the provided input has one post URL.

### How do I get sharper X post screenshots?

The public X screenshot task is set to 2x pixel density, which doubles the image dimensions on each side; the saved width and height are reported in the results.

### How much does it cost to capture X posts?

The public X screenshot task costs $0.10 per start and $0.99 per 1,000 results on the Free plan, plus Apify platform compute usage; prices vary by plan.

### Can I schedule regular captures of public X posts?

You can schedule the public X screenshot task with Apify Schedules, run it through the Apify API, or connect it through integrations such as Zapier, Make and n8n.

## About this Actor

This example demonstrates how to use [Twitter (X) Screenshot Generator](https://apify.com/nimbryxo-studio/twitter-x-screenshot-generator.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/nimbryxo-studio/twitter-x-screenshot-generator.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/nimbryxo-studio/twitter-x-screenshot-generator.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`).
