Rate limits

Pacifica implements IP and API Config Key based rate limiting.

For REST API:

  1. every IP address begins with 300 credits

  2. any http method except c used will decrement the credit by one (for now all requests have the same weighting)

  3. if user makes request while credit < 0, then return HTTP429

  4. credits reset back to 300 at the end of each 60 second interval

  5. cancellations use ½ credits

For Websocket API:

  1. every IP address is limited to 300 concurrent WS connections.

  2. If an IP tries to exceed 300 connections, returns HTTP 429

  3. each connection is limited to 20 subscriptions per channel

Pacifica API Key:

For Websocket API, Pacifica also provides additional rate-limiting options via API Config Keys.

Last updated