Adding the API search option