> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pacifica.fi/llms.txt
> Use this file to discover all available pages before exploring further.

# Rate Limits

> Pacifica uses a credit-based rate limiting system with a 60-second rolling window.

### Credit Quotas

The API config key system allows Pacifica to provision higher rate limits to verified users, ensuring real traders have adequate resources while protecting against abuse.

| Tier                 | Base Credits/60s |
| -------------------- | ---------------- |
| Unidentified IP      | 100              |
| Valid API Config Key | 300              |

These are base quotas and may be increased based on account reputation. The credit is shared across a main account and all its subaccounts. Naturally, higher [fee tier](/trading-on-pacifica/trading-fees) grants an account higher rate limits.

| Tier | Credits/60s |
| ---- | ----------- |
| 1    | 300         |
| 2    | 600         |
| 3    | 1200        |
| 4    | 2400        |
| 5    | 6000        |
| VIP1 | 12000       |
| VIP2 | 24000       |
| VIP3 | 30000       |

### Credit Costs

| Action                  | Unidentified IP | API Config Key |
| ----------------------- | --------------- | -------------- |
| Standard request/action | 1               | 1              |
| Order cancellation      | 0.5             | 0.5            |
| Heavy GET requests      | 3-12            | 1-4            |

When credits are exhausted, requests return HTTP 429.

### WebSocket Limits

* Max 100 concurrent connections per IP
* Max 20 subscriptions per channel per connection

These are default limits; production deployments may set higher values, and quotas can be raised for specific accounts.

### Checking Your Quota

> **Note:** All credit values are multiplied by 10 to support fractional costs (e.g., `r=1200` = 120.0 credits).

**REST API** - Response headers:

```
ratelimit: "credits";r=1200;t=32
ratelimit-policy: "credits";q=1250;w=60
```

**WebSocket** - `rl` field in action responses:

```json theme={null}
{"rl": {"r": 1200, "q": 1250, "t": 32}}
```

| Field | Description            |
| ----- | ---------------------- |
| `r`   | Remaining credits      |
| `t`   | Seconds until refresh  |
| `q`   | Total quota per window |
| `w`   | Window size in seconds |
