Adding api as an option