# Audio Insight Extractor (`syntellect_ai/audio-insight-extractor`) Actor

This Apify Actor extracts structured data from audio and video sources (YouTube, Podcasts) using advanced AI models. It can transcribe content and then analyze it to extract specific information like stock tickers, SaaS tool mentions, or key insights.

- **URL**: https://apify.com/syntellect\_ai/audio-insight-extractor.md
- **Developed by:** [christopher athans crow](https://apify.com/syntellect_ai) (community)
- **Categories:** AI, Videos, Other
- **Stats:** 9 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Audio-to-Data Intelligence Actor

This Apify Actor extracts structured data from audio and video sources (YouTube, Podcasts) using advanced AI models. It can transcribe content and then analyze it to extract specific information like stock tickers, SaaS tool mentions, or key insights.

### Features

- **Multi-Source Ingestion**: Process videos and podcasts from YouTube URLs.
- **Flexible Transcription**:
  - **YouTube Captions (Free)**: Fast and cost-effective, using existing video captions.
  - **OpenAI Whisper (Cloud)**: High-fidelity transcription (requires OpenAI API Key).
  - **Local Whisper (Free)**: Uses the `whisper` model on the actor's CPU. Slower, but requires no API key and works if captions are missing.
- **AI-Powered Extraction**: Use **GPT-4o** (OpenAI) or **Claude 3.5 Sonnet** (Anthropic) to structure the data.
- **Key-Optional Operation**: Can be used without any API keys to simply fetch and output transcripts.
- **Customizable Goals**: Define exactly what you want to extract (e.g., "stock\_tickers", "summary", "names").

### Usage

#### input Configuration

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `startUrls` | Array | List of YouTube or Podcast URLs to process. | `[]` |
| `extractionGoal` | String | Description of the data to extract (e.g., "stock\_tickers", "saas\_tools"). | `stock_tickers` |
| `transcriptionMode` | String | `captions` (Free) or `whisper` (Costs $). | `captions` |
| `aiProvider` | String | `openai` or `anthropic`. | `openai` |
| `openaiApiKey` | String | Required for Whisper and OpenAI extraction. | `null` |
| `anthropicApiKey` | String | Required for Anthropic extraction. | `null` |

#### Modes of Operation

##### 1. Transcription Only (Free / No Keys)

If you do not provide an API Key, the Actor will automatically skip the extraction phase.

- **Transcription**:
  - Tries **YouTube Captions** first (Fastest).
  - If captions are missing, falls back to **Local Whisper** (Free, using Actor CPU).
- **Output**: The raw transcript of the video.
- **Cost**: Only Apify platform usage.

##### 2. Full Intelligence Extraction

Provide an API Key for your chosen provider (`openaiApiKey` or `anthropicApiKey`).

- **Output**: Structured JSON data based on your `extractionGoal`.
- **Example**:

```json
{
  "url": "https://youtube.com/watch?v=...",
  "entityName": "$TSLA",
  "context": "Mentioned as a buy candidate due to AI robotics.",
  "sentiment": "Bullish",
  "aiProvider": "openai"
}
```

### Output

The results are stored in the default Apify dataset. Each item represents an extracted entity or the full transcript if extraction was skipped.

### Limits & Pricing

- **YouTube Captions**: Free.
- **Whisper**: ~0.006 / minute (via your OpenAI key).
- **LLM Extraction**: Varies by model usage (GPT-4o / Claude 3.5 Sonnet).

### License

Apache 2.0

# Actor input Schema

## `startUrls` (type: `array`):

YouTube or Podcast URLs to process.

## `extractionGoal` (type: `string`):

What should the AI extract? (e.g., stock\_tickers, saas\_tools, main\_points)

## `transcriptionMode` (type: `string`):

Choose 'captions' (Fast/Free) or 'whisper' (High Quality/Cost).

## `aiProvider` (type: `string`):

Select the AI model provider.

## `openaiApiKey` (type: `string`):

Required if AI Provider is OpenAI.

## `anthropicApiKey` (type: `string`):

Required if AI Provider is Anthropic.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.youtube.com/watch?v=example"
    }
  ],
  "extractionGoal": "stock_tickers",
  "transcriptionMode": "captions",
  "aiProvider": "openai"
}
```

# Actor output Schema

## `overview` (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 = {
    "startUrls": [
        {
            "url": "https://www.youtube.com/watch?v=example"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("syntellect_ai/audio-insight-extractor").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 = { "startUrls": [{ "url": "https://www.youtube.com/watch?v=example" }] }

# Run the Actor and wait for it to finish
run = client.actor("syntellect_ai/audio-insight-extractor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.youtube.com/watch?v=example"
    }
  ]
}' |
apify call syntellect_ai/audio-insight-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=syntellect_ai/audio-insight-extractor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YcgVW3zagL7JLIC9A/builds/2RKhbh0Z8biKD2BXX/openapi.json
