# Apple 🍎 Podcasts Extractor (`jupri/apple-podcast`) Actor

💫 All-in-One APPLE.com Podcasts Scraper

- **URL**: https://apify.com/jupri/apple-podcast.md
- **Developed by:** [cat](https://apify.com/jupri) (community)
- **Categories:** Social media, Videos
- **Stats:** 265 total users, 0 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$25.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## 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

## Welcome To Apple Podcasts Scraper

<img height="32" src="https://apify.com/actor-badge?actor=jupri~apple-podcast">

![dont be sad readme is here](https://raw.githubusercontent.com/JupriGH/resources/main/cats/catframe.png)

### 🍎  About Apple Podcasts

![enter image description here](https://upload.wikimedia.org/wikipedia/commons/e/e7/Podcasts_%28iOS%29.svg)

**Apple Podcasts** (known as simply **Podcasts** in Apple operating systems) is an audio [streaming](https://en.wikipedia.org/wiki/Streaming_media "Streaming media") service and [media player application](https://en.wikipedia.org/wiki/Media_player_software "Media player software") developed by [Apple Inc.](https://en.wikipedia.org/wiki/Apple_Inc. "Apple Inc.") for playing [podcasts](https://en.wikipedia.org/wiki/Podcast "Podcast"). Apple began supporting podcasts with [iTunes](https://en.wikipedia.org/wiki/ITunes "ITunes") 4.9 released in June 2005 and launched its first standalone mobile app in 2012. The app was later pre-installed with iOS beginning October 2014. The Apple Podcasts directory features more than two million shows.[\[1\]](https://en.wikipedia.org/wiki/Apple_Podcasts#cite_note-1) Apple Podcasts is available on [iOS](https://en.wikipedia.org/wiki/IOS "IOS"), [iPadOS](https://en.wikipedia.org/wiki/IPadOS "IPadOS"), [macOS](https://en.wikipedia.org/wiki/MacOS "MacOS"), [watchOS](https://en.wikipedia.org/wiki/WatchOS "WatchOS"), [tvOS](https://en.wikipedia.org/wiki/TvOS "TvOS"), [CarPlay](https://en.wikipedia.org/wiki/CarPlay "CarPlay"), [Microsoft Windows](https://en.wikipedia.org/wiki/Microsoft_Windows "Microsoft Windows") operating systems, and on [Amazon Alexa](https://en.wikipedia.org/wiki/Amazon_Alexa "Amazon Alexa") devices.

### 🍎 Tutorial

#### 🍿 Parameters

| Input| Type |  Description |
|-|-|-|
| `query` | ***string array*** | List of `QUERY`, `KEYWORD` or `URL` |
| `limit` | ***integer*** | Number of results (`per-query`)|

#### 🍿 Outputs

**Possible result types (`attribute: "type"`) :**

| Type | Description |
|-|-|
| `podcasts` | Podcast information
| `artists` | Artist information
| `podcast-episodes` | Episode information
| `podcast-channels` | Channel information

#### 🍿 Basic Usage

Search for podcasts

```yaml
{ "query": ["sponge bobs"], "limit": 10 } 
```

Search for episodes

```yaml
{ "query": ["episode:sponge bobs"], "limit": 10 } 
```

Autodetect URL for possible contents

```yaml
{ 
	"query": ["https://podcasts.apple.com/us/podcast/huberman-lab/id1545953110"], 
	"limit": 10 
} 
```

#### 🍿 Advanced Usage

***APPLE Query Language (AQL)***

```html
[ <COMMAND:> | # | @ ] [ <NAME> | <ID> | <KEYWORD> | <URL> ] [ /<SECTION> ] 
```

***Possible QUERY  values***

| Format | Example | Description |
|-|-|-|
| **<*KEYWORDS*>** | `square pants` |***Search Anything***|
| `podcast:<KEYWORDS>` | `podcast:comedy` | Search for podcasts (default) |
| `channel:<KEYWORDS>` | `channel:news` | Search for channels |
| `episode:<KEYWORDS>` | `episode:sponge bob` | Search for episodes |
| **channel:<*CHANNEL\_ID*>** | `channel:6442503658` | ***Channel Data*** |
| `/info` | `channel:6442503658/info` | Channel info |
| `/podcasts` | `channel:6442503658/podcasts` | Channel shows (podcasts) |
| `/top-shows` | `channel:6442503658/top-shows` | Top shows
| `/new-shows` | `channel:6442503658/new-shows` | New shows
| `/top-paid-shows` | `channel:6442503658/top-paid-shows` | Top paid shows
| `/top-episodes` | `channel:6442503658/top-episodes` | Top episodes
| `/top-free-episodes` | `channel:6442503658/top-free-episodes` | Top free episodes
| `/top-paid-episodes` | `channel:6442503658/top-paid-episodes` | Top paid episodes
| **podcast:<*PODCAST\_ID*>** | `podcast:160904630` | ***Podcast (Show) Data*** |
| `/info` | `podcast:160904630/info` | Show info
| `/episodes` | `podcast:160904630/episodes` | Show episodes
| `/related` | `podcast:160904630/related` | Related shows
| `/artists` | `podcast:160904630/artists` | Show artists
| `/reviews` | `podcast:160904630/reviews` | Show reviews
| `/trailers` | `podcast:160904630/trailers` | Show trailers
| `/participants` | `podcast:160904630/participants` | Show participant
| `/seasons` | `podcast:160904630/seasons` | Show seasons
| **episode:<*EPISODE\_ID*>** | `episode:1000664265055` | ***Episode Data*** |
| `/info` | `episode:1000664265055/info` | Episode info (default)
| `/podcast` | `episode:1000664265055/podcast` | Episode podcast
| `/artists` | `episode:1000664265055/artists`  | Episode artists
| `/participants` | `episode:1000664265055/participants` | Episode participants
| ***artist:<*ARTIST\_ID*>*** | `artist:204040224` | ***Artist Data***
| `/info` | `artist:204040224/info` | Artist info
| `/podcasts` | `artist:204040224/podcasts` | Artist podcasts
| `/episodes` | `artist:204040224/episodes` | Artist episodes
| ***genre:list*** | `genre:list` | ***Genre List***
| ***genre:<*GENRE\_ID*>*** | `genre:1301` | ***Genre Data***
| `/info` | `genre:1301/info` | Genre info
| `/podcasts` | `genre:1301/podcasts` | Genre top podcasts (default)
| `/episodes` | `genre:1301/episodes` | Genre top episodes
| **https:<*URL*>** | `https://podcasts.apple.com/...` | ***Start URL*** |

### 🍎 Input Examples

<img width="240" src="https://www.healthprochiro.com/wp-content/uploads/2022/09/under-const.jpg">

### 🍎 Output Samples

#### 🍿 PODCAST

```yaml
{
    "artistName": "CXO Media",
    "artists": [],
    "artwork": "https://is1-ssl.mzstatic.com/image/thumb/Podcasts122/v4/81/69/75/816975be-0af1-8bdd-44f9-18aa5bd67703/mza_2306394790357257423.jpg/320x320bb.webp",
    "categories": [
        {
            "id": "6473748294",
            "name": "Personal Journals",
            "type": "categories",
            "url": "https://podcasts.apple.com/us/grouping/personal-journals/194147"
        },
        {
            "id": "6473764237",
            "name": "Podcasts",
            "type": "categories",
            "url": "https://podcasts.apple.com/us/grouping/podcasts/33"
        },
        {
            "id": "6473748311",
            "name": "Society & Culture",
            "type": "categories",
            "url": "https://podcasts.apple.com/us/grouping/society-culture/179580"
        }
    ],
    "channel": [],
    "completed": false,
    "contentRating": "clean",
    "copyright": "© CXO Media",
    "createdDate": "2020-08-06",
    "description": {
        "standard": "Selamat datang di Ngobrol Sore Semaunya, menyajikan obrolan tak terduga dan dibawakan dengan semaunya.\n|Hosted by Putri Tanjung| part of CXO Media"
    },
    "displayType": "free",
    "editorialArtwork": {},
    "feedUrl": "https://anchor.fm/s/29279ba0/podcast/rss",
    "genreNames": [
        "Personal Journals",
        "Podcasts",
        "Society & Culture"
    ],
    "genres": [
        {
            "id": "1324",
            "name": "Society & Culture",
            "parentId": "26",
            "parentName": "Podcasts",
            "type": "genres",
            "url": "https://itunes.apple.com/us/genre/id1324"
        }
    ],
    "id": "1526729635",
    "kind": "episodic",
    "languageTag": "id-ID",
    "name": "Ngobrol Sore Semaunya",
    "offers": [
        {
            "kind": "get",
            "type": "STDQ"
        }
    ],
    "podcast-seasons": [
        {
            "episodeCount": 1,
            "id": "1526729635-62",
            "season": 62,
            "type": "podcast-seasons"
        },
        {
            "episodeCount": 64,
            "id": "1526729635-2",
            "season": 2,
            "type": "podcast-seasons"
        },
        {
            "episodeCount": 3,
            "id": "1526729635-1",
            "season": 1,
            "type": "podcast-seasons"
        }
    ],
    "releaseDateTime": "2025-04-08T04:57:00Z",
    "releaseFrequency": "Updated Biweekly",
    "seasonNumbers": [
        1,
        2,
        62
    ],
    "subscribable": true,
    "subscriptionUrl": "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/subscribePodcast?cc=us&id=1526729635",
    "trackCount": 179,
    "type": "podcasts",
    "url": "https://podcasts.apple.com/us/podcast/ngobrol-sore-semaunya/id1526729635",
    "userRating": {
        "ariaLabelForRatings": "5.0 stars",
        "ratingCount": 2,
        "ratingCountList": [
            0,
            0,
            0,
            0,
            2
        ],
        "value": 5
    },
    "websiteUrl": "https://www.cxomedia.id/"
}
```

#### 🍿 EPISODE

```yaml
{
    "artistName": "CXO Media",
    "artwork": "https://is1-ssl.mzstatic.com/image/thumb/Podcasts221/v4/c3/e7/22/c3e722b7-730b-9564-6327-fcab720daa30/mza_12343934463904492094.jpg/320x320bb.webp",
    "artworkOrigin": "episode",
    "assetUrl": "https://anchor.fm/s/29279ba0/podcast/play/100996949/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-3-8%2F398023319-44100-2-6b1755d9ed4e5.mp3",
    "channel": [],
    "contentAdvisory": "",
    "contentRating": "clean",
    "copyright": "CXO Media",
    "description": {
        "short": "",
        "standard": "Selamat datang di Ngobrol Sore Semaunya Episode 184 Spesial Ramadan!Selamat menjalankan ibadah puasa di bulan suci Ramadan!Di episode spesial Ramadan kali ini kita kedatangan seorang sosok yang dikenal kritis dan pintar, Raymond Chin. Banyak obrolan insightful tentang makna hidup, logika, kepercayaan, dan spiritual journey Raymond sebagai seorang muslim. Penasaran? Yuk ikuti keseruan obrolannya!Follow Us!Instagram: https://www.instagram.com/ngobrolsoresemaunyaTikTok: https://www.tiktok.com/@ngobrolsoresemaunyaNgobrol Sore Semaunya hadir setiap Kamis jam 18.00 WIB hanya di cxomedia.id & YouTube CXO Media#NgobrolSoreSemaunya #PutriTanjung #RaymondChin #SpesialRamadan"
    },
    "durationInMilliseconds": 3497000,
    "episodeNumber": 184,
    "genreNames": [
        "Personal Journals"
    ],
    "guid": "29720c00-5baf-4a1c-a766-f9c2a7e4480a",
    "id": "1000702664655",
    "kind": "full",
    "mediaKind": "audio",
    "name": "But Being Smart Is a Choice | Raymond Chin - NSS Ep. 184",
    "offers": [
        {
            "kind": "get",
            "type": "STDQ"
        }
    ],
    "releaseDateTime": "2025-04-08T07:47:44Z",
    "subscribable": true,
    "type": "podcast-episodes",
    "url": "https://podcasts.apple.com/us/podcast/but-being-smart-is-a-choice-raymond-chin-nss-ep-184/id1526729635?i=1000702664655",
    "websiteUrl": "https://podcasters.spotify.com/pod/show/ngobrol-sore-semaunya/episodes/But-Being-Smart-Is-a-Choice--Raymond-Chin---NSS-Ep--184-e318mcl"
}
```

### 🍎 Support

⚡️ Feel free to [reach out](https://console.apify.com/actors/CjbLb7cl5Rk99cF4P/issues) to the developer for any issues or suggestions for improvement.

<img src="https://apify-uploads-prod.s3.us-east-1.amazonaws.com/5SxZhwYwpknFk8ek9-cat.gif" width="240">

# Actor input Schema

## `query` (type: `array`):

💡 Search Terms, Query, or Start URL(s)

## `example` (type: `string`):

💡 Query Examples

## `limit` (type: `integer`):

💡 Number of results

## `filters.kind` (type: `string`):

No description

## `country` (type: `string`):

💡 Country and Language <code>(default to English-United States)</code>

## `dev_proxy_config` (type: `object`):

💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>

## `dev_custom_headers` (type: `array`):

💡 Additional HTTP Headers

## `dev_custom_cookies` (type: `array`):

💡 Additional HTTP Cookies

## `dev_transform_fields` (type: `array`):

💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>

## `dev_dataset_name` (type: `string`):

💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>

## `dev_dataset_clear` (type: `boolean`):

Clear Dataset before insert/update.

## `dev_no_strip` (type: `boolean`):

💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>

## Actor input object example

```json
{
  "query": [
    "square pants"
  ],
  "limit": 5
}
```

# 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 = {
    "query": [
        "square pants"
    ],
    "limit": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("jupri/apple-podcast").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 = {
    "query": ["square pants"],
    "limit": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("jupri/apple-podcast").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 '{
  "query": [
    "square pants"
  ],
  "limit": 5
}' |
apify call jupri/apple-podcast --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jupri/apple-podcast"
        }
    }
}

```

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/CjbLb7cl5Rk99cF4P/builds/u1VmCHkGg2RBj12sf/openapi.json
