# Pocket FM Transcript | Audio to Text & Timestamps (`spider_studio/pocket-fm-transcript`) Actor

Convert Pocket FM episode audio to text with speaker labels, timestamps, and opening lines. Select episode ranges across multiple shows and export transcripts as JSON.

- **URL**: https://apify.com/spider_studio/pocket-fm-transcript.md
- **Developed by:** [Tarique](https://apify.com/spider_studio) (community)
- **Categories:** Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 audio 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

### 📝 Transcribe Pocket FM episodes

Pocket FM Transcript turns episode audio into searchable text. Each successful result includes timed dialogue segments, speaker labels when available, and the opening sentence when detected. Process several shows in one run and choose different episode ranges for each show. Export the results as JSON to keep the transcript, dialogue segments, and episode identifiers together.

#### 🎧 More Pocket FM tools

| Actor | Use it for |
| --- | --- |
| [🔎 Search](https://apify.com/spider_studio/pocket-fm-show-search) | Find Pocket FM audio series by keyword and export matching titles with the IDs you need for further research. |
| [📚 Show Details](https://apify.com/spider_studio/pocket-fm-show-details) | Collect Pocket FM show metadata with one result per successfully fetched show ID. |
| [📋 Episodes](https://apify.com/spider_studio/pocket-fm-show-episodes) | Export complete available Pocket FM episode lists, with one record per episode for straightforward analysis and monitoring. |
| [💬 Comments](https://apify.com/spider_studio/pocket-fm-comments) | Collect Pocket FM comments and available replies for shows or episodes, ready for audience feedback analysis. |
| [🔗 Media Links](https://apify.com/spider_studio/pocket-fm-media-resolver) | Resolve available Pocket FM audio and video links for selected episode numbers, ranges, or an attempted full catalog. |
| [⬇️ Downloader](https://apify.com/spider_studio/pocket-fm-media-download) | Download complete Pocket FM series in one run, with an individual audio or video download link for every successful file. |
| [📝 Transcripts](https://apify.com/spider_studio/pocket-fm-transcript) | Turn episode audio into searchable text with speaker labels and timestamps. |

### How to get a Pocket FM transcript

1. Open the **Input** tab. To try the Actor, start with the prefilled example. It selects episode 1 of **Short**.
2. For your own run, find a show ID with **Pocket FM Search** or use an ID you already have. Check **Pocket FM Episodes** for the episode numbers.
3. Add one entry per show and choose the episode numbers you want. Start the run.
4. Open **Output** to read the transcripts or export the dataset as JSON. Select JSON if you want to keep the nested timestamps and speaker labels.

#### What can you do with episode transcripts?

- **Find a line in an episode.** Search the transcript for a quote, then use the matching segment's start time to locate it in the audio.
- **Review opening lines.** Use the opening sentence and its timestamps to compare how a set of episodes begins.
- **Follow a conversation.** Group dialogue by speaker label within an episode. The labels represent voices and do not identify characters by name.
- **Build a searchable collection.** Use the show and episode IDs to join transcripts with episode titles or catalog data.

### Choose episodes across multiple shows

Add one object per show in `shows`. Each object requires a `show_id` and accepts an optional `episodes` string.

| Value | Episodes selected |
| --- | --- |
| `"3"` | Episode 3 |
| `"5-10"` | Episodes 5 through 10, inclusive |
| `"1,3,5-10"` | Episodes 1 and 3, plus episodes 5 through 10 |
| Omitted or `""` | All available episodes in that show |

Use the episode numbers in the show's catalog. Overlapping ranges are processed once. Find the sequence numbers with **Pocket FM Episodes**.

```json
{
  "shows": [
    {"show_id": "SHOW_ID_A", "episodes": "1,3,5-10"},
    {"show_id": "SHOW_ID_B", "episodes": "12-15"},
    {"show_id": "SHOW_ID_C"}
  ]
}
```

Replace the placeholder IDs before running. This example selects eight episodes from show A, four from show B, and all available episodes from show C. List each show once and combine its ranges in the same string. If you only want a small sample, set `episodes` for every show you add.

### What the output includes

| Field | What to expect |
| --- | --- |
| `show_id`, `story_id`, `seq_number` | Show ID, episode ID, and episode number |
| `transcript` | The episode's full transcribed dialogue |
| `segments` | Dialogue passages with start and end times in seconds and available speaker labels |
| `hook`, `hookStartSeconds`, `hookEndSeconds` | The opening sentence and its time range, when detected |
| `durationSeconds`, `language` | Audio duration and the detected language when available |
| `wordsJsonUrl` | A link to word-level timestamps when available |
| `status` | The transcription outcome |

#### Example transcript result

This excerpt illustrates the structure of a successful result. Segment times are in seconds.

```json
{
  "show_id": "SHOW_ID_A",
  "story_id": "EPISODE_ID",
  "seq_number": 3,
  "status": "succeeded",
  "transcript": "We have until sunrise.",
  "hook": "We have until sunrise.",
  "hookStartSeconds": 1.2,
  "hookEndSeconds": 3.4,
  "segments": [
    {
      "start": 1.2,
      "end": 3.4,
      "text": "We have until sunrise.",
      "speakerId": "speaker_0"
    }
  ]
}
```

#### Read the result status

| Status | Meaning |
| --- | --- |
| `succeeded` | The episode produced a transcript. |
| `no_speech` | The audio did not produce recognizable speech. |
| `failed` | The episode or requested selection could not be processed. See the result's error message. |

An unavailable episode is reported in the results. Other selected episodes and shows can still complete. Use the run summary to check how many succeeded, failed, or had no recognizable speech.

### 💵 Pricing

**$0.015 per successfully transcribed episode audio ($15 per 1,000)** on both free and paid Apify plans. Each successful transcript delivered in a run counts as one event, including transcripts returned again in later runs. Failed episodes and audio without recognizable speech incur no transcription charge. There is no startup fee.

For example, if you request 20 episodes and 18 yield transcripts, the transcription charge is **$0.27**. One episode is one charge regardless of its transcript length or number of dialogue segments.

### Frequently asked questions

#### Can I transcribe an entire Pocket FM series?

Yes. Enter its show ID and omit `episodes` or leave it blank to select the full available catalog. You can combine a full series and specific ranges from other shows in the same run.

#### Can I get timestamps for individual words?

Yes, when word timings are available. Open `wordsJsonUrl` from the result. For a timestamped view of the dialogue, use `segments` directly in the dataset.

#### How accurate are the text and speaker labels?

Background music, overlapping dialogue, and audio quality can affect both. Review the transcript against the audio when you need exact wording or attribution. Speaker labels apply within each episode.

Use this Actor with content you have permission to transcribe. It is an independent tool and is not affiliated with Pocket FM.

# Actor input Schema

## `shows` (type: `array`):

One object per show, with show_id and an optional episodes string.

## Actor input object example

```json
{
  "shows": [
    {
      "show_id": "9caa9dca7c51a0f9cf072138346ce1e80d5a7420",
      "episodes": "1"
    }
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

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

No description

# 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 = {
    "shows": [
        {
            "show_id": "9caa9dca7c51a0f9cf072138346ce1e80d5a7420",
            "episodes": "1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spider_studio/pocket-fm-transcript").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 = { "shows": [{
            "show_id": "9caa9dca7c51a0f9cf072138346ce1e80d5a7420",
            "episodes": "1",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("spider_studio/pocket-fm-transcript").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 '{
  "shows": [
    {
      "show_id": "9caa9dca7c51a0f9cf072138346ce1e80d5a7420",
      "episodes": "1"
    }
  ]
}' |
apify call spider_studio/pocket-fm-transcript --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spider_studio/pocket-fm-transcript"
        }
    }
}
```

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/CJyk79Wip2hT6uDSi/builds/K9KPQaGWtbin0E4y3/openapi.json
