> For the complete documentation index, see [llms.txt](https://pacifica.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pacifica.gitbook.io/docs/api-documentation/changelog.md).

# Changelog

### 2026-05-04

**Docs**

* [Vaults](/docs/vaults/vaults.md) \[NEW]
  * Added a new vaults section covering overview, depositing, managing a vault, profit and loss, and risk controls

**REST API**

* [Vaults](/docs/api-documentation/api/rest-api/vaults.md) \[NEW]
  * Added REST API docs for vault creation, deposits, withdrawals, manager claims, referral codes, deposit cap updates, whitelist/blacklist updates, max leverage updates, and vault listing under `/api/v1/lake/*`
* [Operation Types](/docs/api-documentation/api/signing/operation-types.md) \[UPDATE]
  * Added signing operation types for all documented vault endpoints

### 2026-04-23

**REST API & WS**

* [Batch order](/docs/api-documentation/api/rest-api/orders/batch-order.md) \[UPDATE]
  * Expanded action types: `CreateMarket`, `Edit`, `SetPositionTpsl`, `CancelStopOrder` now supported alongside `Create` and `Cancel`
* Added `builder_code` parameter to all order creation endpoints \[UPDATE]
  * Supports Builder Program fee attribution (3-16 alphanumeric characters)
* Added `trigger_price_type` to all stop order and TP/SL configurations \[UPDATE]
  * Options: `mark_price` (default), `last_trade_price`, `mid_price`

**REST API**

* [Get spot assets](/docs/api-documentation/api/rest-api/spot/get-spot-assets.md) \[NEW]
  * List all spot assets with collateral eligibility and LTV ratios
* [Get bridge info](/docs/api-documentation/api/rest-api/spot/get-bridge-info.md) \[NEW]
  * Retrieve bridge parameters for all spot assets (minimum deposit, withdrawal fee, mint address)
* [Get bridge parameters](/docs/api-documentation/api/rest-api/spot/get-bridge-parameters.md) \[NEW]
  * Retrieve bridge parameters for a single spot asset by symbol
* [Withdraw spot asset](/docs/api-documentation/api/rest-api/account/withdraw-spot-asset.md) \[NEW]
  * Withdraw spot assets with idempotency key support
* [Get pending spot withdrawals](/docs/api-documentation/api/rest-api/account/get-pending-spot-withdrawals.md) \[NEW]
* [Get spot deposit history](/docs/api-documentation/api/rest-api/account/get-spot-deposit-history.md) \[NEW]
* [Get spot withdrawal history](/docs/api-documentation/api/rest-api/account/get-spot-withdrawal-history.md) \[NEW]
* [Get spot balance history](/docs/api-documentation/api/rest-api/account/get-spot-balance-history.md) \[NEW]
* [Subaccount spot transfer](/docs/api-documentation/api/rest-api/subaccounts/subaccount-spot-transfer.md) \[NEW]
  * Transfer spot assets between main account and subaccounts
* [Update spot settings](/docs/api-documentation/api/rest-api/account/update-spot-settings.md) \[NEW]
  * Toggle per-asset `unified_margin_excluded` flag for unified margin collateral
* [Toggle auto-lending](/docs/api-documentation/api/rest-api/account/toggle-auto-lending.md) \[NEW]
  * Enable or disable automatic lending
* [Add isolated margin](/docs/api-documentation/api/rest-api/account/add-isolated-margin.md) \[NEW]
  * Add USDC margin to an isolated position
* [Get fee levels](/docs/api-documentation/api/rest-api/markets/get-fee-levels.md) \[NEW]
  * Retrieve all fee tier levels with maker/taker rates
* [Get loan pool](/docs/api-documentation/api/rest-api/markets/get-loan-pool.md) \[NEW]
  * Retrieve loan pool state including utilization and borrow/lend rates
* [Get account loan info](/docs/api-documentation/api/rest-api/account/get-account-loan-info.md) \[NEW]
  * Retrieve loan and collateral details under unified margin (borrowed amount, collateral utilization, per-asset LTV)
* [Get account info](/docs/api-documentation/api/rest-api/account/get-account-info.md) \[UPDATE]
  * Added `spot_collateral`, `pending_interest`, `spot_balances`, `cross_account_equity`, and `spot_market_value` fields to support unified margin with spot collateral
* [Get account settings](/docs/api-documentation/api/rest-api/account/get-account-settings.md) \[UPDATE]
  * Documented `auto_lend_disabled` and `spot_settings` with `unified_margin_excluded` per asset
* [Get positions](/docs/api-documentation/api/rest-api/account/get-positions.md) \[UPDATE]
  * Added `liquidation_price` and `amount` fields
* [Get loan pool](/docs/api-documentation/api/rest-api/markets/get-loan-pool.md) \[UPDATE]
  * Added `utilization_max` and `auto_lender_entry_threshold` fields
* [Create stop order](/docs/api-documentation/api/rest-api/orders/create-stop-order.md) \[FIX]
  * Fixed `side` parameter examples to use correct values (`bid`/`ask`)

**WebSocket**

* [Account transfers](/docs/api-documentation/api/websocket/subscriptions/account-transfers.md) \[NEW]
  * Real-time deposit, withdrawal, and transfer event stream
* [Account info](/docs/api-documentation/api/websocket/subscriptions/account-info.md) \[UPDATE]
  * Added `sb` (spot\_balances) field with per-asset collateral details
* [Account order updates](/docs/api-documentation/api/websocket/subscriptions/account-order-updates.md) \[UPDATE]
  * Added `tp` (trigger\_price\_type) field
  * Added order types: `stop_limit`, `stop_market`, `take_profit_limit`, `stop_loss_limit`, `take_profit_market`, `stop_loss_market`

### 2026-03-11

* [Account settings](/docs/api-documentation/api/rest-api/account/get-account-settings.md) REST API to include `margin_settings`, `spot_settings` and `auto_lend_disabled`, in order to support spot assets and unified margin \[UPDATE]

### 2026-02-19

* VIP Tier rate-limits increased \[UPDATE]

### 2026-02-05

* Remove `account_orders` websocket endpoint. Note that open orders snapshot can be obtained from REST API `/api/v1/orders` and real time order updates can be obtained from websocket `account_order_updates` \[UPDATE]
* Enforce main+subaccount rate limit [based on fee tier](/docs/api-documentation/api/rate-limits.md#credit-quotas) for requests with API Config Keys \[NEW]

### 2026-01-24

* Update `agg_level` to `1, 10, 100, 1000, 10000` for `api/v1/book` and websocket `book` \[UPDATE]

### 2026-01-20

* Add `maker_fee` and `taker_fee` to /api/v1/account endpoint \[UPDATE]

### 2026-01-12

* Add `li` (last order id) to `bbo` websocket stream \[UPDATE]

### 2026-01-01

* Add `li` (last order id) to `orderbook` websocket stream \[UPDATE]

### 2025-12-16

**WebSocket**

* Initialization added to `account_orders` endpoint \[UPDATE]
  * `account_orders` endpoint now sends snapshot of account's open orders upon subscription.

### 2025-12-06

**REST API & WS**

* Last order ID added \[NEW]
  * Added field in multiple REST and WS endpoints as an exchange-wide identifier to order all exchange events

### 2025-11-19

**REST API**

* Market info endpoint updated \[UPDATE]
  * Added `created_at` field to /api/v1/info response showing when each market was listed

**WEBSOCKET**

* Account positions snapshot \[UPDATE]
  * account\_positions websocket endpoint now returns immediate snapshot of current positions upon subscription
* Batch orders \[NEW]
  * Order batching now supported via websocket
* Best bid offer (BBO) \[NEW]
  * bbo endpoint now supported via websocket
  * constantly streams top of book for selected symbol

**REST API & WS**

* Edit order type added \[NEW]
  * Added endpoint in REST and WS to edit price and/or size of existing orders
* Mark price candle added \[NEW]
  * Added endpoint in REST and WS to show mark price candles
  * Returns candle data based on mark price instead of traded prices
* Batch order speed bump optimization \[UPDATE]
  * Speed bump now applied conditionally based on order types in batch
  * Only applied if batch contains market orders or limit orders with TIF GTC/IOC
  * Speed bump not applied if batch only contains ALO/TOB orders, cancellations, or TP/SL updates

### 2025-11-12

**GENERAL API**

* Taker latency increased. \[UPDATE]
  * All market orders, TIF GTC, and TIF IOC orders are subject to a \~200ms delay

### 2025-11-10

**REST API & WS**

* [Top-of-Book (TOB)](/docs/trading-on-pacifica/order-types.md) TIF order type added \[NEW]
* Useable in:
  * Frontend GUI under Limit, TIF, TOB (Post Only)
  * [Create limit order REST API](/docs/api-documentation/api/rest-api/orders/create-limit-order.md) endpoint
  * [Batch order REST API](/docs/api-documentation/api/rest-api/orders/batch-order.md) endpoint
  * [Create limit order websocket](/docs/api-documentation/api/websocket/trading-operations/create-limit-order.md) endpoint

### 2025-11-09

**GENERAL API**

* Taker latency added. \[NEW]
  * All market orders, TIF GTC, and TIF IOC orders are subject to a randomized 50-100ms delay

### 2025-10-30

**REST API**

* Cursor based pagination added for all history endpoints \[UPDATE]
  * Offset pagination deprecated

### 2025-10-25

**REST API**

* [List subaccounts](/docs/api-documentation/api/rest-api/subaccounts/list-subaccounts.md) \[NEW]
  * Added a new endpoint to retrieve subaccount information

**WEBSOCKET**

* [Orderbook websocket](/docs/api-documentation/api/websocket/subscriptions/orderbook.md) \[UPDATE]
  * 'book' websocket update interval improved from 500ms to 100ms
