# Apple Music — Search

Search Apple via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as query, type, and retrieve structured data including identifier, title, returned artist name field, returned duration ms field, and returned kind field for content research and account lookup, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/apple/apple-scrapecreators-search/029001c1-5fd2-4e90-ae2a-87ab392eedfd/
API ID: 029001c1-5fd2-4e90-ae2a-87ab392eedfd
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/apple-music/search
Page update time: 2026-12-03T02:50:41.076Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:50:40.597Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Apple Music — Search API

Search for Apple Music and returns public result sections for artists, albums, songs, playlists, stations, and music videos. Provide query in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `data.results[].id` | Identifier |
| `data.results[].title` | Title |
| `data.results[].artist_name` | Returned artist name field |
| `data.results[].duration_ms` | Returned duration ms field |
| `data.results[].kind` | Returned kind field |
| `data.results[].url` | Returned URL |
| `data.query` | Search query |
| `data.type` | Returned type field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Apple Music — Search request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string",
          "description": "Search query"
        },
        "type": {
          "type": "string",
          "description": "Result type to return. Use all, song, album, artist, playlist, station, music_video, or radio_episode."
        }
      },
      "required": [
        "query"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        },
        "results": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "artist_name": {
                "type": "string"
              },
              "duration_ms": {
                "type": "integer"
              },
              "id": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          }
        },
        "type": {
          "type": "string"
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v1/apple-music/search?query=taylor+swift&type=song' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "credits_charged": 1,
  "credits_remaining": 49996588521,
  "data": {
    "query": "taylor swift",
    "results": [
      {
        "artist_name": "Taylor Swift",
        "duration_ms": 226000,
        "id": "1833328840",
        "kind": "song",
        "title": "The Fate of Ophelia",
        "url": "https://music.apple.com/us/album/the-fate-of-ophelia/1833328839?i=1833328840"
      }
    ],
    "type": "song"
  },
  "success": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide query in query (string). Keep identifiers and URLs in the formats documented for this implementation.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- scrapecreators: https://openany.si/apple/apple-scrapecreators-search/029001c1-5fd2-4e90-ae2a-87ab392eedfd/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
