GoodRx Interview Question

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