Implement throttling for API requests, and expose necessary ports