Skip to main content
This page provides information about upcoming changes to Coinbase Prime Broker.

Cross margin overview: spot trading and Vault breakdown

Get Prime Cross Margin Overview will return spot_position_breakdown on each entry in margin_summary.risk_netting_info.xm_positions.
  • Each item has position_type (XM_POSITION_TYPE_SPOT_TRADING or XM_POSITION_TYPE_SPOT_VAULT), balance and notional_balance.
  • The items for an asset sum to that asset’s spot_balance and spot_balance_notional.
  • Assets with no spot balance return an empty list. Clients that switch on position_type should ignore values they don’t recognize; more types may be added.

SPREAD orders: trade a futures contract against spot or another contract

This change will be available in November 2026 Create Order and Create Order Preview will accept a new order type, SPREAD. A SPREAD order works two legs, a US futures contract against its spot underlying (for example BIP-20DEC30-CDE against BTC-USD) or against another contract of the same underlying, to capture a target spread between them. SPREAD orders are enabled per portfolio; contact your account representative to turn them on. Request
  • Set type to SPREAD and provide spread_config:
    • limit and limit_type (SPREAD_LIMIT_TYPE_BPS or SPREAD_LIMIT_TYPE_USD): the worst acceptable spread (futures price minus spot price), signed.
    • max_delta_size and max_delta_type (MAX_DELTA_TYPE_SPOT, MAX_DELTA_TYPE_PERCENT or MAX_DELTA_TYPE_CONTRACT): the largest allowed difference between the two legs’ filled sizes while the order works.
    • primary_leg and secondary_leg, each with product_id, side and support_passive_order. The legs take opposite sides and at least one must allow passive fills.
  • product_id must equal primary_leg.product_id, and base_quantity is in the primary leg’s units: contracts for a futures product, base units for spot.
  • time_in_force must be GOOD_UNTIL_CANCELLED or GOOD_UNTIL_DATE_TIME.
  • Leave side unset; each leg carries its own side. limit_price, quote_value, display_base_size, display_quote_size, stop_price, post_only, is_raise_exact, is_buy_exact and the TWAP/VWAP/PEG fields are rejected on SPREAD orders.
Response
  • Order previews return spread_preview with the submitted configuration, the spread product’s group_product_id (for example BIP-20DEC30-CDE:BTC-USD) and, for each leg, leg_commission, quote_value, best_bid, best_ask, average_filled_price and slippage. commission is the sum of the two leg commissions.
  • Previews of futures and SPREAD orders also return current_margin_utilization, current_margin_utilization_ratio, projected_margin_utilization and projected_margin_utilization_ratio.
  • Get Order, List Orders and List Open Orders report SPREAD orders with type SPREAD, product_type BASIS and spread_details: the submitted configuration, the group_product_id, the realized_spread and each leg’s fills (filled_quantity, average_filled_price, commission). Clients that switch on type or product_type should handle these values.

More specific onchain transaction and activity types

This change will be available on January 15, 2027 We are adding more specific types for onchain wallet deposits and rewards. This change affects transaction and activity responses:
  • Onchain wallet deposits that currently return the transaction type DEPOSIT will return ONCHAIN_DEPOSIT.
  • Onchain rewards that currently return the transaction type REWARD will return ONCHAIN_REWARD.
  • Activities for onchain wallet deposits that currently return ACTIVITY_TYPE_DEPOSIT will return ACTIVITY_TYPE_ONCHAIN_DEPOSIT_TRANSACTION.
  • Reward activities that currently return OTHER_ACTIVITY_TYPE will return ACTIVITY_TYPE_REWARD.
Update integrations that parse or filter these values. After this change, filtering transactions with types=DEPOSIT or types=REWARD will no longer include onchain deposits or onchain rewards. To retrieve those transactions, use types=ONCHAIN_DEPOSIT or types=ONCHAIN_REWARD, respectively.

Prime webhooks

We are releasing Prime webhooks for transactions and activities. Prime sends an HTTPS POST to your endpoint when a transaction or activity is created or updated. The first event types are: We are also releasing a set of REST API endpoints for managing webhook integrations. You will be able to:
  • Create, retrieve, list, update, and delete subscriptions.
  • Discover the available event types.
  • Rotate a subscription’s HMAC signing secret.
  • Send simulated events to test an integration.
  • Review delivery logs and individual delivery attempts.
  • View delivery statistics for a subscription or portfolio.
  • Replay a previously published event.
Webhook deliveries support two signature verification methods:
  • HMAC-SHA256: Verify the X-Coinbase-Signature header with the per-subscription signing secret returned when you create the subscription. Store this secret securely because it is returned only once.
  • Ed25519: Verify the X-Coinbase-Signature-Ed25519 header with the Coinbase public key from the JWKS endpoint. Use X-Coinbase-Signature-Key-Id to select the correct key.
Verify one of these signatures before processing a delivery, and return HTTP 200 to acknowledge the event.

Advanced Transfer trade_date Removed from the Public Schema

The optional trade_date field on Advanced Transfer blind_match_metadata is being removed from the public OpenAPI specification, generated SDKs, and API reference. New integrations should omit this field. Settlement date and time are unchanged. See Create Advanced Transfer.

FIX Market Data

Update: This will be available in beta in Q3, with general availability in Q4 We will be adding level 2 market data on FIX 5.0 for Prime Trading Spot instruments. This includes OHLCV (Open, High, Low, Close, Volume), bids and offers, and trade history data. This will require a dedicated API key with READ permissions. FIX Market Data will also support venue filtering, and will add market data for perpetual futures, futures, and options products. Logon messages must conform to FIXT 1.1, for example: Prime FIX API:
  • Server will support a new message type sent by the client: MarketDataRequest <V>
  • Server will send a new message type: MarketDataRequestReject <Y>
  • Server will send a new message type: MarketDataSnapshotFullRefresh <W>
  • Server will send a new message type: MarketDataIncrementalRefresh <X>
  • Server will send a new message type: SecurityStatus <f>

MarketDataRequest (V)

Sent by the client when placing a market data request

MarketDataRequestReject (Y)

Sent by the server in case the MarketDataRequest (V) fails

MDReqRejReason

Possible values for MDReqRejReason (see MarketDataRequestReject (Y))

MarketDataSnapshotFullRefresh (W)

Sent by the server to view a new stream of market data information

MarketDataIncrementalRefresh (X)

Sent by the server to view updates to an existing stream

SecurityStatus (f)

Sent by the server once when an existing stream fails, and once when it reconnects