GoodRx Interview Question

Design an API that respects a few specifications