Apple Music scraper API
The InsightSocial Apple Music API has 4 endpoints, from 20 credits a call. A artist call costs 20 credits, about $0.02 on Pro, and your first 10 calls up to 100 credits each are free.
The Apple Music catalog API for artists, albums and tracks, as JSON: an artist's top songs and albums, a release in full, and keyword search. No MusicKit developer token.
4 endpoints · from 20 credits a call · 10 free calls up to 100 credits each · no credit card
curl "https://api.insightsocial.app/v1/applemusic/artist?artist_id=1000000001" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
What Apple Music data can you get?
Public Apple Music data only, in the same JSON envelope as every other platform. Every Apple Music endpoint is beta: inside data it returns Apple Music's own structure under our naming rules (snake_case keys, string ids, ISO times where Apple Music gives a timestamp), not the shared profile and post schema, and fields may change.
What people build with the Apple Music API
Release tracking
Read an artist's albums on a schedule to catch new singles and albums as they appear in the catalog.
Cross-service catalog checks
Look the same release up on Apple Music, Spotify and Deezer with one key to compare what each service lists.
Link resolution
Turn an Apple Music URL someone shared into the album or track behind it, with title, artist and length.
Apple Music API endpoints
All 4 Apple Music endpoints and their price in credits. Every one has a fixed price.
| Endpoint | Credits | What it returns |
|---|---|---|
| /album | 20 | Get an Apple Music album by id or album URL. |
| /artist | 20 | Get an Apple Music artist by id or artist URL. |
| /search | 20 | Search the Apple Music catalog by keyword. |
| /track | 20 | Get an Apple Music track by id or track URL. |
Parameters, response fields and examples for each endpoint are in the Apple Music API reference.
InsightSocial vs the official Apple Music API
The Apple Music API needs membership in the Apple Developer Program and a signed developer token from a MusicKit key, even for catalog reads.
| InsightSocial API | Official Apple Music API | |
|---|---|---|
| Setup | Sign in and copy a key | Apple Developer Program membership, a MusicKit key and a signed developer token |
| Built for | Catalog research next to Spotify, Deezer and the other platforms | Apps that play music for Apple Music subscribers |
| Cost per call | 20 credits | No per-call price; needs Apple Developer Program membership |
The official API is the right tool for posting, messaging or managing accounts you own. This one is read-only public data.
How much does the Apple Music API cost?
Apple Music calls start at 20 credits. Every endpoint's price is in the table above and in the free GET /v1/endpoints catalogue, so you know the cost before you call. Pro's 10,000 monthly credits cover about 500 artist lookups at 20 credits each.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Repeats and retries
A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
One balance
API calls and Chrome extension exports share the same credits. The free plan includes 500 a month.
Not writing code?
Connect InsightSocial to Claude or ChatGPT and ask for Apple Music data in plain English. Same account, same credits.
Apple Music API: frequently asked questions
Yes. /v1/applemusic/artist, /v1/applemusic/album and /v1/applemusic/track each take either the id or the URL you copy from Apple Music.
/v1/applemusic/search takes a keyword and returns matching catalog items. The type parameter narrows the results to one kind of item.
No. The API reads the public catalog only: artists, albums, tracks and search. A listener's library needs their own Apple Music sign-in.
They return the source's own record structure under our naming rules (snake_case keys, string ids, ISO times where a timestamp is given) rather than the shared profile and post entities, so fields may change. Every Apple Music endpoint is 20 credits a call. Calls that fail or find nothing are free.
No. There is no Apple Music app, OAuth flow or review. One API key in the x-api-key header works for Apple Music and the other 60 platforms.
Yes. Your first 10 calls priced at 100 credits or less are free, and the free plan includes 500 credits every month. No credit card is needed to get a key.
60 requests a minute and 10 requests in flight at once, per API key. Going over either returns a 429 with a Retry-After header, and a rejected request costs nothing. There is no daily quota: past those two limits, your credit balance is what bounds volume.
List endpoints return rows in data.items and a pagination object with next_cursor and has_more. Send next_cursor back unchanged as the cursor parameter for the next page, and stop when has_more is false. A handful of endpoints page with their own parameter instead; their reference pages name it.
No. A call that errors or finds nothing costs 0 credits. A live fetch costs the endpoint's price, or for a metered endpoint what it actually read. A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free.
A call fetches live unless a recent copy is in the shared cache, and every response says which with the cached field; a cached answer costs 2 credits. Add fresh=1 or send Cache-Control: no-cache to skip the cache; that call is charged at the normal price.
Collecting publicly available data is generally treated differently from accessing private data, but the answer depends on your jurisdiction, Apple Music's terms and what you do with personal data afterwards. The API reads public data only. Talk to a lawyer for anything commercial.
Apple Music API guides
The same key works for 60 more platforms
- TikTok scraper API
- LinkedIn scraper API
- Twitter/X scraper API
- YouTube scraper API
- Reddit scraper API
- Pinterest scraper API
- Bluesky scraper API
- Truth Social scraper API
- Snapchat scraper API
- Telegram scraper API
- Twitch scraper API
- Kick scraper API
- Rumble scraper API
- Kwai scraper API
- Douyin scraper API
- Xiaohongshu (RedNote) scraper API
- Quora scraper API
- TikTok Shop scraper API
- Weibo scraper API
- Zhihu scraper API
- Substack scraper API
- Nextdoor scraper API
- Amazon scraper API
- App Store scraper API
- Behance scraper API
- Dailymotion scraper API
- Deezer scraper API
- DEV Community scraper API
- Discord scraper API
- Dribbble scraper API
- Fandom scraper API
- Flickr scraper API
- GitHub scraper API
- Google Ads Transparency scraper API
- Google News scraper API
- Google Trends scraper API
- Gumroad scraper API
- Hacker News scraper API
- Hugging Face scraper API
- Ko-fi scraper API
- Lemmy scraper API
- Letterboxd scraper API
- Linktree scraper API
- Lnk.Bio scraper API
- Mastodon scraper API
- Medium scraper API
- MyAnimeList scraper API
- npm scraper API
- Polymarket scraper API
- Product Hunt scraper API
- Shopify scraper API
- SoundCloud scraper API
- Spotify scraper API
- Stack Overflow scraper API
- Stan Store scraper API
- Steam scraper API
- Vimeo scraper API
- Wikipedia scraper API
- Yahoo Finance scraper API
- Yelp scraper API