# JohnnyCrazy/SpotifyAPI-NET

:sound: A Client for the Spotify Web API, written in C#/.NET

Repository: https://github.com/JohnnyCrazy/SpotifyAPI-NET
Canonical: https://ross.abutalabs.com/products/spotifyapi-net
Homepage: http://johnnycrazy.github.io/SpotifyAPI-NET/
Language: C#
License: MIT
License Family: permissive
Topics: spotify, c-sharp, music, spotifyapi-net, dotnet-core, spotify-web-api, spotify-web, spotify-api, spotifyapi, spotify-sdk, csharp, dotnet
Last push: 2026-05-06T21:27:33+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 81, release rhythm 73, longevity 100
- inputs: {"age_days": 4600, "days_push": 119, "days_rel": 182, "gap_med": 16, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1613, forks 314 (observed 2026-08-28T04:05:11.140248+00:00)

## What it is
SpotifyAPI-NET is an open-source C#/.NET client library for the Spotify Web API, providing fully typed requests and responses for over 74 endpoints. It supports all OAuth2 authentication flows, pagination, retry handlers, and runs on any .NET Standard 2.X platform including .NET Core, .NET Framework, UWP, and Xamarin.Forms.

## Use cases
- query spotify catalog for tracks albums and playlists from c#
- manage a user's spotify library and create or edit playlists programmatically
- control spotify playback like play pause and transferring devices
- authenticate a .net app with spotify using oauth2
- paginate through large spotify playlist or library results
- build a music app that integrates with spotify on mobile via xamarin

## When to choose
- you are building a .NET application (C#, VB.NET, F#) that needs Spotify Web API access
- you want typed, strongly-modeled API responses instead of raw HTTP calls
- you need cross-platform support including mobile via .NET Standard 2.X
- you need all OAuth2 flows for both ASP.NET web apps and CLI apps

## When to avoid
- your project is not on the .NET platform
- you only need simple unauthenticated metadata lookups and want a lighter-weight raw HTTP approach
- you need Spotify features outside the Web API, such as local playback control of the desktop client

## Facets
- artifact type: library
- maturity: active
- function: http-client, auth, sdk
- domain: apis, web-development, media, developer-tools
- platform: dotnet, cross-platform
- tags: spotify, spotify-web-api, music, oauth2, nuget, api-client

## Member repositories
- JohnnyCrazy/SpotifyAPI-NET (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.140248+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:51:04.719232+00:00, confidence not recorded.
  - readme: https://github.com/JohnnyCrazy/SpotifyAPI-NET (fetched 2026-08-28T04:05:11.140248+00:00, sha 70467d061669)
  - homepage: http://johnnycrazy.github.io/SpotifyAPI-NET/ (fetched 2026-08-29T11:22:46.587327+00:00, sha eb11d437e884)
- Data as of 2026-08-30T08:39:29.467469+00:00.
