# Twitter (X.com) mp3Audio Downloader (`scrapers-hub/twitter-x-mp3audio-downloader`) Actor

🎵 twitter-x-mp3audio-downloader converts X (Twitter) videos to MP3 fast and reliably. 🚀 Grab your favorite audio in seconds—easy, efficient, and user-friendly. 📲 Download, listen, and save offline anytime!

- **URL**: https://apify.com/scrapers-hub/twitter-x-mp3audio-downloader.md
- **Developed by:** [Scrapers Hub](https://apify.com/scrapers-hub) (community)
- **Categories:** Social media, Automation, Videos
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

### Twitter (X.com) mp3Audio Downloader 🐦🎵

Welcome to the definitive guide for the **Twitter (X.com) mp3Audio Downloader**, the most powerful and reliable tool for extracting high-quality audio content from the X (formerly Twitter) platform. In the modern social media landscape, Twitter has become a hub for viral music clips, influential speeches, podcast snippets, and breaking news audio. However, the platform lacks a built-in feature to download this audio for offline listening or professional use. The **Twitter (X.com) mp3Audio Downloader** was created to fill this gap, providing a seamless and efficient way to turn any tweet into a high-fidelity audio file.

#### 🌟 Introduction to Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is a professional-grade Apify actor designed specifically for the extraction and processing of audio from Twitter/X status URLs. Whether you are a content creator, a researcher, a podcast editor, or simply an avid listener, the **Twitter (X.com) mp3Audio Downloader** offers a suite of features that make audio collection faster and more reliable than ever before. Built on the scalable and robust Apify infrastructure, the **Twitter (X.com) mp3Audio Downloader** handles everything from metadata parsing to complex media stream extraction.

What sets the **Twitter (X.com) mp3Audio Downloader** apart is its precision. It doesn't just scrape a page; it understands the underlying data structures of X, ensuring that the **Twitter (X.com) mp3Audio Downloader** retrieves the best possible audio quality (often in MP3 or M4A formats) along with rich metadata like tweet IDs, full text descriptions, and audio counts. In the following sections, we will explore the deep capabilities, technical advantages, and various industrial applications of the **Twitter (X.com) mp3Audio Downloader**.

---

#### 🚀 Key Features of Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is engineered with a focus on quality and reliability. We've packed it with features that ensure you get exactly what you need with minimal effort.

##### 🎧 High-Fidelity Audio Extraction
The **Twitter (X.com) mp3Audio Downloader** targets the "best audio" streams available on X. By bypassing standard web players, the **Twitter (X.com) mp3Audio Downloader** provides direct access to the highest bitrate files, ensuring your audio is clear and professional. Whether it's a 30-second clip or a longer broadcast, the **Twitter (X.com) mp3Audio Downloader** delivers.

##### 📊 Dynamic Metadata Integration
Every run of the **Twitter (X.com) mp3Audio Downloader** produces structured data that includes more than just a download link. You get the original tweet's text, the author's ID, and success flags. This makes the output of the **Twitter (X.com) mp3Audio Downloader** perfect for integration into databases, content management systems, or automated audio libraries.

##### 🛡️ Residential Proxy Support
X has strict anti-bot measures. To ensure the **Twitter (X.com) mp3Audio Downloader** remains stable and avoids IP blocking, it is fully compatible with Apify's residential proxy network. The **Twitter (X.com) mp3Audio Downloader** automatically handles IP rotation, allowing you to scrape hundreds or thousands of URLs without interruption.

##### ⚡ Asynchronous Performance
Built using Python's `asyncio` and `httpx` libraries, the **Twitter (X.com) mp3Audio Downloader** is designed for speed. It can process multiple URLs simultaneously, making it one of the fastest audio scrapers on the market. The **Twitter (X.com) mp3Audio Downloader** respects your time by maximizing throughput.

##### 🛠️ Robust "yt-dlp" Integration
At its core, the **Twitter (X.com) mp3Audio Downloader** utilizes a customized implementation of the industry-leading `yt-dlp` engine. This ensures that the **Twitter (X.com) mp3Audio Downloader** can adapt to X's frequent platform updates, providing a reliable experience month after month.

---

#### 🛠️ How to Use Twitter (X.com) mp3Audio Downloader

Getting started with the **Twitter (X.com) mp3Audio Downloader** is a simple 4-step process. No coding skills are required to run the **Twitter (X.com) mp3Audio Downloader** through the Apify console.

##### Step 1: Collect Your X URLs
Navigate to X and find the tweets containing the audio you wish to download. Copy the status URLs (e.g., `https://x.com/user/status/123456`). You can paste these into the **Twitter (X.com) mp3Audio Downloader** input field as a list.

##### Step 2: Configure Proxies
In the **Twitter (X.com) mp3Audio Downloader** settings, we recommend selecting "Residential Proxies". This ensures the **Twitter (X.com) mp3Audio Downloader** can operate at scale without being flagged by X's security systems.

##### Step 3: Run the Actor
Click the "Start" button. The **Twitter (X.com) mp3Audio Downloader** will begin processing each URL. You can monitor the progress in the "Log" tab, where the **Twitter (X.com) mp3Audio Downloader** will report its success in real-time.

##### Step 4: Download Results
Once finished, go to the "Dataset" tab. The **Twitter (X.com) mp3Audio Downloader** allows you to export your data in JSON, CSV, Excel, or XML formats. Each record will contain the direct audio download link provided by the **Twitter (X.com) mp3Audio Downloader**.

---

#### 📊 Section 3: Input & Output Examples

For developers looking to automate the **Twitter (X.com) mp3Audio Downloader**, understanding the schema is vital.

##### 📥 Input JSON
The **Twitter (X.com) mp3Audio Downloader** accepts a list of URLs and proxy configurations.

```json
{
    "startUrls": [
        { "url": "https://x.com/iamsrk/status/1588088367476248576" }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    }
}
````

##### 📤 Output JSON

The **Twitter (X.com) mp3Audio Downloader** returns clean, structured data for each item.

```json
{
  "success": true,
  "tweet_url": "https://x.com/iamsrk/status/1588088367476248576",
  "metadata": {
    "title": "Make the switch to 𝕏 Chat. - End-to-end encrypted messaging.",
    "twitter_id": "1588088367476248576",
    "audio_count": 1
  },
  "audios": [
    {
      "format": "mp3",
      "url": "https://video.twimg.com/ext_tw_video/12345/audio/1.mp3"
    }
  ]
}
```

The output from the **Twitter (X.com) mp3Audio Downloader** is designed for high compatibility and immediate use in any audio workflow.

***

#### 💡 Why You Need the Twitter (X.com) mp3Audio Downloader

There are many reasons why the **Twitter (X.com) mp3Audio Downloader** is an essential tool for social media professionals.

##### 🎙️ Podcast and Audio Production

Podcast editors use the **Twitter (X.com) mp3Audio Downloader** to quickly gather quotes or news clips for their episodes. The **Twitter (X.com) mp3Audio Downloader** ensures they have the highest quality source material for editing.

##### 📈 Market Research and Sentiment Analysis

By scraping audio content with the **Twitter (X.com) mp3Audio Downloader**, researchers can perform voice-to-text analysis to understand public sentiment or identify trending topics within audio-heavy communities on X.

##### 🎵 Music and Creative Sampling

DJs and music producers use the **Twitter (X.com) mp3Audio Downloader** to find unique sounds and vocal snippets for their tracks. The efficiency of the **Twitter (X.com) mp3Audio Downloader** makes it a favorite among creative professionals.

##### 📚 Educational and Archival Use

Academic researchers and digital archivists use the **Twitter (X.com) mp3Audio Downloader** to preserve important historical recordings. The metadata provided by the **Twitter (X.com) mp3Audio Downloader** is crucial for proper cataloging.

***

#### 🔍 Technical Deep Dive: How the Twitter (X.com) mp3Audio Downloader Works

The **Twitter (X.com) mp3Audio Downloader** is more than just a simple script; it's a sophisticated orchestration of modern scraping techniques.

##### Initial State Extraction

The **Twitter (X.com) mp3Audio Downloader** probes the X status URL to locate the `window.__INITIAL_STATE__` JSON object. This is a critical step because it allows the **Twitter (X.com) mp3Audio Downloader** to retrieve the original tweet metadata that isn't always visible in the HTML DOM.

##### Smart Title Cleaning

We've included a "clean\_title" function in the **Twitter (X.com) mp3Audio Downloader** to ensure that your output filenames and descriptions are professional. It automatically removes URLs and extra whitespace, giving you a clean string from the tweet's text.

##### yt-dlp Orchestration

The **Twitter (X.com) mp3Audio Downloader** uses a highly optimized `yt-dlp` configuration specifically tuned for X's audio streams. This allows the **Twitter (X.com) mp3Audio Downloader** to identify the correct audio-only format and provide a direct URL to the `.mp3` or `.m4a` file.

##### Asynchronous Threading

Since `yt-dlp` is a blocking library, the **Twitter (X.com) mp3Audio Downloader** runs it within an asynchronous thread. This prevents the **Twitter (X.com) mp3Audio Downloader** from stalling while waiting for network responses, ensuring high-speed processing of large URL lists.

***

#### 📊 Comparison: Twitter (X.com) mp3Audio Downloader vs. Manual Saving

| Feature | Screen Recording | Online Converters | **Twitter (X.com) mp3Audio Downloader** |
| :--- | :---: | :---: | :---: |
| Quality | Low/Lossy | Variable | High-Fidelity 💎 |
| Metadata | None | None | Professional JSON 📊 |
| Bulk Scraping | No | No | Yes (Industrial Scale) 🏭 |
| Proxy Support | No | No | Residential Integrated 🛡️ |
| Automation | Manual | Manual | Fully Automated 🤖 |
| Speed | Very Slow | Slow | Blazing Fast ⚡ |

As you can see, the **Twitter (X.com) mp3Audio Downloader** is the only solution that offers a professional level of service for serious data needs.

***

#### 🛡️ Best Practices for Twitter (X.com) mp3Audio Downloader

To get the most out of the **Twitter (X.com) mp3Audio Downloader**, follow these expert tips:

1. **Use Residential Proxies**: X is very sensitive. Using the **Twitter (X.com) mp3Audio Downloader** with residential proxies is the best way to ensure long-term stability.
2. **Verify URLs**: The **Twitter (X.com) mp3Audio Downloader** works best with direct `status` URLs. Avoid profile or search URLs.
3. **Check Local Laws**: While the **Twitter (X.com) mp3Audio Downloader** is a powerful tool, always ensure you have the right to use the audio for your intended purposes.
4. **Keep it Updated**: We frequently update the **Twitter (X.com) mp3Audio Downloader** to handle changes in X's architecture. Ensure you are using the latest version on Apify.

***

#### ❓ Frequently Asked Questions (FAQ)

##### Is the Twitter (X.com) mp3Audio Downloader legal?

The **Twitter (X.com) mp3Audio Downloader** is a tool for scraping publicly available data. You should always comply with X's terms of service and respect intellectual property rights. The **Twitter (X.com) mp3Audio Downloader** is intended for research, archival, and lawful use.

##### Can the Twitter (X.com) mp3Audio Downloader scrape private accounts?

No, the **Twitter (X.com) mp3Audio Downloader** can only access tweets that are public. If an account is locked, the **Twitter (X.com) mp3Audio Downloader** will not be able to retrieve the content.

##### What audio formats does the Twitter (X.com) mp3Audio Downloader support?

The **Twitter (X.com) mp3Audio Downloader** typically provides audio in MP3 or M4A formats, depending on what X's servers provide for that specific listing.

##### Does the Twitter (X.com) mp3Audio Downloader download the actual files?

The **Twitter (X.com) mp3Audio Downloader** provides direct URLs to the audio files. You can then use any download manager or custom script to save them locally. This makes the **Twitter (X.com) mp3Audio Downloader** more flexible for cloud integrations.

##### How many URLs can I run in one go with the Twitter (X.com) mp3Audio Downloader?

The **Twitter (X.com) mp3Audio Downloader** is designed to handle hundreds or even thousands of URLs in a single run, provided you have sufficient Apify compute credits and proxy coverage.

***

#### 🏢 Industry Use Cases for Twitter (X.com) mp3Audio Downloader

##### 🎬 Media and Film Production

Sound designers use the **Twitter (X.com) mp3Audio Downloader** to find authentic ambient sounds or vocal snippets from real-world events shared on X. The precision of the **Twitter (X.com) mp3Audio Downloader** is essential for professional workflows.

##### 📰 Digital Journalism

Newsrooms use the **Twitter (X.com) mp3Audio Downloader** to quickly archive audio proof from breaking news situations. The metadata provided by the **Twitter (X.com) mp3Audio Downloader** helps verify the source and time of the recording.

##### 🛍️ Brand Monitoring

Marketing agencies use the **Twitter (X.com) mp3Audio Downloader** to monitor how their brand's jingles or audio assets are being used by the public on X. The **Twitter (X.com) mp3Audio Downloader** makes this tracking effortless.

##### 🚓 Legal and Forensic Analysis

Legal professionals use the **Twitter (X.com) mp3Audio Downloader** to gather audio evidence for cases. The reliability of the **Twitter (X.com) mp3Audio Downloader**'s extraction process ensures the data is accurate.

***

#### 💻 Technology Stack Behind Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is built on a state-of-the-art software stack.

##### Python 3.9+

The core logic of the **Twitter (X.com) mp3Audio Downloader** is written in modern Python, ensuring high performance and ease of maintenance.

##### Apify SDK

The **Twitter (X.com) mp3Audio Downloader** leverages the full power of the Apify SDK for proxy management, data storage, and task scaling.

##### yt-dlp & FFmpeg

The **Twitter (X.com) mp3Audio Downloader** integrates the world's most powerful media extraction tools, allowing for unmatched compatibility with X's media streams.

##### Asyncio Concurrency

By using asynchronous programming, the **Twitter (X.com) mp3Audio Downloader** achieves incredible speeds, processing large volumes of data with minimal resource overhead.

***

#### 🌈 The Future of Twitter (X.com) mp3Audio Downloader

We are committed to making the **Twitter (X.com) mp3Audio Downloader** the best it can be. Our future plans for the **Twitter (X.com) mp3Audio Downloader** include:

- **AI Transcription**: Automatically converting scraped audio from the **Twitter (X.com) mp3Audio Downloader** into text.
- **Audio Editing Features**: Allowing you to trim clips directly within the **Twitter (X.com) mp3Audio Downloader**.
- **Cloud Storage Sync**: Options for the **Twitter (X.com) mp3Audio Downloader** to upload results directly to AWS S3, Dropbox, or Google Drive.

Your feedback is what drives the **Twitter (X.com) mp3Audio Downloader**. Let us know how we can make it even better for you!

***

#### 🌟 Conclusion: Experience the Power of Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is the definitive solution for anyone needing professional-grade audio extraction from X. With its combination of speed, reliability, and high-fidelity output, the **Twitter (X.com) mp3Audio Downloader** stands alone in the market.

Don't settle for slow or unreliable methods. Choose the **Twitter (X.com) mp3Audio Downloader** and unlock the full potential of X's audio content today. Join the community of users who trust the **Twitter (X.com) mp3Audio Downloader** for their most critical data needs.

Happy audio scraping with the **Twitter (X.com) mp3Audio Downloader**! 🐦🎵✨🚀🛡️📊🎧⚡

***

#### 📈 Summary of Twitter (X.com) mp3Audio Downloader Benefits

- **Speed**: Massive throughput with **Twitter (X.com) mp3Audio Downloader**.
- **Quality**: Crystal clear audio from **Twitter (X.com) mp3Audio Downloader**.
- **Reliability**: Advanced proxy rotation in **Twitter (X.com) mp3Audio Downloader**.
- **Data**: Rich metadata provided by **Twitter (X.com) mp3Audio Downloader**.
- **Efficiency**: Save hours of manual work with **Twitter (X.com) mp3Audio Downloader**.

Experience the best. Experience the **Twitter (X.com) mp3Audio Downloader**.

***

*(End of documentation)*

***

#### 🛠️ Advanced Automation for Developers using Twitter (X.com) mp3Audio Downloader

For developers looking to integrate the **Twitter (X.com) mp3Audio Downloader** into larger systems, we offer a robust set of options.

##### API First Design

The **Twitter (X.com) mp3Audio Downloader** is designed to be called programmatically via the Apify API. You can trigger runs of the **Twitter (X.com) mp3Audio Downloader** from your own applications and fetch results in real-time. This makes the **Twitter (X.com) mp3Audio Downloader** a perfect backend component for your custom audio tools.

##### Webhook Integration

Set up webhooks to receive instant notifications when the **Twitter (X.com) mp3Audio Downloader** finishes its task. This allows for immediate post-processing of the audio files, such as automatic transcription or cloud uploads. The **Twitter (X.com) mp3Audio Downloader** fits perfectly into any modern dev pipeline.

##### Custom Schema Mapping

The structured output of the **Twitter (X.com) mp3Audio Downloader** is easily mappable to any database schema. Whether you use SQL or NoSQL, the clean JSON from the **Twitter (X.com) mp3Audio Downloader** makes data ingestion a breeze.

##### Scalable Compute

By running on Apify, the **Twitter (X.com) mp3Audio Downloader** can scale from a single URL to millions. The **Twitter (X.com) mp3Audio Downloader** manages the infrastructure so you can focus on the audio.

***

#### 🌍 Global Impact and Multi-Language Support of Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is a global tool used in every corner of the world. From Japan to Brazil, users rely on the **Twitter (X.com) mp3Audio Downloader** to collect localized audio content.

- **Unicode Support**: The **Twitter (X.com) mp3Audio Downloader** fully supports all character sets, ensuring tweet metadata in any language is preserved accurately.
- **Global Proxy Exit Points**: By using the **Twitter (X.com) mp3Audio Downloader** with Apify proxies, you can access X content from any region, bypassing local restrictions.
- **24/7 Reliability**: The **Twitter (X.com) mp3Audio Downloader** is monitored around the clock to ensure it adapts to the global changes of the X platform.

The **Twitter (X.com) mp3Audio Downloader** is your gateway to the world's audio.

***

#### 🛡️ Privacy and Security with Twitter (X.com) mp3Audio Downloader

We take your privacy seriously. The **Twitter (X.com) mp3Audio Downloader** is built with security in mind.

- **No Data Retention**: The **Twitter (X.com) mp3Audio Downloader** does not store your scraped data beyond the standard Apify dataset limits.
- **Secure Proxy Handling**: Your credentials and proxy settings are protected within the Apify environment.
- **Encrypted Transmission**: All communications between the **Twitter (X.com) mp3Audio Downloader** and X are encrypted using modern TLS standards.

When you use the **Twitter (X.com) mp3Audio Downloader**, you are choosing a tool that respects your operations and your security.

***

#### 🌟 Final Word on Twitter (X.com) mp3Audio Downloader

The **Twitter (X.com) mp3Audio Downloader** is a labor of love. We created it because we saw a need for a professional, reliable, and high-quality audio scraper for the X platform. We hope the **Twitter (X.com) mp3Audio Downloader** helps you achieve your goals, whether they are personal, academic, or professional.

Thank you for choosing the **Twitter (X.com) mp3Audio Downloader**. We look forward to seeing the amazing things you create with the audio you collect!

***

*(End of documentation)*

# Actor input Schema

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

List of Twitter/X status URLs to extract audio from.

## Actor input object example

```json
{
  "startUrls": [
    "https://x.com/iamsrk/status/1588088367476248576"
  ]
}
```

# 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": [
        "https://x.com/iamsrk/status/1588088367476248576"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers-hub/twitter-x-mp3audio-downloader").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": ["https://x.com/iamsrk/status/1588088367476248576"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapers-hub/twitter-x-mp3audio-downloader").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": [
    "https://x.com/iamsrk/status/1588088367476248576"
  ]
}' |
apify call scrapers-hub/twitter-x-mp3audio-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers-hub/twitter-x-mp3audio-downloader",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Twitter (X.com) mp3Audio Downloader",
        "description": "🎵 twitter-x-mp3audio-downloader converts X (Twitter) videos to MP3 fast and reliably. 🚀 Grab your favorite audio in seconds—easy, efficient, and user-friendly. 📲 Download, listen, and save offline anytime!",
        "version": "0.1",
        "x-build-id": "VjR5BO4Va21bRhlj7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapers-hub~twitter-x-mp3audio-downloader/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapers-hub-twitter-x-mp3audio-downloader",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapers-hub~twitter-x-mp3audio-downloader/runs": {
            "post": {
                "operationId": "runs-sync-scrapers-hub-twitter-x-mp3audio-downloader",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapers-hub~twitter-x-mp3audio-downloader/run-sync": {
            "post": {
                "operationId": "run-sync-scrapers-hub-twitter-x-mp3audio-downloader",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "List of Twitter/X status URLs to extract audio from.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
