# Playlists

URL: https://docs.boldvideo.com/sdk/playlists



The `playlists` namespace reads the playlists you curate in the [admin panel](/guides/collections-playlists#playlists).

## `playlists.list()`

```typescript
const { data: playlists } = await bold.playlists.list();

for (const playlist of playlists) {
  console.log(playlist.title, playlist.videos.length);
}
```

## `playlists.get(id)`

```typescript
const { data: playlist } = await bold.playlists.get('playlist-id');

console.log(playlist.title);
for (const video of playlist.videos) {
  console.log(video.title); // in the order you arranged them
}
```

## Featured playlists

The playlists you mark as featured (Settings → Featured Playlists) come back with your channel settings, ready for a homepage:

```typescript
const settings = await bold.settings();
for (const playlist of settings.featuredPlaylists) {
  renderRow(playlist);
}
```

Full type definitions in [Types](/sdk/types).
