add apis feature to rainbow