Fixed search query method (wrong API endpoint)