A modern API for music recommendations and sound processing built with Next.js. This API provides endpoints for getting music recommendations, similar tracks, and similar artists using the Last.fm API.
- Get top tracks by country
- Find similar tracks based on artist and track name
- Get similar artists recommendations
- OpenAPI documentation
- Multiple Last.fm API key support for load balancing
- Turborepo for faster builds
- Node.js 18+
- Last.fm API key(s)
- Clone the repository:
git clone https://github.com/idMJA/soundy-api.git
cd soundy-api- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install-
Set your Last.fm API key(s) in the
.envfile. -
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev- Access the API documentation at http://localhost:3000/.