# Twitter Transcripts Scraper (`icoe-man/twitter-transcripts-scraper`) Actor

A twitter video transcript scraper: get the spoken text of a public X (Twitter) video post as a machine-generated transcript. Export JSON, CSV or Excel.

- **URL**: https://apify.com/icoe-man/twitter-transcripts-scraper.md
- **Developed by:** [Icoe Man](https://apify.com/icoe-man) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $22.50 / 1,000 post transcripts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Twitter Transcripts Scraper

Get a table of transcripts from public X (Twitter) videos that you can download or use in other tools. Paste the post links, and the Actor automatically turns the spoken words into text.

### What you get

Enter up to 100 post links in **Post links**. The Actor collects up to 1 public transcript for each post link with **Result limit per post link** at its default setting, which is also the highest setting. Each transcript gets its own row in the results table. Choose **Live** under **Data freshness** to collect fresh data on every run.

### Ways to use the data

- Content reuse: Start your next article, caption or summary with the transcript.
- Quote finding: Search the transcript for a specific quote without replaying the video.
- Accessibility: Share a text version with people who can't hear the audio.
- Topic research: Compare what different videos say about the same subject.

### What to enter

| Field key | Name on the form | What to enter |
| --- | --- | --- |
| `postUrls` | Post links | Paste full links to X (Twitter) posts with video, such as https://x.com/NatGeo/status/2110807923106386140. Shortened links won't work. |
| `maxItems` | Result limit per post link | Enter the maximum number of results to collect for each post link. |
| `freshness` | Data freshness | Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run. |

Example input:

```json
{
  "postUrls": [
    "https://x.com/NatGeo/status/2110807923106386140"
  ],
  "maxItems": 1,
  "freshness": "standard"
}
```

### Your results

Example result for one transcript:

```json
{
  "status": "ok",
  "type": "transcript",
  "platform": "twitter",
  "id": "2110807923106386140",
  "url": "https://x.com/NatGeo/status/2110807923106386140",
  "sourceId": "2110807923106386140",
  "text": "A short example sentence spoken in a video, shown here for illustration only.",
  "segments": [],
  "details": {
    "twitter": {
      "durationSec": 42,
      "post": {
        "id": "2110807923106386140",
        "url": "https://x.com/NatGeo/status/2110807923106386140",
        "authorUsername": "NatGeo",
        "text": "A short example post text, shown for illustration.",
        "createdAt": "2026-11-01T15:00:00Z",
        "likes": 1200,
        "comments": 45,
        "shares": 210,
        "views": 98000
      }
    }
  },
  "collectedAt": "2026-11-11T12:00:00Z",
  "input": {
    "url": "https://x.com/NatGeo/status/2110807923106386140",
    "maxItems": 1
  }
}
```

Every row has a `status` field. For each entry that fails, the Actor returns one row with `status: "error"`. The `error` field has a `code` and a `message`.

### Pricing

You pay per result. Prices for each Apify plan are in USD per 1,000 results.

| What you pay for | Free | Bronze | Silver | Gold | Platinum | Diamond |
| --- | --- | --- | --- | --- | --- | --- |
| Post transcript | $29.138 | $26.250 | $24.375 | $22.500 | $22.500 | $22.500 |

You don't pay for errors or empty results. The run stops when it reaches your spending limit.

On the free plan, you can collect up to 10 results per run and make up to 20 runs per day.

### Common questions

#### How does the Actor make transcripts, and what should I check?

The Actor turns the video's audio into text automatically. Check names, numbers and uncommon words against the audio.

#### What post details come with each transcript?

Each transcript row includes the post link, the author's username, the post text and date, and counts for likes, replies, reposts and views. Any details the Actor can't read appear as blank fields.

#### Why didn't I get a transcript for a post?

The Actor skips posts without video and videos longer than about two minutes. A run still finishes if it finds no transcripts, and you don't pay for an empty run.

#### Do I need to sign in to X (Twitter)?

No. The Actor reads public posts only. You don't need to sign in or share account details or browser cookies.

#### How do I limit results and control what I spend?

Set Result limit per post link to cap how many results you get from each link. You pay only for transcripts you receive, so errors and empty results don't count. The run stops if it reaches your spending limit.

#### Is this Actor affiliated with X (Twitter)?

No. This tool is independent. X (Twitter) isn't affiliated with it and doesn't endorse or sponsor it. The Actor collects only publicly available information from X (Twitter).

### Disclaimer

This Actor is not affiliated with, endorsed by, or sponsored by X (Twitter). All trademarks belong to their owners.

# Actor input Schema

## `postUrls` (type: `array`):

Paste full links to X (Twitter) posts with video, such as https://x.com/NatGeo/status/2110807923106386140. Shortened links won't work.

## `maxItems` (type: `integer`):

Enter the maximum number of results to collect for each post link.

## `freshness` (type: `string`):

Standard can return results faster when recently collected data is available. Choose Live to collect fresh data on every run.

## Actor input object example

```json
{
  "postUrls": [
    "https://x.com/NatGeo/status/2110807923106386140"
  ],
  "maxItems": 1,
  "freshness": "standard"
}
```

# Actor output Schema

## `results` (type: `string`):

See everything this run collected in one table.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postUrls": [
        "https://x.com/NatGeo/status/2110807923106386140"
    ],
    "maxItems": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("icoe-man/twitter-transcripts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "postUrls": ["https://x.com/NatGeo/status/2110807923106386140"],
    "maxItems": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("icoe-man/twitter-transcripts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postUrls": [
    "https://x.com/NatGeo/status/2110807923106386140"
  ],
  "maxItems": 1
}' |
apify call icoe-man/twitter-transcripts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icoe-man/twitter-transcripts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zvBg6gLW7GfJ4Gh8b/builds/RJ4tLJ0ek9pIvGAFP/openapi.json
