Plaid interview question

How would you design an API rate limiter?