
Scraping Podcast Charts: Spotify, Apple, and Chartable Data
Podcast analytics are notoriously opaque. Platforms guard their data closely. But by scraping public charts from Spotify, Apple Podcasts, and Chartable, you can build a comprehensive picture of what's trending in audio content. What We'll Track Top podcast rankings by category Chart movement and velocity Cross-platform performance comparisons Genre and category trends Setup pip install requests beautifulsoup4 pandas matplotlib Apple Podcasts Chart Scraper Apple Podcasts exposes chart data via a public RSS-like endpoint: import requests import time from datetime import datetime def scrape_apple_podcast_charts ( genre_id = 26 , country = " us " , limit = 100 ): """ Scrape Apple Podcasts top charts. Genre IDs: 26=All, 1301=Arts, 1303=Comedy, 1304=Education, 1307=Health, 1309=TV, 1311=Music, 1314=Religion, 1318=Technology, 1321=Business, 1324=Society, 1325=News """ url = ( f " https://rss.applemarketingtools.com/api/v2/ { country } " f " /podcasts/top/ { limit } /genre= { genre_id } /json
Continue reading on Dev.to Tutorial
Opens in a new tab



![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)