Softsearch interview question

How to use an API