# Apple Podcasts Search & Top Charts (`nordic-data/apple-podcasts-search`) Actor

Search Apple Podcasts by keyword, look up shows by id and pull Apple's top charts for any country. Adds RSS feed details: website, language, owner contact email, categories and latest episodes. $0.0029 per podcast.

- **URL**: https://apify.com/nordic-data/apple-podcasts-search.md
- **Developed by:** [Niklas Bergström](https://apify.com/nordic-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.90 / 1,000 podcasts

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

## Apple Podcasts Search & Top Charts

Find podcasts on **Apple Podcasts** by keyword, look up specific shows by id or URL, and pull **Apple's current top podcast charts for any country**. Every show can be enriched from its public RSS feed with the description, website, language, author, **owner name and contact email** (as published by the podcaster), categories, episode count and the latest episodes.

**$0.0029 per podcast.** Feed enrichment and episode lists are included. Invalid ids, searches with no results and duplicates are free.

### What you get

| Field | Meaning |
|---|---|
| `appleId`, `name`, `artist`, `appleUrl`, `artworkUrl` | The show on Apple Podcasts |
| `primaryGenre`, `genres`, `episodeCount`, `latestReleaseDate`, `explicit`, `chartRank` | Apple metadata (chart rank for top-chart queries) |
| `feedUrl` | The public RSS feed |
| `description`, `website`, `language`, `author`, `ownerName`, `ownerEmail`, `feedCategories`, `episodeCountInFeed`, `lastEpisodeTitle`, `lastEpisodeDate` | From the RSS feed (toggle *Read each show's public RSS feed*) |
| `latestEpisodes` | Optional: title, date, duration and audio URL of the latest episodes |

### Use cases

- **Podcast guest booking and PR:** build lists of active shows in a niche with their website and contact email.
- **Sponsorship and advertising research:** track which shows are climbing the charts in each country.
- **Market and content research:** analyse genres, publishing frequency and languages.
- **Directories and apps:** keep a podcast catalogue fresh with artwork, feeds and latest episodes.

### Input example

```json
{
  "searchTerms": ["true crime", "startup"],
  "podcastIds": ["https://podcasts.apple.com/us/podcast/lex-fridman-podcast/id1434243584"],
  "topChartCountries": ["se", "gb"],
  "chartSize": 25,
  "country": "US",
  "maxResultsPerSearch": 50,
  "fetchFeedDetails": true,
  "latestEpisodes": 3
}
```

### Output example

```json
{
  "recordType": "podcast",
  "appleId": 1434243584,
  "name": "Lex Fridman Podcast",
  "artist": "Lex Fridman",
  "appleUrl": "https://podcasts.apple.com/us/podcast/lex-fridman-podcast/id1434243584",
  "feedUrl": "https://lexfridman.com/feed/podcast/",
  "primaryGenre": "Technology",
  "genres": ["Technology", "Science"],
  "episodeCount": 504,
  "latestReleaseDate": "2026-11-10T23:52:00Z",
  "website": "https://lexfridman.com/",
  "language": "en-US",
  "ownerEmail": "…",
  "episodeCountInFeed": 504,
  "lastEpisodeDate": "Tue, 10 Nov 2026 23:52:44 +0000",
  "query": "1434243584",
  "queryType": "lookup"
}
```

(Example values.)

### How it works

The Actor uses Apple's official public endpoints (the iTunes Search and Lookup APIs and the Apple Marketing Tools RSS charts) and then reads each show's public RSS feed. No login, no browser, no API key. Requests to Apple are paced (about 20 per minute) to respect Apple's limits; the Search API returns at most 200 shows per term. Contact emails are what podcasters publish in their own feeds; use them in line with GDPR and anti-spam rules.

### Related Actors

- [Website Contact Details Extractor](https://apify.com/nordic-data/website-contact-details-extractor): find more contacts on the shows' websites.
- [Bluesky Scraper](https://apify.com/nordic-data/bluesky-scraper)
- [Link Preview & Open Graph Extractor](https://apify.com/nordic-data/link-preview-extractor)

# Changelog

This Actor's version history is a separate document: https://apify.com/nordic-data/apple-podcasts-search/changelog.md

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords, show names or host names, e.g. 'true crime', 'startup', 'Lex Fridman'.

## `podcastIds` (type: `array`):

Look up specific shows, e.g. 1434243584 or https://podcasts.apple.com/us/podcast/…/id1434243584.

## `topChartCountries` (type: `array`):

Get Apple's current top podcasts chart for these countries, e.g. us, gb, se, de.

## `chartSize` (type: `integer`):

How many chart positions per country (1-100).

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

Two-letter Apple storefront for searches and lookups, e.g. US, GB, SE.

## `maxResultsPerSearch` (type: `integer`):

1-200 (Apple's limit).

## `fetchFeedDetails` (type: `boolean`):

Adds description, website, language, author, owner name and contact email (as published in the feed), categories, episode count and the latest episode. Same price.

## `latestEpisodes` (type: `integer`):

Add up to this many latest episodes (title, date, duration, audio URL) per show from the feed (0-50).

## Actor input object example

```json
{
  "searchTerms": [
    "web scraping"
  ],
  "chartSize": 25,
  "country": "US",
  "maxResultsPerSearch": 50,
  "fetchFeedDetails": true,
  "latestEpisodes": 0
}
```

# Actor output Schema

## `results` (type: `string`):

Main results (view: Overview).

## `runStats` (type: `string`):

Counts of delivered, hidden, invalid, duplicate and failed inputs.

# 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 = {
    "searchTerms": [
        "web scraping"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nordic-data/apple-podcasts-search").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 = { "searchTerms": ["web scraping"] }

# Run the Actor and wait for it to finish
run = client.actor("nordic-data/apple-podcasts-search").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 '{
  "searchTerms": [
    "web scraping"
  ]
}' |
apify call nordic-data/apple-podcasts-search --silent --output-dataset

```

## MCP server setup

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

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/6ORNdc9gQC936MlGH/builds/YiUy0qcgHbRfWWiR2/openapi.json
