I'm concurrently submitting a lot of requests to get the list of networks of different organisations. Each organisation is only getting one API request. So I am well under the 5 requests per second per organisation.
But I'm still running into the 429 rate limit error from Nginx. I can't tell if I am getting a retry header because the node.js SDK does not expose it to me.
429: Too Many Requests- You submitted more than 5 calls in 1 second to an Organization, triggering rate limiting. This also applies for API calls made across multiple organizations that triggers rate limiting for one of the organizations.
It's buried in this KB article So it could seem you're still being throttled by the 5 calls per second. Might be a good time to start looking in to action batches? More documentation here.