DeProcess Try the API

How to Transcribe Long Audio Files (Hours Long) With an API

Published · Updated · By Sydney Kibuuka, Founder · 6 min read

Cover: How to Transcribe Long Audio Files (Hours Long) With an API. Key points: 1. Direct uploads hit size limits (4 MB, 25 MB); 2. Send a url with "async": true and get a job id; 3. Results by webhook, or poll GET /v1/jobs/{id}.

To transcribe an audio file that is hours long, don't upload it and wait: put the recording behind a public or signed link, send that link to the API as an asynchronous job, and collect the transcript later by webhook or by polling the job id. With DeProcess that is one POST to /v1/audio/transcriptions with url, "async": true and an optional webhook_url; the link can point to a recording of any length. A three-hour recording costs $0.36 at the listed $0.12 per audio hour.

Key takeaways

  • Direct uploads hit size limits: about 4 MB on DeProcess and 25 MB on OpenAI's transcription API, as of November 10, 2026.
  • Send long recordings as a url with "async": true; you get a job id right away instead of holding a connection open.
  • Results come by webhook to an https address, or by polling GET /v1/jobs/{id} until the status is done or failed.
  • Make signed links last longer than the job may wait; DeProcess cancels jobs that can't be processed within 7 days, free of charge.
  • Download what you need to keep: DeProcess deletes uploads 7 days and results 30 days after a job finishes.

How do you transcribe long audio files with an API?

You send a link to the recording as an asynchronous job, then pick up the transcript when it is done. Uploading a two-hour file in the request body and waiting for the text is the fragile way: uploads hit size limits, connections time out and a single network blip loses the whole attempt.

The asynchronous flow has three steps:

  1. Put the recording somewhere the API can download it: a public link or a signed (expiring) link.
  2. POST the link with "async": true. The API answers at once with a job id.
  3. Get the result when it is ready, either by webhook or by polling the job.

This is the same queue-based design explained in how batch speech to text works: long recordings wait their turn and run when capacity is free, which is a large part of why batch transcription is cheap.

Why not just upload the file and wait?

Three limits get in the way of large uploads, and each gets worse as files get longer.

Sending a link avoids all three: nothing large crosses your connection, nothing waits on an open request, and the service handles the long recording on its side.

What does the request look like?

Here is the long-file request from the DePro speech-to-text docs, with curl:

The answer comes back right away:

The same call in Python with the requests library:

And in JavaScript with fetch:

The parameters, as the docs list them:

ParameterWhat it does
urlPublic or signed link to the recording. Use for anything long.
asynctrue returns a job id immediately instead of waiting.
webhook_urlOptional https address DePro calls when the job finishes.
languageOptional language code such as en or es; detected automatically if left out.
response_formatOptional: json (default), verbose_json, text, srt or vtt.

Most audio and video formats work: mp3, wav, m4a, mp4, webm, ogg and flac. If you know the language, set it; otherwise it is detected automatically. To keep long files small without hurting the transcript, see which audio format and bitrate to use for transcription.

How do you host the recording for the API?

Use a link that returns the file itself, and keep it valid until the job is done. A sharing link that opens a preview page won't work, because the service needs the audio bytes, not a web page.

Signed links are the usual answer for private files: the link works for a limited time and then expires. On Amazon S3, the AWS documentation says a presigned URL made with the AWS CLI can last up to 7 days, and one made in the S3 console up to 12 hours.

Choose an expiry that covers the time a job may wait in the queue, not just the time it takes to run. DeProcess cancels jobs that couldn't be processed within 7 days (free of charge), so a link valid for a few days covers almost every case. If a link expires before the job runs, the audio can't be downloaded; resubmit the job with a fresh link.

How do you get the result back?

Pick one of two ways, or use both:

When the job is done you can fetch the transcript in any format by adding ?format= with srt, vtt, text, json or verbose_json to the job request, as often as you like (transcript formats). That is the easy way to get subtitles from a long recording; see SRT and VTT subtitles from an API.

What does a long transcription cost?

Speech to text on DeProcess costs $0.12 per audio hour, billed by the minute, as listed on the DePro pricing table on November 10, 2026. Billing is per finished job from your prepaid balance, and failed jobs are free.

RecordingAudio lengthCost at $0.12 per audio hour
Long meeting90 minutes$0.18
Deposition3 hours$0.36
Conference day8 hours$0.96
Archive100 hours$12.00

You pay for the length of the recording, not for how long the processing takes. If your balance runs out, the API answers 402 until you add credit.

What should you do after the transcript arrives?

Save it. DeProcess deletes uploads 7 days and results 30 days after a job finishes, and fetching a deleted result returns 410 (data handling). If the recording is sensitive, you can delete the job's audio and transcript sooner with DELETE /v1/jobs/{id} once you have stored your copy.

For long or important recordings, also spot-check accuracy: listen to a few minutes from the start, the middle and the end, where background noise, cross-talk or a change of speaker is most likely to cause errors.

When is this approach the wrong fit?

If someone needs the words while the audio is still being recorded, such as live captions for an event or a call, use a live (streaming) transcription service instead; DeProcess handles recorded audio in batches. If your recordings can't leave your building at all, DeProcess also offers a private pool and an on-site version that runs inside your office (private processing).

Frequently asked questions

Is there a maximum length for one recording?

The DePro docs say a link can point to a recording of any length. Very long recordings simply take longer to finish, so plan on a turnaround window rather than an instant answer.

Should I split a long recording myself before sending it?

Not with DeProcess, since you send the whole recording as a link. If you use an API with a file size limit and must split, OpenAI's guide advises against cutting in the middle of a sentence because it removes context.

What happens if a long job fails halfway?

With DeProcess, a job that fails after retries ends with status failed and an error message, the webhook says so, and you aren't charged for it. You can resubmit the same link.

Can I use a Google Drive or Dropbox sharing link?

Use a link that returns the audio file itself when fetched, not a web page that shows a preview. Direct links from cloud storage, such as a presigned Amazon S3 URL, work best.

Sources

  1. DeProcess: API docs (long files, job status, webhooks, data handling, pricing)
  2. OpenAI: Speech to text guide (file size limit and splitting advice)
  3. Hugging Face: openai/whisper-large-v3 model card (30-second window, long-form transcription)
  4. Amazon Web Services: Sharing objects with presigned URLs (Amazon S3 User Guide)
  5. OpenAI: openai-python README (default request timeout)

Have recordings to transcribe?

Test DeProcess on your own audio. Ask for a free 10-hour test, or start with the free credit every new account gets. Same API format as OpenAI.

Start a free test

Have a computer that sits idle?

Install the DePro app and your computer works on AI jobs while you’re away. Free to join, about five minutes to set up.

Join with your computer

Related guides

About this guide

Last reviewed . Written by Sydney Kibuuka, Founder, researched and drafted with AI and checked by automated quality checks before it was published. Facts about other companies come from their own published pages, with dates. Read our editorial standards; spotted a mistake? Tell us and we’ll fix it (see corrections).