Pergunta de entrevista da empresa Plaid

How would you design an API rate limiter?