# Audio to Text Transcriber: MP3, WAV, M4A & OGG File URLs (`blitzdata/audio-to-text-transcriber`) Actor

Convert audio files to text from their URL. MP3, WAV, M4A, OGG and FLAC links in, clean text out, as plain text or Markdown, with timed segments and subtitles alongside. Silence is not billed. $0.006 per audio minute, nothing for failed links.

- **URL**: https://apify.com/blitzdata/audio-to-text-transcriber.md
- **Developed by:** [⚡ Blitzdata](https://apify.com/blitzdata) (community)
- **Categories:** AI, Developer tools, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 audio minutes

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

## Audio to Text Transcriber

Get the words out of an audio file. Give this Actor links to **MP3, WAV, M4A, OGG, FLAC or Opus files** and it returns the **text**, as one plain block or as Markdown, together with timed segments. If you also want subtitles they are there, but the text is the point.

There is no account to link and no file to convert. Recordings with long quiet stretches are cheaper, because anything without speech is trimmed away before it is counted.

### What you get

- **Audio formats**: mp3, wav, m4a, ogg, flac and opus links, in one run if you like
- **Text first**: choose plain text or Markdown through 'Output formats'; fewer formats make smaller rows
- **Numbers as digits**: switch on 'Write numbers as digits' to get 2026 instead of 'twenty twenty six'
- **Names and jargon**: add key terms for words the model tends to miss
- **Language**: leave it on auto or give the code; the row says which one was used

### How to use Audio to Text Transcriber

1. Open [Audio to Text Transcriber](https://apify.com/blitzdata/audio-to-text-transcriber) on Apify and click **Try for free**.
2. Fill in **Audio file URLs**.
3. Adjust the optional settings you need: **Language**, **Write numbers as digits**, **Key terms**, **Output formats**, **Max audio length (seconds)**.
4. Click **Start**. One dataset row per item appears while the run progresses.
5. Export the dataset as JSON, CSV or Excel, or read it through the API, the Python or JavaScript client, or the MCP server (see the **API** tab).

The same input works as a JSON body through the API:

```json
{
  "urls": [
    "https://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg"
  ]
}
```

### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `urls` | array | — | Direct links to audio files (mp3, wav, m4a, ogg, flac, opus), one per line. A link must open the file itself, not a player page. Every link gives one dataset row; a link that fails gives an error row and is not charged. (required) |
| `language` | string | `"auto"` | ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'. |
| `numerals` | boolean | `false` | Convert spoken numbers to digits, so 'twenty twenty six' becomes 2026. |
| `keyterms` | array | — | Names, brands and jargon the speech model should get right, one per line (for example a product name). Up to 100 terms; each helps recognition of that exact word. Billed as an add-on: $0.003 per audio minute on runs that use it. |
| `output_formats` | array | — | Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows. |
| `max_duration_seconds` | integer | `7200` | Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged. |

### Output

One dataset row per item. A failed item gets a row with `error` set and is not charged; the rest of the run continues.

A 37-second excerpt of a NASA podcast (astronaut Suni Williams on her return to Earth), public domain, served as an .ogg file, shortened:

```json
{
  "url": "https://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg",
  "platform": "File",
  "video_id": "nasa-hwhap-suni-williams-answer",
  "title": "nasa-hwhap-suni-williams-answer.ogg",
  "text": "Over at the astronaut gym, and we have all sorts of activities that we do just to make sure that, like, one, our neurovestibular system is activated and back again. Our …",
  "language": "en",
  "language_source": "detected",
  "language_confidence": 0.9993189,
  "transcript_source": "asr",
  "engine": "deepgram",
  "model": "nova-3",
  "duration_seconds": 37.007,
  "speech": true,
  "speech_seconds": 36.904,
  "trimmed_seconds": 37,
  "segments": [
    {
      "start": 0,
      "end": 5.52,
      "text": "Over at the astronaut gym, and we have all sorts of activities that we do just to"
    },
    {
      "start": 5.52,
      "end": 7.04,
      "text": "make sure that, like, one,"
    },
    {
      "start": 7.04,
      "end": 11.04,
      "text": "our neurovestibular system is activated and back again. Our agility is back."
    }
  ],
  "srt": "1\n00:00:00,000 --> 00:00:05,520\nOver at the astronaut gym, and we have all\nsorts of activities that we do just to\n\n2\n00:00:05,520 --> 00:00:07,040\nmake sure that, like, one,\n\n3\n00:00:07,040 --> 00:00:11,040\nour neurovestibular system is activated\nand back again. Our agility is back.\n",
  "vtt": "WEBVTT\n\n00:00:00.000 --> 00:00:05.520\nOver at the astronaut gym, and we have all\nsorts of activities that we do just to\n\n00:00:05.520 --> 00:00:07.040\nmake sure that, like, one,\n\n00:00:07.040 --> 00:00:11.040\nour neurovestibular system is activated\nand back again. Our agility is back.\n",
  "billed_unit": "audio-minute",
  "billed_quantity": 1,
  "billed_audio_minutes": 1,
  "error_code": null,
  "error": null
}
```

The excerpt starts mid-sentence because it was cut from a longer episode; the first segment starts where the speech does.

### Pricing

| Event | Price | Charged when |
|---|---|---|
| Audio minute | $0.006 | Each started minute of audio that contains speech, counted per file. Files without speech and failed links are free. |
| Add-on minute | $0.003 | Each billed audio minute of a run that uses key terms or redaction, on top of the audio minute. Runs without them never pay it. |

A 45-minute recording that is 40 minutes of speech costs $0.24. Key terms add $0.003 per billed audio minute, only on runs that use them; everything else stays $0.006.

### Use cases

- **Voice recordings to notes**: dictated memos, lectures and site visits as text you can paste
- **Podcast and radio clips**: quote a passage without scrubbing through the audio
- **Search over recordings**: put the text into a database or a search index
- **Accessibility**: a text version next to an audio page

### FAQ

**What is the difference between text and Markdown?**
Text is one block of plain sentences. Markdown is the same transcript split into paragraphs, with a heading for the title, ready to drop into notes or a CMS. Choose either or both in 'Output formats'. The Markdown field appears in the row only when you ask for it.

**Which languages are supported?**
Many; the provider lists well over 100 language codes. We checked English, Dutch, Spanish and German ourselves. Give the code when you know it, because that is more accurate than detection.

**Will background music ruin it?**
Speech over music came out fine at moderate music volume in our test, and music alone produced no invented words. Loud music over quiet speech will hurt.

**Can I transcribe a whole folder?**
Paste all the links in one run. Each link is its own row and its own charge.

### Is it legal?

This Actor reads publicly available media and turns speech into text. It does not bypass logins and does not access private content. The audio is deleted from our side after transcription and is not used by us for training. Speech recognition is done by Deepgram, a sub-processor: the audio is sent to Deepgram's API for processing under Deepgram's terms, with the Model Improvement Program opt-out set on every request, so Deepgram does not keep it for model training. You are responsible for using the output in line with the platforms' terms, copyright and the privacy law that applies to you, in particular when transcripts contain personal data.

### Support

Something wrong, a platform that stopped working, a field you need? Open an issue on the **Issues** tab of this Actor and it will be looked at.

# Actor input Schema

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

Direct links to audio files (mp3, wav, m4a, ogg, flac, opus), one per line. A link must open the file itself, not a player page. Every link gives one dataset row; a link that fails gives an error row and is not charged.

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

ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'.

## `numerals` (type: `boolean`):

Convert spoken numbers to digits, so 'twenty twenty six' becomes 2026.

## `keyterms` (type: `array`):

Names, brands and jargon the speech model should get right, one per line (for example a product name). Up to 100 terms; each helps recognition of that exact word. Billed as an add-on: $0.003 per audio minute on runs that use it.

## `output_formats` (type: `array`):

Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows.

## `max_duration_seconds` (type: `integer`):

Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged.

## Actor input object example

```json
{
  "urls": [
    "https://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg"
  ],
  "language": "auto",
  "numerals": false,
  "max_duration_seconds": 7200
}
```

# Actor output Schema

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

One row per item: text, timed segments, SRT and WebVTT, plus source metadata and what was billed (unit and quantity). Which columns appear depends on the Actor.

## `summary` (type: `string`):

How many URLs were given, how many videos were found after expanding any profiles, and how many succeeded.

# 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://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blitzdata/audio-to-text-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://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg"] }

# Run the Actor and wait for it to finish
run = client.actor("blitzdata/audio-to-text-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://blitzdata-samples.b-cdn.net/v1/nasa-hwhap-suni-williams-answer.ogg"
  ]
}' |
apify call blitzdata/audio-to-text-transcriber --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blitzdata/audio-to-text-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/3p9EwJQxmNNKHDXHe/builds/YUe13Pwblg8jeAGph/openapi.json
