Get API according to selection