Search API and example