# Embed player page
URL: https://musicapi.com/docs/reference/get-embed-player.md

`GET https://api.musicapi.com/public/embed/{resourceType}/{resourceId}`

Section: Search and match the catalog.
Product: MusicAPI Core.
Auth: none.

The HTML that the iframe of `POST /public/embed/url` loads. You rarely call it yourself: use the `embedUrl` from that answer.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `resourceType` | track \\| album \\| artist | yes |  |
| `resourceId` | number | yes |  |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `height` | number | yes |  |

## Response 200

The player (HTML).

## Errors

- 400: Unknown resource.

## Example

```bash
curl https://api.musicapi.com/public/embed/{resourceType}/{resourceId}
```
