Search sorting (Envato API)

tips-and-tricks

#1

Has anyone noticed that quering Envato Market API search endpoint, sorting does not appeart to be working?

  1. https://api.envato.com/v1/discovery/search/search/item?site=themeforest.net&sort_by=updated&sort_direction=asc
  2. https://api.envato.com/v1/discovery/search/search/item?site=themeforest.net&sort_by=updated&sort_direction=desc

Both links return exactly the same results, even though sorting direction should change the results returned (ASC, DESC). The same thing with date.

Bug / undocumented reasons ?


#2

Working here.

Tested sorting by “updated” and “sales” and both returned different lists.


#3

My bad, passed unquoted url to curl.