Search uses API endpoint. Fixes #22