GoodRx interview question

Design an API that respects a few specifications