Speech to Text API: Transcribe Any Audio or Video Link avatar

Speech to Text API: Transcribe Any Audio or Video Link

Pricing

Pay per event

Go to Apify Store
Speech to Text API: Transcribe Any Audio or Video Link

Speech to Text API: Transcribe Any Audio or Video Link

Turn podcast episodes, webinars, interviews and recordings into text with timestamps. Whisper-based, any file length, SRT/VTT/Markdown output. $0.004 per minute, failed files are free.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Code Pulse

Code Pulse

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 hours ago

Last modified

Features

Limited permissions

Share

Paste links to audio or video files (podcast episodes, webinars, interviews, meeting recordings) and get back the full transcript with timestamps, plus AI-ready chunks, Markdown, SRT or WebVTT. Long files are handled for you: they are split, transcribed and stitched back together with correct timestamps. No accounts with a speech provider, no keys to manage.

$0.004 per audio minute ($0.24 per hour). Failed files are free, and an Only estimate the cost mode shows the price before you commit.

Try it free: Apify's free plan includes $5 of monthly credit, enough for about 20 hours of audio transcribed. Press Start at the top of this page.

At a glance

  • What it is: an API and no-code tool that turns audio and video files into text using Whisper.
  • Input: direct links to media files (MP3, M4A, WAV, MP4, WebM, OGG, FLAC and most others). Up to 700 MB per file.
  • Output: transcript text, timestamped sentences, chunks for RAG, Markdown, SRT and WebVTT, with the language detected automatically.
  • Price: $0.004 per audio minute, billed per started minute, only for files that were transcribed.
  • How to call it: the Apify Console, the REST API (curl, Python, JavaScript), n8n, Make, Zapier, or an AI agent through MCP.

Does this sound like you?

What's going wrongWhat this does about it
"I have an hour-long recording and every tool wants a subscription."Pay per minute with no subscription. An hour costs about $0.24.
"The speech API has a 25 MB limit and my file is bigger."Large files are converted, split, transcribed and stitched together for you.
"I want to know the cost first."Turn on Only estimate the cost to get each file's length and price for free.
"Names and jargon are misspelled."Add them under Names and jargon and the transcript spells them correctly.
"I need subtitles or text I can feed to an AI."SRT, WebVTT, Markdown or timestamped chunks.

Who uses it

  • Podcast and media teams: transcripts for show notes, search and accessibility.
  • Researchers and journalists: interviews and recordings to text.
  • Support and sales teams: call and meeting recordings to searchable text.
  • AI and RAG builders: turn audio libraries into searchable chunks with timestamps.
  • AI agents: give an agent a "transcribe this recording" tool through MCP.

How to use it in 3 steps

  1. Click Start.
  2. Paste the links to your audio or video files under Links to audio or video files. Optionally set the language and add names or jargon.
  3. Open the Output tab and download JSON, CSV or Excel.

What you get

{
"success": true,
"url": "https://example.com/episode-42.mp3",
"duration_seconds": 2710,
"minutes_billed": 46,
"language": "en",
"text": "Welcome back to the show. Today we're talking about...",
"segments": [{ "start": 0.0, "end": 3.4, "text": "Welcome back to the show." }],
"chunks": [{ "index": 0, "start": 0.0, "end": 58.2, "text": "Welcome back to the show. ..." }]
}

A file that can't be transcribed comes back as success: false with an error_code (such as download_failed, not_media, no_speech or too_long) and a plain-English error. These rows are free.

Input options

OptionWhat it does
Links to audio or video filesDirect links to the files. A link to a web page won't work.
LanguageLeave empty to detect it, or set en, es, fr, de...
Names and jargonA short list of names or terms that appear in the audio.
Include timestampsAdds segments.
Split into chunksAdds chunks of about that size with start and end times.
Extra formatsAdds markdown, srt and/or vtt.
Maximum minutes per fileSkips longer files for free.
Only estimate the costReturns each file's length and estimated cost without transcribing.

Call it from code

curl -X POST "https://api.apify.com/v2/acts/codepulsehq~speech-to-text-api/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "urls": ["https://example.com/episode-42.mp3"], "language": "en", "includeSegments": false }'

For files longer than about five minutes use the asynchronous run endpoint or the Python and JavaScript clients, which wait as long as needed:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("codepulsehq/speech-to-text-api").call(run_input={"urls": ["https://example.com/episode-42.mp3"], "outputFormats": ["srt"]})
for row in client.dataset(run.default_dataset_id).iterate_items():
print(row["url"], row["minutes_billed"] if row["success"] else row["error"])

Use it from an AI agent (MCP)

{ "mcpServers": { "speech-to-text": { "url": "https://mcp.apify.com?tools=codepulsehq/speech-to-text-api" } } }

Pricing

  • $0.004 per audio minute, rounded up to the next minute for each file (a 10 minute 20 second file is 11 minutes).
  • Charged only after a file has been transcribed. Failed files, files over your minute limit and estimate-only runs cost nothing.
  • Set a maximum cost per run to cap spending.
LengthCost
10 minutes$0.04
1 hour$0.24
100 hours$24

Quick answers

How do I transcribe a podcast episode? Paste the direct link to the episode's MP3 file. Many podcast pages have it behind a "download" button, or in the show's RSS feed.

Does it work with a YouTube link? No: that's a web page, not a file. For YouTube use our YouTube Transcript API, which reads the video's existing captions and is cheaper. Use this Actor for files that have no captions.

How accurate is it? It uses Whisper, which is strong on clear speech in many languages. Noisy audio, heavy accents and overlapping speakers lower accuracy. Adding names and jargon helps.

Does it identify speakers? Not yet. You get the text and timestamps without speaker labels.

Is my audio kept? Files are downloaded to a temporary folder for the run, sent to the speech service for transcription and deleted when the run finishes.

Limits you should know

  • Direct links only, up to 700 MB per file.
  • No speaker labels.
  • Long files are cut into 15-minute pieces, so a word at a cut can occasionally be split or repeated.
  • Quality depends on the audio.

More from CodePulse

FAQ

Something broke or you need a feature? Open an issue from the Issues tab with a link to a file that fails.