Blockchain.com
Bitcoin block explorer data, network statistics, market data, the Blockchain.com Exchange (REST + WebSocket) trading platform, and the Pay Partner API for crypto purchases.
17 channels
across 1 AsyncAPI spec
· Provider profile
Channels
-
Stream of transactions involving a specific Bitcoin address. The `addr` parameter is required and identifies the address being watched. Subscribe with `{"op":"addr_sub","addr":"$bitcoin_address"}`; unBlockchain.com WebSocket APIs
-
Stream of newly mined Bitcoin blocks. Subscribe with `{"op":"blocks_sub"}`; unsubscribe with `{"op":"blocks_unsub"}`.Blockchain.com WebSocket APIs
-
Stream of transactions containing OP_RETURN outputs (arbitrary data embeds).Blockchain.com WebSocket APIs
-
Generic connection-keepalive ping. Send `{"op":"ping"}` to keep the connection open.Blockchain.com WebSocket APIs
-
Debug ping that requests the latest block observed by the server.Blockchain.com WebSocket APIs
-
Debug ping that requests the latest transaction observed by the server.Blockchain.com WebSocket APIs
-
Stream of all new unconfirmed Bitcoin transactions broadcast to the network. Subscribe with `{"op":"unconfirmed_sub"}`; unsubscribe with `{"op":"unconfirmed_unsub"}`.Blockchain.com WebSocket APIs
-
Authenticates the WebSocket connection using an API secret as `token`. As an alternative, a connection may set the `auth_token` cookie header at handshake time, in which case authentication happens auBlockchain.com WebSocket APIs
-
Authenticated channel that emits a `snapshot` of the user's balances on initial subscription and again on every balance change. Zero balances are omitted from the initial snapshot.Blockchain.com WebSocket APIs
-
Server-pushed heartbeat sent every 5 seconds after subscription.Blockchain.com WebSocket APIs
-
Level 2 (price-aggregated) order book per symbol. Each entry has price (`px`), aggregated quantity (`qty`), and order count (`num`). Updates with `qty:0` indicate the price level should be removed.Blockchain.com WebSocket APIs
-
Level 3 (order-by-order) book per symbol. Each entry has order `id`, `px`, and `qty`. Updates with `qty:0` indicate the order should be removed.Blockchain.com WebSocket APIs
-
Candlestick (OHLCV) market data per symbol. Subscriptions require `granularity` in seconds; supported values are 60, 300, 900, 3600, 21600, 86400. Updates contain a `price` array: [timestamp, open, hiBlockchain.com WebSocket APIs
-
Symbol reference data: a snapshot of all trading symbols with their currency, scale, order size limits, status (open / close / suspend / halt / halt-freeze), and any auction details. Subsequent updateBlockchain.com WebSocket APIs
-
Ticker snapshot for a symbol: 24-hour reference price, 24-hour volume, and last trade price.Blockchain.com WebSocket APIs
-
Per-symbol stream of executed trades on the Exchange, including side, size, price, and `trade_id`.Blockchain.com WebSocket APIs
-
Authenticated trading channel. Subscribers receive an initial snapshot of live orders and execution-report updates thereafter. The channel supports the following actions: `NewOrderSingle`, `CancelOrdeBlockchain.com WebSocket APIs