Speech to Text API

Paste links to audio or video files and get back the full transcript with timestamps, SRT subtitles and AI-ready chunks. Long files are split, transcribed and stitched back together for you.

Try it on Apify Examples on GitHub

$0.004 per audio minute ($0.24 per hour), only for files that were transcribed. A free estimate mode shows the price first. Made by CodePulse; these pages document our hosted Actor.

Quick start

export APIFY_TOKEN=...   # free Apify account: Console > Settings > API & Integrations

curl -sS -X POST \
  "https://api.apify.com/v2/acts/codepulsehq~speech-to-text-api/run-sync-get-dataset-items?token=${APIFY_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"], "language": "en", "estimateOnly": true}'

Guides

How to transcribe an audio file bigger than the Whisper API's 25 MB limit

The Whisper API rejects files over 25 MB. Compress and split the audio, keep the timestamps right, or let the Actor do it.

What is the cheapest way to transcribe podcast episodes?

A plain comparison of what transcription costs per hour: calling Whisper yourself, subscription tools and the pay-per-minute Actor.

How to get SRT subtitles from an audio or video file with an API

Generate SRT and WebVTT subtitles from any audio or video file with timed lines.

How to transcribe audio from a URL without downloading it yourself

Send a link to an audio or video file and get the transcript back, without writing download, conversion and upload code.

Frequently asked questions

What does it cost? $0.004 per audio minute, $0.24 per hour, rounded up per file. Failed files and estimate-only runs are free.

Can I see the price first? Yes. Turn on estimateOnly to get each file’s length and estimated cost without transcribing.

Does it work with YouTube links? No, a YouTube link is a web page rather than a file. For YouTube use the YouTube Transcript API, which reads existing captions.

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

More from CodePulse