Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
https://api.spotify.com/v1/search cannot return the correct number of total results
when using the https://api.spotify.com/v1/search endpoint to search, with limit and offset set to be 20 and 0 respectively, the "total" will always be 20.
But if the offset is set to be 21 or more, the "total" will be more than 20.
Hi, here to say that I've had the same problem for a few days now. Glad to see it posted here!
To add to the problem of the result's total being off, the paging navigation is also broken.
Same problem here! I just tweeted at the Spotify Platform account about it...
On calls to /search endpoint, the "total" number of search results when offset=0 is always equal to my supplied "limit" value.
It seems to go up on subsequent offset pages.
Weird bug! Has been happening in my case at least since last night, possibly longer.
For example, a search for "asdf" usually returns dozens of results... right now it's only 3, because my limit is 3. If I increase my limit, the total will go up correspondingly.
Thanks for letting us know about this, folks! We resolved an issue involving the Search API earlier today. Are you still seeing problems with this now?
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…