Skip to content

API: /playlists/search endpoint dose not return albums #8842

Open

Description

@Funasitien

https://discoveryprovider.audius.co/v1/playlists/search?query=Funasitien only return albums, wheras https://discoveryprovider.audius.co/v1/full/search/full?query=Funasitien did return an album

But Funasitien, this is not the album endpoint, this is the playlist one!

The issue is there is no album endpoint existing. I belive that albums are also playslit, but are wrongly indexed (the is_album value exist in the playlist shema, sooo)

Activity

  1. sliptype commented on Jun 14, 2024

    @sliptype
    Contributor

    Thanks for the report! You are correct that albums and playlists are both using the same schema. We refer to them as "collections" internally but haven't updated the api to reflect that.

    I would recommend using the full search endpoint and using the albums field in the response. I'll create a ticket to fix the playlists/search endpoint!

  2. DOGECOIN87 commented on Oct 13, 2026

    @DOGECOIN87

    /v1/playlists/search now excludes albums (it filters is_album = false), so the mixed-results part of this is fixed. What was still missing is a way to search only albums. I've opened AudiusProject/api#1053, which adds type=album to /playlists/search, matching the existing type param on /playlists/top and /playlists/new-releases. Happy to change it to a separate /albums/search route if you'd prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions