# Apple Music

> Search Apple Music and browse songs, albums, artists, playlists, charts, stations and storefronts.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/apple-music

## Actions

### Get album

Get album.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get artist

Get artist.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get charts

Get charts.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Types (`types`, list, required): Types. One or more of: `songs`, `albums`, `playlists`, `music-videos`.
- Genre (`genre`, text): Genre.
- Limit (`limit`, number): Limit. From 1 to 25.
- Offset (`offset`, text): Opaque offset returned in the service’s next-page link.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "results": {}
  }
}
```

### Get curator

Get curator.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get genres

Get genres.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Limit (`limit`, number): Limit. From 1 to 25.
- Offset (`offset`, text): Opaque offset returned in the service’s next-page link.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### Get music video

Get music video.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get playlist

Get playlist.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get record label

Get record label.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get search hints

Get search hints.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Term (`term`, text, required): Term.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "results": {
      "terms": []
    }
  }
}
```

### Get song

Get song.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get station

Get station.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### Get storefront

Get storefront.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": []
  }
}
```

### List album tracks

List album tracks.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List artist albums

List artist albums.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List artist music videos

List artist music videos.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List curator playlists

List curator playlists.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List playlist tracks

List playlist tracks.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List record label releases

List record label releases.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Resource ID (`resource_id`, text, required): The catalog resource ID from Search catalog or a related earlier step.
- Limit (`limit`, number): Limit. From 1 to 25.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### List storefronts

List storefronts.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 25.
- Offset (`offset`, text): Opaque offset returned in the service’s next-page link.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "data": [],
    "next": "example"
  }
}
```

### Search catalog

Search catalog.

**Inputs**

- Storefront (`storefront`, text, required): Storefront.
- Term (`term`, text, required): Term.
- Types (`types`, list, required): Types. One or more of: `songs`, `albums`, `artists`, `playlists`, `music-videos`, `stations`, `record-labels`, `curators`, `activities`, `apple-curators`.
- Limit (`limit`, number): Limit. From 1 to 25.
- Offset (`offset`, text): Opaque offset returned in the service’s next-page link.

**Outputs**

- `data` (object): The service response, including pagination metadata when present.

**Example output**

```json
{
  "data": {
    "results": {
      "albums": {
        "data": []
      },
      "artists": {
        "data": []
      },
      "curators": {
        "data": []
      },
      "music-videos": {
        "data": []
      },
      "playlists": {
        "data": []
      },
      "record-labels": {
        "data": []
      },
      "songs": {
        "data": []
      },
      "stations": {
        "data": []
      }
    }
  }
}
```
