# Spotify Recommendations Scraper (`musicae/spotify-recommendations-scraper`) Actor

Get Spotify 🎯 Recommendations from seed tracks, artists or genres. ✅ 99% success rate. ⚡ Results in seconds. 📦 Clean output.

- **URL**: https://apify.com/musicae/spotify-recommendations-scraper.md
- **Developed by:** [Musicae](https://apify.com/musicae) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🎯 Spotify Recommendations Scraper

**Generate Spotify song recommendations from any seed, restored after the November 2024 deprecation.** Feed it tracks, artists, or genres and get back a list of recommended songs, tunable by energy, mood, and tempo. A drop-in alternative to Spotify's removed `recommendations` endpoint.

No Spotify developer account needed. No API key, no OAuth. Just paste your seeds and hit **Run**.

---

### ⚡ Why this scraper?

In November 2024 Spotify **removed public access** to its `recommendations` (and `related-artists`) endpoints, breaking discovery features, playlist generators, and "more like this" tools everywhere. This scraper **restores that capability**: same idea, same seed-and-tune model, no API key.

- 🎯 **Seed-based recommendations**: combine up to 5 seeds across **tracks, artists, and genres**.
- 🎚️ **Tunable**: steer results toward a **target energy, danceability, mood (valence), tempo, or popularity**.
- 🔎 **"More like this"**: seed a single track to find acoustically and stylistically similar songs.
- 🔀 **Flexible seeds**: tracks and artists accept Spotify **URLs, IDs, ISRCs, or search keywords**, mix and match.
- 🎛️ **Optional audio features**: attach the full Spotify audio-features object to every recommendation.
- 📦 **Clean, bulk output**: one row per recommended track as JSON, CSV, or Excel.

---

### 🏆 How it compares

| Feature | This scraper | Spotify Web API | Other scrapers |
|---|:---:|:---:|:---:|
| 🎯 Recommendations | ✅ | ❌ Deprecated (Nov 2024) | ❌ Most can't |
| 🎚️ Tune by energy / mood / tempo | ✅ | ❌ | ❌ |
| 🔑 API key / OAuth required | ❌ None | ✅ Required | ⚠️ Varies |
| 🏷️ Seed by ISRC or keyword | ✅ | ❌ | ❌ |
| 🎛️ Audio features on results | ✅ | ❌ | ❌ |
| 📦 Bulk + JSON/CSV/Excel | ✅ | ⚠️ Manual | ⚠️ Varies |

---

### 🚀 How to use

1. **Add your seeds**: paste seed tracks, artists, and/or genres (1 to 5 total). Tracks and artists accept URLs, IDs, ISRCs, or keywords.
2. **Tune (optional)**: set a target energy, danceability, mood, tempo, or popularity to steer the results.
3. **Run**: click Start and get recommendations back in seconds.

#### ⚙️ Options

| Option | Default | Description |
|---|:---:|---|
| 🔢 **Number of recommendations** | `20` | How many tracks to return (1 to 100) |
| 🎛️ **Include Audio Features** | ⬜ Off | Attach the full audio-features object to each result |
| 🌍 **Market** | None | Optional ISO 3166-1 country code to bias availability |
| 🎚️ **Target Energy / Danceability / Valence** | None | 0.0 to 1.0, steer the sound and mood |
| 🎚️ **Target Tempo / Popularity** | None | BPM / 0 to 100, steer pace and mainstream-ness |

#### Seed examples

````

https://open.spotify.com/track/0DiWol3AO6WpXZgp0goxAV   (seed track)
GBDUW0000053                                              (seed track by ISRC)
Daft Punk                                                (seed artist by keyword)

````
Plus genres like `house`, `techno`, `pop` in the Seed Genres field.

---

### 📤 Output

Each result is a recommended track. Results are pushed to the **dataset** and saved as **individual JSON files** in the key-value store (e.g. `track_2ROOY8gz4WMnFhTYpKzqwf.json`).

```json
{
    "name": "Music Sounds Better With You",
    "type": "track",
    "url": "https://open.spotify.com/track/2ROOY8gz4WMnFhTYpKzqwf",
    "image": "https://i.scdn.co/image/ab67616d0000b273...",
    "success": true,
    "result": "1/20",
    "mode": "recommendation",
    "target": "tracks:0DiWol3AO6WpXZgp0goxAV",
    "error": null,
    "track": {
        "track_image": "https://i.scdn.co/image/ab67616d0000b273...",
        "track_name": "Music Sounds Better With You",
        "track_id": "2ROOY8gz4WMnFhTYpKzqwf",
        "track_url": "https://open.spotify.com/track/2ROOY8gz4WMnFhTYpKzqwf",
        "track_uri": "spotify:track:2ROOY8gz4WMnFhTYpKzqwf",
        "track_isrc": "GBDUW0000059",
        "track_popularity": 74
    },
    "audio_features": null
}
````

Enable **Include Audio Features** to populate the `audio_features` object on every recommendation. Available as **JSON**, **CSV**, **Excel**, or via the **Apify API** and **dataset exports**.

***

### 💡 Use cases

- 🎶 **Playlist generation**: turn a few seed tracks into a full, mood-matched playlist.
- 🔁 **"More like this"**: power a recommendation widget from a single song.
- 🤖 **Discovery & ML**: build training sets of seed-to-recommendation pairs, or feature-tuned candidate pools.
- 📻 **Radio / autoplay**: generate continuous, style-consistent track queues.
- 🛠️ **App migration**: restore the recommendation flow your app lost when Spotify deprecated the endpoint.
- 📊 **A\&R / curation**: find adjacent artists and tracks within a target energy or popularity band.

***

### ❓ FAQ

**Do I need a Spotify account or API key?**
No. No developer account, no token, no OAuth, just paste your seeds and **Run**.

**Spotify deprecated recommendations in Nov 2024, how does this still work?**
This scraper restores the seed-based recommendation flow and returns recommended tracks in clean Spotify-style JSON, so existing logic keeps working.

**What can I use as a seed?**
Up to 5 seeds total, in any mix of tracks, artists, and genres. Tracks and artists accept URLs, IDs, ISRCs, or search keywords.

**How is "find similar songs" done?**
Just seed one (or more) tracks, and the recommendations are generated to match them, which is exactly "more like this".

**Can I control the sound of the results?**
Yes. Set a target energy, danceability, mood (valence), tempo, or popularity to steer the recommendations.

**Can I get audio features for the results?**
Yes. Enable **Include Audio Features** to attach the full audio-features object to each recommended track.

**What formats can I export?**
JSON, CSV, Excel, or via the Apify API and dataset exports.

***

### 🔌 Integrations

Connect results to your existing workflow:

- 📗 **Google Sheets**: Auto-export results to a spreadsheet
- 🪝 **Webhooks**: Trigger downstream actions when a run completes
- ⚡ **Zapier / Make**: Plug into 1000+ apps
- 🛠️ **API**: Fetch results programmatically from any language
- 🔄 **Scheduled runs**: Refresh recommendation sets on a schedule

# Actor input Schema

## `seedTracks` (type: `array`):

Seed tracks to base recommendations on (find songs like these). One entry per line.

## `seedArtists` (type: `array`):

Seed artists to base recommendations on. One entry per line.

## `seedGenres` (type: `array`):

Seed genres to base recommendations on (e.g. house, techno, pop). One entry per line.

## `targetEnergy` (type: `string`):

Bias toward this energy level, e.g. 0.8 for high-energy, 0.2 for calm.

## `targetDanceability` (type: `string`):

Bias toward this danceability, e.g. 0.8 for very danceable.

## `targetValence` (type: `string`):

Bias toward this mood, e.g. 0.9 for happy or positive, 0.2 for moody.

## `targetTempo` (type: `integer`):

Bias toward this tempo in beats per minute, e.g. 128.

## `targetPopularity` (type: `integer`):

Bias toward this popularity level, e.g. 80 for mainstream, 20 for deep cuts.

## `limit` (type: `integer`):

How many recommended tracks to return (1 to 100).

## `includeAudioFeatures` (type: `boolean`):

Attach the full Spotify audio-features object (tempo, key, energy, danceability, valence and more) to each recommended track.

## `market` (type: `string`):

Optional ISO 3166-1 alpha-2 country code (e.g. US, GB, FR) to bias track availability.

## `proxyConfiguration` (type: `object`):

Select proxies to be used by the scraper. Apify Proxy is enabled by default.

## Actor input object example

```json
{
  "seedTracks": [
    "https://open.spotify.com/track/0DiWol3AO6WpXZgp0goxAV"
  ],
  "limit": 20,
  "includeAudioFeatures": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "seedTracks": [
        "https://open.spotify.com/track/0DiWol3AO6WpXZgp0goxAV"
    ],
    "limit": 20,
    "includeAudioFeatures": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("musicae/spotify-recommendations-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "seedTracks": ["https://open.spotify.com/track/0DiWol3AO6WpXZgp0goxAV"],
    "limit": 20,
    "includeAudioFeatures": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("musicae/spotify-recommendations-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "seedTracks": [
    "https://open.spotify.com/track/0DiWol3AO6WpXZgp0goxAV"
  ],
  "limit": 20,
  "includeAudioFeatures": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call musicae/spotify-recommendations-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=musicae/spotify-recommendations-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Spotify Recommendations Scraper",
        "description": "Get Spotify 🎯 Recommendations from seed tracks, artists or genres. ✅ 99% success rate. ⚡ Results in seconds. 📦 Clean output.",
        "version": "1.0",
        "x-build-id": "0PMumr0JVb7ZIx5Wi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/musicae~spotify-recommendations-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-musicae-spotify-recommendations-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/musicae~spotify-recommendations-scraper/runs": {
            "post": {
                "operationId": "runs-sync-musicae-spotify-recommendations-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/musicae~spotify-recommendations-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-musicae-spotify-recommendations-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "seedTracks": {
                        "title": "🎵 Seed Tracks (URLs, IDs, ISRCs, or keywords)",
                        "type": "array",
                        "description": "Seed tracks to base recommendations on (find songs like these). One entry per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "seedArtists": {
                        "title": "🎤 Seed Artists (URLs, IDs, or keywords)",
                        "type": "array",
                        "description": "Seed artists to base recommendations on. One entry per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "seedGenres": {
                        "title": "🏷️ Seed Genres",
                        "type": "array",
                        "description": "Seed genres to base recommendations on (e.g. house, techno, pop). One entry per line.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "targetEnergy": {
                        "title": "Target Energy (0.0 to 1.0)",
                        "type": "string",
                        "description": "Bias toward this energy level, e.g. 0.8 for high-energy, 0.2 for calm."
                    },
                    "targetDanceability": {
                        "title": "Target Danceability (0.0 to 1.0)",
                        "type": "string",
                        "description": "Bias toward this danceability, e.g. 0.8 for very danceable."
                    },
                    "targetValence": {
                        "title": "Target Valence / Mood (0.0 to 1.0)",
                        "type": "string",
                        "description": "Bias toward this mood, e.g. 0.9 for happy or positive, 0.2 for moody."
                    },
                    "targetTempo": {
                        "title": "Target Tempo (BPM)",
                        "minimum": 0,
                        "maximum": 300,
                        "type": "integer",
                        "description": "Bias toward this tempo in beats per minute, e.g. 128."
                    },
                    "targetPopularity": {
                        "title": "Target Popularity (0 to 100)",
                        "minimum": 0,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Bias toward this popularity level, e.g. 80 for mainstream, 20 for deep cuts."
                    },
                    "limit": {
                        "title": "Number of recommendations",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many recommended tracks to return (1 to 100).",
                        "default": 20
                    },
                    "includeAudioFeatures": {
                        "title": "🎛️ Include Audio Features",
                        "type": "boolean",
                        "description": "Attach the full Spotify audio-features object (tempo, key, energy, danceability, valence and more) to each recommended track.",
                        "default": false
                    },
                    "market": {
                        "title": "🌍 Market",
                        "type": "string",
                        "description": "Optional ISO 3166-1 alpha-2 country code (e.g. US, GB, FR) to bias track availability."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxies to be used by the scraper. Apify Proxy is enabled by default."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
