# Apple Music Search API (https://www.socialcrawl.dev/platforms/apple_music/search) > Returns Apple Music search results for a query. Pass `type` to restrict the result kind (for example song, album, or artist). TL;DR: `GET /v1/apple_music/search` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `query` | yes | Search query. | | `type` | no | Optional result kind such as song, album, or artist. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/apple_music/search?query=taylor%20swift" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I search Apple Music with an API? Send a GET request to /v1/apple_music/search with a required query parameter. Optional type restricts hits to song, album, or artist. SocialCrawl returns the catalog hits as unified JSON, no MusicKit required. ### What does the Apple Music Search API return? Search returns a single-page list of catalog hits for the query. Pass type to narrow the kind. Use an id or URL from a hit on artist, album, or track when you need the full record. ### Can I filter Apple Music search by song, album, or artist? Yes. Pass type=song, type=album, or type=artist. Omit type when you want Apple Music's mixed catalog hits for the query. ### How much does the Apple Music Search API cost? Each request costs 1 credit on the standard tier. New accounts include 100 free credits with no credit card, which covers about 100 searches. ### Do I need MusicKit to search Apple Music? No. Official catalog search needs a developer token. SocialCrawl replaces that with one x-api-key header that also works on every other SocialCrawl platform. See the full Apple Music API: https://www.socialcrawl.dev/platforms/apple_music ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How to search Apple Music catalog via API without MusicKit - What does the SocialCrawl Apple Music Search API return?