Help Wizard

Step 1

NEXT STEP

Genres endpoint seems incomplete

Genres endpoint seems incomplete

Hi, it seems that there are missing values in the response of "Get Available Genre Seeds" endpoint.

 

Exemple

If you query the endpoint you get a fixed response :

{
  "genres": [
    "acoustic",
    "afrobeat",
    "alt-rock",
    "alternative",
    "ambient",
    "anime",
    "black-metal",
    "bluegrass",
    "blues",
    "bossanova",
    "brazil",
    "breakbeat",
    "british",
    "cantopop",
    "chicago-house",
    "children",
    "chill",
    "classical",
    "club",
    "comedy",
    "country",
    "dance",
    "dancehall",
    "death-metal",
    "deep-house",
    "detroit-techno",
    "disco",
    "disney",
    "drum-and-bass",
    "dub",
    "dubstep",
    "edm",
    "electro",
    "electronic",
    "emo",
    "folk",
    "forro",
    "french",
    "funk",
    "garage",
    "german",
    "gospel",
    "goth",
    "grindcore",
    "groove",
    "grunge",
    "guitar",
    "happy",
    "hard-rock",
    "hardcore",
    "hardstyle",
    "heavy-metal",
    "hip-hop",
    "holidays",
    "honky-tonk",
    "house",
    "idm",
    "indian",
    "indie",
    "indie-pop",
    "industrial",
    "iranian",
    "j-dance",
    "j-idol",
    "j-pop",
    "j-rock",
    "jazz",
    "k-pop",
    "kids",
    "latin",
    "latino",
    "malay",
    "mandopop",
    "metal",
    "metal-misc",
    "metalcore",
    "minimal-techno",
    "movies",
    "mpb",
    "new-age",
    "new-release",
    "opera",
    "pagode",
    "party",
    "philippines-opm",
    "piano",
    "pop",
    "pop-film",
    "post-dubstep",
    "power-pop",
    "progressive-house",
    "psych-rock",
    "punk",
    "punk-rock",
    "r-n-b",
    "rainy-day",
    "reggae",
    "reggaeton",
    "road-trip",
    "rock",
    "rock-n-roll",
    "rockabilly",
    "romance",
    "sad",
    "salsa",
    "samba",
    "sertanejo",
    "show-tunes",
    "singer-songwriter",
    "ska",
    "sleep",
    "songwriter",
    "soul",
    "soundtracks",
    "spanish",
    "study",
    "summer",
    "swedish",
    "synth-pop",
    "tango",
    "techno",
    "trance",
    "trip-hop",
    "turkish",
    "work-out",
    "world-music"
  ]
}

But when you use the "Get Artist" endpoint with "Perturbator"'s id, you get those genres :

  "genres": [
    "cyberpunk",
    "darksynth",
    "synthwave"
  ]

Which are not listed in the "Get Available Genre Seeds"

 

Is this an error ? Are the "genres seeds" a subset of genres ? Otherwise can another endpoint be opened with all the genres ?

 

Thanks in advance 

Reply
1 Reply

You can use the Get Available Genre Seeds endpoint with the Get Recommendations endpoint.

The genres you'll get with the Get Artist endpoint, are listed here.

Fun fact: when you are searching for tracks or artists, you can use the second genre list with the genre: parameter. You can also combine multiple genres at once to find tracks and artists that fall under all those genres.

Suggested posts