Plaid Interview Question

How would you design an API rate limiter?