GoodRx interview question

Design an API for a recipe app -how to make it efficient?