Apple Music Search API
Scrape Apple Music Search data with one API call. Returns Apple Music search results for a query. Pass `type` to restrict the result kind (for example song, album, or artist).
Last updated October 2026Maintained by the SocialCrawl team
Returns Apple Music search results for a query, optionally restricted by type such as song, album, or artist.
Use it to find a catalog item by keyword, then call artist, album, or track with an id or URL for the full record.
Searching 68 platforms in parallel
What can you do with the Search API?
The Search endpoint gives you structured Apple Music data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/apple_music/search?query=taylor+swift&type=song"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/apple_music/search",
params={
'query': 'taylor swift',
'type': 'song',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/apple_music/search?query=taylor+swift&type=song",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| query | Yes | Search query. |
| type | No | Optional result kind such as song, album, or artist. |
What does the Apple Music Search API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "apple_music",
"endpoint": "/v1/apple_music/search",
"data": {
"items": [
{
"id": "6814997425",
"kind": "song",
"title": "Patient Zero",
"subtitle": "Taylor Swift",
"album": null,
"url": "https://music.apple.com/us/album/patient-zero/6814997249?i=6814997425",
"artwork": {
"url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/a0/dd/fd/a0ddfd72-ee9e-f046-6466-a5dbefc696fa/26UM1IM21436.rgb.jpg/1200x1200bb.jpg",
"width": 3000,
"height": 3000,
"bgColor": "2b080c",
"textColor1": "e2a971",
"textColor2": "e5693c",
"textColor3": "bd895d",
"textColor4": "c05532"
},
"duration_ms": null,
"track_number": null,
"disc_number": null,
"artist_name": "Taylor Swift",
"explicit": false,
"preview_url": null,
"track_count": null
},
{
"id": "6814996161",
"kind": "song",
"title": "Cleveland!",
"subtitle": "Taylor Swift",
"album": null,
"url": "https://music.apple.com/us/album/cleveland/6814995859?i=6814996161",
"artwork": {
"url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/f1/a3/c7/f1a3c711-ff60-caee-2314-37c0dd3f7616/26UM1IM21436.rgb.jpg/1200x1200bb.jpg",
"width": 3000,
"height": 3000,
"bgColor": "2b080c",
"textColor1": "e2a971",
"textColor2": "e5693c",
"textColor3": "bd895d",
"textColor4": "c05532"
},
"duration_ms": null,
"track_number": null,
"disc_number": null,
"artist_name": "Taylor Swift",
"explicit": false,
"preview_url": null,
"track_count": null
}
],
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 20
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:55:54.092Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the Apple Music Search API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I search Apple Music with an API?
What does the Apple Music Search API return?
Can I filter Apple Music search by song, album, or artist?
How much does the Apple Music Search API cost?
Do I need MusicKit to search Apple Music?
Ask AI about SocialCrawl
Ready to scrape Apple Music Search data?
Get your API key and start pulling Apple Music data in under 60 seconds.
