Cross margin overview: spot trading and Vault breakdown
Get Prime Cross Margin Overview will returnspot_position_breakdown on each entry in margin_summary.risk_netting_info.xm_positions.
- Each item has
position_type(XM_POSITION_TYPE_SPOT_TRADINGorXM_POSITION_TYPE_SPOT_VAULT),balanceandnotional_balance. - The items for an asset sum to that asset’s
spot_balanceandspot_balance_notional. - Assets with no spot balance return an empty list. Clients that switch on
position_typeshould 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
typetoSPREADand providespread_config:limitandlimit_type(SPREAD_LIMIT_TYPE_BPSorSPREAD_LIMIT_TYPE_USD): the worst acceptable spread (futures price minus spot price), signed.max_delta_sizeandmax_delta_type(MAX_DELTA_TYPE_SPOT,MAX_DELTA_TYPE_PERCENTorMAX_DELTA_TYPE_CONTRACT): the largest allowed difference between the two legs’ filled sizes while the order works.primary_legandsecondary_leg, each withproduct_id,sideandsupport_passive_order. The legs take opposite sides and at least one must allow passive fills.
product_idmust equalprimary_leg.product_id, andbase_quantityis in the primary leg’s units: contracts for a futures product, base units for spot.time_in_forcemust beGOOD_UNTIL_CANCELLEDorGOOD_UNTIL_DATE_TIME.- Leave
sideunset; 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_exactand the TWAP/VWAP/PEG fields are rejected on SPREAD orders.
- Order previews return
spread_previewwith the submitted configuration, the spread product’sgroup_product_id(for exampleBIP-20DEC30-CDE:BTC-USD) and, for each leg,leg_commission,quote_value,best_bid,best_ask,average_filled_priceandslippage.commissionis the sum of the two leg commissions. - Previews of futures and SPREAD orders also return
current_margin_utilization,current_margin_utilization_ratio,projected_margin_utilizationandprojected_margin_utilization_ratio. - Get Order, List Orders and List Open Orders report SPREAD orders with
typeSPREAD,product_typeBASISandspread_details: the submitted configuration, thegroup_product_id, therealized_spreadand each leg’s fills (filled_quantity,average_filled_price,commission). Clients that switch ontypeorproduct_typeshould 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
DEPOSITwill returnONCHAIN_DEPOSIT. - Onchain rewards that currently return the transaction type
REWARDwill returnONCHAIN_REWARD. - Activities for onchain wallet deposits that currently return
ACTIVITY_TYPE_DEPOSITwill returnACTIVITY_TYPE_ONCHAIN_DEPOSIT_TRANSACTION. - Reward activities that currently return
OTHER_ACTIVITY_TYPEwill returnACTIVITY_TYPE_REWARD.
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.
- HMAC-SHA256: Verify the
X-Coinbase-Signatureheader 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-Ed25519header with the Coinbase public key from the JWKS endpoint. UseX-Coinbase-Signature-Key-Idto select the correct key.
200 to acknowledge the event.
Advanced Transfer trade_date Removed from the Public Schema
The optionaltrade_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>