Coinbase Prime — trade, custody, and the Coinbase-to-Base loop

Coinbase Prime combines institutional custody with execution. We reconcile trading activity, custody balances, and the Coinbase-to-Base bridge in one workspace.

custodyread-only sync Real-time

Coinbase Prime is the institutional offering — custody, trading, and prime brokerage in one platform. For a finance team, the practical advantage is that Prime is the bridge between Coinbase Exchange execution, custody balances, and the Base L2 (also Coinbase). The Wag3s integration ingests Prime's full activity history — trades, custody movements, transfers to and from Base — reconciled into a single audit trail.

What the Coinbase Prime integration does

Prime API ingest

Trades, custody balances, transfer history under one read-only API key.

Coinbase-Base bridge reconciliation

Prime → Base deposits and Base → Prime withdrawals reconciled end-to-end.

Trading P&L accounting

Realized gain/loss per trade booked correctly per cost-basis method.

Statement reconciliation

Prime's official statement reconciled against the Wag3s-computed totals.

The connection in 4 steps

01

Generate a read-only API key on Coinbase Prime

In the Coinbase Prime portal, create an API key with read-only permissions. Scopes needed are portfolio read, orders read, and transactions read. No signing or trading scopes required.

02

Connect via the Prime API in Wag3s

Enter your Prime API key, secret, and portfolio ID into Wag3s. We discover all Prime portfolios, custody vaults, and linked Base wallets automatically.

03

Trading P&L and custody movements classified

Institutional trades, OTC fills, and prime-brokerage activity are classified with realized P&L. Custody balance movements (deposits, withdrawals, internal transfers) are tagged and reconciled.

04

Prime ↔ Base bridge reconciled end-to-end

Assets bridged from Prime to Base (and back) are matched using the relayer transaction ID. No realized gain is booked on the bridge; cost-basis follows the asset across the bridge seamlessly.

Common configurations

Institutional crypto fund trading on Prime

A crypto hedge fund uses Coinbase Prime for execution and custody of BTC, ETH, and SOL. Monthly NAV calculation requires accurate realized P&L from OTC fills and exchange trades. Wag3s ingests Prime trade history, applies FIFO across all positions, and exports the P&L schedule for the fund administrator.

Protocol treasury managing Base liquidity

Protocol holds USDC in Coinbase Prime custody and bridges to Base to provide DEX liquidity. Wag3s reconciles the Prime side (custody balance decrease) with the Base side (on-chain deposit), tags the bridge as an intra-organization transfer, and keeps cost-basis continuous through the move.

Coinbase Prime integration questions

Does this also cover Coinbase Exchange (consumer)?

Coinbase Exchange (consumer side) is a separate connector. Most institutional users run Prime; consumer-side users connect Coinbase via the standard exchange integration.

How is the Coinbase-to-Base bridge handled?

As an instant intra-organization transfer (no realized gain). The Wag3s record links the Prime side to the Base side via the relayer txid.

How does Wag3s reconcile Coinbase Prime OTC trades against internal cost-basis records?

OTC fills on Coinbase Prime are ingested with the full fill price and timestamp from the Prime API. Wag3s applies your configured cost-basis method (FIFO, LIFO, HIFO) to each OTC lot, matching it against the existing inventory. The realized gain or loss on each fill is computed against the correct acquisition lots and exported to your ERP as a separate JE line with the Prime trade ID as the source reference.

Connect Coinbase Prime in minutes

Free during Alpha. No credit card. Native sync, audit trail, no spreadsheets.