# Audio & Podcast Transcription: Speech to Text, Audio to Text (`wheaten_steelpan/media-transcriber`) Actor

Audio and podcast transcription with speech to text: turn audio and video file URLs and podcast RSS feeds into a transcript, timestamped segments, SRT and VTT. Billed per audio second with no start fee; silent, unreachable, unreadable and unsupported-language files are never charged.

- **URL**: https://apify.com/wheaten_steelpan/media-transcriber.md
- **Developed by:** [Vanja V](https://apify.com/wheaten_steelpan) (community)
- **Categories:** AI, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.13 / 1,000 audio second transcribeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Podcast & Audio Transcriber — Text & Subtitles, Pay Per Second

Transcribe audio and video files and whole podcast feeds to plain text, timestamped segments, SRT
and WebVTT subtitles. Paste file links, podcast RSS feeds, or both, and get one result row per file.

**You pay per second of audio transcribed, and only for files that produced a transcript.** There is
no start fee and no per-file fee. A file that is silent, unreachable, unreadable, too long or in a
language this Actor does not support comes back with the reason in its row and costs nothing.

Whisper runs inside the Actor, so you need no OpenAI or other speech-to-text API key.

![Output rows from a real run: file or podcast, episode, status, language, charged seconds, transcript, and the reason a file wasn't charged](https://api.apify.com/v2/key-value-stores/odSa7lb4acQmCLjtn/records/output-example.png)

### What people use it for

- **Podcast transcript generator.** Give a podcast RSS feed to transcribe its newest episodes.
- **Transcribe audio to text.** Give direct links to audio files and get a row per file.
- **MP3 to text transcription.** Turn a direct MP3 file link into text and optional subtitles.
- **Audio to text transcription for workflows.** Send named dataset fields to Make or n8n.

### What you pay for

**$0.00013 per audio second** ($0.0078 per minute). A 30-minute episode costs $0.23, an hour $0.47.

| outcome | `status` | charged |
|---|---|---|
| a transcript was produced | `ok` | **yes**, per second of audio |
| the file has no speech (silence, music only) | `no_speech` | no |
| the spoken language is not English, Spanish or German | `unsupported_language` | no |
| the download failed (404, 403, DNS, timeout after one retry) | `unreachable` | no |
| the link is not audio or video, or the file has no audio track | `undecodable` | no |
| the file is longer than your `maxFileMinutes` | `too_long` | no |
| the file would push the run past your maximum cost per run | `skipped_budget` | no |
| the Actor hit an error of its own on that file | `failed` | no |

Every row that is not `ok` has an `error` field that says what happened in one plain sentence. The
other files in the run carry on.

### What you get: podcast transcript and audio to text

One dataset row per file:

```json
{
  "url": "https://archive.org/download/heartofamystery_2005_librivox/heartofamystery_01_meade_64kb.mp3",
  "feedTitle": null,
  "episodeTitle": null,
  "publishedAt": null,
  "status": "ok",
  "language": "en",
  "languageProbability": 0.997,
  "durationSec": 998.74,
  "chargedSeconds": 999,
  "text": "Number 1. Of the Heart of a Mystery by LT. Mead and Robert Eustis. This is a LibriVox recording. …",
  "segments": [
    { "start": 0.14, "end": 1.14, "text": "Number 1." },
    { "start": 1.14, "end": 4.14, "text": "Of the Heart of a Mystery by LT." }
  ],
  "srt": "1\n00:00:00,140 --> 00:00:01,140\nNumber 1.\n\n2\n00:00:01,140 --> 00:00:04,140\n…",
  "vtt": "WEBVTT\n\n00:00:00.140 --> 00:00:01.140\nNumber 1.\n\n…",
  "error": null
}
```

- `feedTitle`, `episodeTitle` and `publishedAt` are filled for episodes that came from an RSS feed.
- `chargedSeconds` is exactly what that file cost you, in seconds. It is 0 on every row that is not `ok`.
- Formats you leave out of `outputFormats` are `null`, so every row has the same fields.

The run opens on a **Transcripts** table (status, language, duration, charged seconds, text). A
**Subtitles** view has the SRT and VTT, and the full JSON has everything.

### Input: podcast feeds and MP3 to text

```json
{
  "urls": [
    "https://archive.org/download/heartofamystery_2005_librivox/heartofamystery_01_meade_64kb.mp3"
  ],
  "rssFeeds": [
    "https://feeds.npr.org/510318/podcast.xml"
  ],
  "maxEpisodesPerFeed": 2
}
```

| field | default | what it does |
|---|---|---|
| `urls` | – | direct links to audio or video files: mp3, m4a, wav, ogg, opus, flac, mp4, webm and anything else ffmpeg reads |
| `rssFeeds` | – | podcast feed URLs; each episode's audio file becomes one row |
| `maxEpisodesPerFeed` | 5 | how many of the newest episodes to take from each feed |
| `language` | `auto` | `auto`, `en`, `es` or `de`; setting it skips detection |
| `outputFormats` | all four | any of `text`, `segments`, `srt`, `vtt` |
| `maxFileMinutes` | 180 | longer files come back as `too_long`, free |

Give at least one URL or feed. Duplicate URLs are transcribed once.

### Languages for audio to text transcription

English, Spanish and German, detected automatically or set by you. Detection listens to samples
spread across the whole file, so an English ad at the start of a Spanish podcast does not switch
the transcript to English.

Any other language is detected within seconds and returned as `unsupported_language`, free of
charge. We add a language once we have measured good transcripts for it at this price.

### Speed and file length

Transcription runs about 9 times faster than real time: a one-hour episode takes about 7 minutes.
Files up to 180 minutes are accepted; we test with a 130-minute podcast episode.

Files run one after another. For a long batch, split it across runs or raise the run timeout.

### Use it from Make, n8n and Zapier

The Actor ships a dataset schema, so every field arrives named and typed in Make's and n8n's Apify
modules, with `segments` as a list you can iterate.

- **Make**: "Run an Actor" fills Input JSON from the defaults. Edit the `urls` or `rssFeeds` there.
- **n8n**: the Apify node's "Run an Actor" leaves Input JSON as `{}`. Type your input there, for
  example `{"urls": ["https://…/episode.mp3"]}`, or the run has nothing to transcribe. The node
  offers 1024 MB of memory; Apify raises it to this Actor's 4096 MB minimum on its own.

### What this cannot do

- **Names and rare words are often misspelt.** Whisper's `base` model spells names by how they
  sound. Expect people, brands and places to need a proofread.
- **YouTube, TikTok, Instagram and other page links do not work.** The URL must point at the media
  file itself. A web page URL comes back as `undecodable`, free.
- **No speaker labels.** The transcript does not say who is talking.
- **No translation.** Each file is transcribed in the language it is spoken in.
- **One language per file.** A file that switches between languages is transcribed as one language.
- **Three languages for now:** English, Spanish, German.

### Pricing

$0.00013 per second of transcribed audio, charged once per `ok` file, rounded to the nearest
second. Nothing else is charged.

| audio | cost |
|---|---|
| 10 minutes | $0.08 |
| 30-minute episode | $0.23 |
| 1-hour episode | $0.47 |
| 5 episodes × 45 minutes | $1.76 |

To cap a run, set its **Maximum cost per run**. Before transcribing each file, the Actor checks
whether that file's length fits under what is left. A file that would not fit is returned as `skipped_budget`,
free, and shorter files after it can still run. $1 covers about 128 minutes of audio.

### FAQ

**How do I generate a podcast transcript?**
Give the Actor a podcast RSS feed and choose how many newest episodes to transcribe.

**Can I convert an MP3 to text?**
Yes. Give it a direct MP3 file link. The Actor returns the transcript in `text`.

**Which languages does it support?**
English, Spanish and German, either detected automatically or set in the input.

**Can I use a YouTube or Instagram page link?**
The Actor requires a direct audio or video file link. Podcast RSS feeds also work.

**Does it identify speakers?**
The transcript has no speaker labels.

### Related Actors

- [YouTube Transcript & Subtitles Scraper](https://apify.com/wheaten_steelpan/youtube-transcript-scraper)
- [Instagram Reels Transcript Scraper](https://apify.com/wheaten_steelpan/instagram-reel-transcript-scraper)

# Actor input Schema

## `urls` (type: `array`):

Direct links to audio or video files: mp3, m4a, wav, ogg, opus, flac, mp4, webm and anything else ffmpeg reads. Each file becomes one row. Duplicates are removed.

## `rssFeeds` (type: `array`):

Podcast feed URLs. The newest episodes of each feed are transcribed, one row per episode.

## `maxEpisodesPerFeed` (type: `integer`):

How many of the newest episodes to transcribe from each feed.

## `language` (type: `string`):

Auto-detect, or set the language to skip detection. Files detected in any other language are reported as unsupported_language and not charged.

## `outputFormats` (type: `array`):

What each row contains: plain text, timestamped segments, SRT subtitles, WebVTT subtitles. Fields you leave out are null.

## `maxFileMinutes` (type: `integer`):

Files longer than this are reported as too_long and not charged.

## Actor input object example

```json
{
  "urls": [
    "https://archive.org/download/short_poetry_001_librivox/i_died_for_beauty_dickinson_ac_64kb.mp3"
  ],
  "maxEpisodesPerFeed": 5,
  "language": "auto",
  "outputFormats": [
    "text",
    "segments",
    "srt",
    "vtt"
  ],
  "maxFileMinutes": 180
}
```

# Actor output Schema

## `transcripts` (type: `string`):

One row per file with status, language, duration, charged seconds and the plain-text transcript.

## `data` (type: `string`):

Every field of every row, including timestamped segments, SRT and VTT.

# 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 = {
    "urls": [
        "https://archive.org/download/short_poetry_001_librivox/i_died_for_beauty_dickinson_ac_64kb.mp3"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("wheaten_steelpan/media-transcriber").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 = { "urls": ["https://archive.org/download/short_poetry_001_librivox/i_died_for_beauty_dickinson_ac_64kb.mp3"] }

# Run the Actor and wait for it to finish
run = client.actor("wheaten_steelpan/media-transcriber").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 '{
  "urls": [
    "https://archive.org/download/short_poetry_001_librivox/i_died_for_beauty_dickinson_ac_64kb.mp3"
  ]
}' |
apify call wheaten_steelpan/media-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wheaten_steelpan/media-transcriber"
        }
    }
}
```

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/RYRgBFmoucLaaCTvx/builds/0Lsc5Z169wO2m4Wun/openapi.json
