Blockchain.com website screenshot

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.

5 APIs 0 Features
CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

APIs

Blockchain.com Blockchain Data API

Read-only JSON HTTP API for Bitcoin blockchain data — single block, single transaction, block-by-height, single address, multi-address summary, unspent outputs (UTXOs), latest b...

Blockchain.com Charts, Stats & Market Data API

Aggregated JSON endpoints for Bitcoin network charts (transactions per second, hash rate, difficulty, miners revenue, mempool, etc.), real-time network statistics, mining pool d...

Blockchain.com Exchange REST API

REST trading API for the Blockchain.com Exchange — public market data (symbols, tickers, L2/L3 order books) and authenticated trading (orders, trades, fills, fees), accounts and...

Blockchain.com WebSocket APIs

Real-time WebSocket APIs covering two distinct surfaces — the Bitcoin / blockchain.info explorer socket (unconfirmed transactions, new blocks, per-address activity) and the Bloc...

Blockchain.com Pay Partner API

Partner API for embedding Blockchain.com crypto purchases. Covers authentication, eligibility (supported currencies / regions), quotes (pricing for crypto transactions), and ord...

Collections

Pricing Plans

Blockchain Plans Pricing

3 plans

PLANS

Rate Limits

Blockchain Rate Limits

7 limits

RATE LIMITS

FinOps

Event Specifications

Blockchain.com WebSocket APIs

Real-time WebSocket APIs published by Blockchain.com covering two distinct surfaces: 1. Bitcoin / blockchain.info Explorer WebSocket — subscribe to unconfirmed transactions, new...

ASYNCAPI

Semantic Vocabularies

Blockchain Charts Stats Context

6 classes · 32 properties

JSON-LD

Blockchain Com Context

36 classes · 92 properties

JSON-LD

Blockchain Data Api Context

10 classes · 55 properties

JSON-LD

Blockchain Exchange Context

17 classes · 79 properties

JSON-LD

API Governance Rules

Blockchain.com API Rules

31 rules · 17 errors 11 warnings 3 info

SPECTRAL

JSON Structure

Charts Stats Chart Point Structure

2 properties

JSON STRUCTURE

Charts Stats Chart Structure

6 properties

JSON STRUCTURE

Charts Stats Pool Distribution Structure

0 properties

JSON STRUCTURE

Charts Stats Stats Structure

19 properties

JSON STRUCTURE

Charts Stats Ticker Entry Structure

5 properties

JSON STRUCTURE

Charts Stats Ticker Structure

0 properties

JSON STRUCTURE

Com Bitcoin Block Message Payload Structure

2 properties

JSON STRUCTURE

Com Bitcoin Op Addr Sub Payload Structure

2 properties

JSON STRUCTURE

Com Bitcoin Op Addr Unsub Payload Structure

2 properties

JSON STRUCTURE

Com Bitcoin Op Blocks Sub Payload Structure

1 properties

JSON STRUCTURE

Com Bitcoin Op Blocks Unsub Payload Structure

1 properties

JSON STRUCTURE

Com Bitcoin Op Ping Block Payload Structure

1 properties

JSON STRUCTURE

Com Bitcoin Op Ping Payload Structure

1 properties

JSON STRUCTURE

Com Bitcoin Op Ping Tx Payload Structure

1 properties

JSON STRUCTURE

Com Bitcoin Utx Message Payload Structure

2 properties

JSON STRUCTURE

Com Exchange Admin Event Payload Structure

5 properties

JSON STRUCTURE

Com Exchange Auth Rejected Payload Structure

4 properties

JSON STRUCTURE

Com Exchange Auth Subscribe Payload Structure

3 properties

JSON STRUCTURE

Com Exchange L2Event Payload Structure

6 properties

JSON STRUCTURE

Com Exchange L3Event Payload Structure

6 properties

JSON STRUCTURE

Com Exchange Order Structure

24 properties

JSON STRUCTURE

Com Exchange Prices Update Payload Structure

5 properties

JSON STRUCTURE

Com Exchange Symbol Update Payload Structure

9 properties

JSON STRUCTURE

Com Exchange Trade Update Payload Structure

9 properties

JSON STRUCTURE

Data Api Address Structure

8 properties

JSON STRUCTURE

Data Api Block List Response Structure

1 properties

JSON STRUCTURE

Data Api Block Structure

13 properties

JSON STRUCTURE

Data Api Latest Block Structure

5 properties

JSON STRUCTURE

Data Api Multi Address Response Structure

3 properties

JSON STRUCTURE

Data Api Transaction Structure

16 properties

JSON STRUCTURE

Data Api Tx Input Structure

4 properties

JSON STRUCTURE

Data Api Tx Output Structure

8 properties

JSON STRUCTURE

Data Api Unspent Output Structure

8 properties

JSON STRUCTURE

Data Api Unspent Response Structure

2 properties

JSON STRUCTURE

Exchange Account Structure

9 properties

JSON STRUCTURE

Exchange Beneficiary Structure

8 properties

JSON STRUCTURE

Exchange Create Order Request Structure

10 properties

JSON STRUCTURE

Exchange Create Withdrawal Request Structure

3 properties

JSON STRUCTURE

Exchange Deposit Address Structure

2 properties

JSON STRUCTURE

Exchange Deposit Structure

8 properties

JSON STRUCTURE

Exchange Fees Structure

3 properties

JSON STRUCTURE

Exchange Fill Structure

9 properties

JSON STRUCTURE

Exchange Order Book Structure

3 properties

JSON STRUCTURE

Exchange Order Structure

16 properties

JSON STRUCTURE

Exchange Price Level Structure

3 properties

JSON STRUCTURE

Exchange Symbol Structure

18 properties

JSON STRUCTURE

Exchange Ticker Structure

4 properties

JSON STRUCTURE

Exchange Trade Structure

8 properties

JSON STRUCTURE

Exchange Whitelist Capability Structure

5 properties

JSON STRUCTURE

Exchange Whitelist Structure

4 properties

JSON STRUCTURE

Exchange Withdrawal Structure

7 properties

JSON STRUCTURE

Example Payloads

Charts Stats Chart Example

6 fields

EXAMPLE

Charts Stats Stats Example

19 fields

EXAMPLE

Com Exchange Order Example

24 fields

EXAMPLE

Data Api Address Example

8 fields

EXAMPLE

Data Api Block Example

13 fields

EXAMPLE

Data Api Transaction Example

16 fields

EXAMPLE

Data Api Tx Input Example

4 fields

EXAMPLE

Data Api Tx Output Example

8 fields

EXAMPLE

Exchange Account Example

9 fields

EXAMPLE

Exchange Beneficiary Example

8 fields

EXAMPLE

Exchange Deposit Example

8 fields

EXAMPLE

Exchange Fees Example

3 fields

EXAMPLE

Exchange Fill Example

9 fields

EXAMPLE

Exchange Order Book Example

3 fields

EXAMPLE

Exchange Order Example

16 fields

EXAMPLE

Exchange Price Level Example

3 fields

EXAMPLE

Exchange Symbol Example

18 fields

EXAMPLE

Exchange Ticker Example

4 fields

EXAMPLE

Exchange Trade Example

8 fields

EXAMPLE

Exchange Whitelist Example

4 fields

EXAMPLE

Exchange Withdrawal Example

7 fields

EXAMPLE

Resources

🔗
Website
Website
👥
GitHubOrganization
GitHubOrganization
🔗
PublicAPIsListing
PublicAPIsListing
📜
TermsOfService
TermsOfService
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
🔗
Vocabulary
Vocabulary
🔗
Rules
Rules
🔗
Schemas
Schemas
🔗
JSONStructure
JSONStructure
🔗
JSONLD
JSONLD
💻
Examples
Examples

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Blockchain.com Exchange REST API
  version: 3.0.0
request:
  auth:
    type: apikey
    key: X-API-Token
    value: '{{X-API-Token}}'
    placement: header
items:
- info:
    name: Market Data
    type: folder
  items:
  - info:
      name: Blockchain.com List Trading Symbols
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/symbols
    docs: Returns the full set of trading symbols and their metadata.
  - info:
      name: Blockchain.com Get a Single Symbol
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/symbols/:symbol
      params:
      - name: symbol
        value: ''
        type: path
        description: Trading pair symbol (e.g. `BTC-USD`).
    docs: Returns metadata for a specific trading symbol.
  - info:
      name: Blockchain.com List Tickers
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/tickers
    docs: Returns current price and 24-hour metrics for all trading pairs.
  - info:
      name: Blockchain.com Get a Single Ticker
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/tickers/:symbol
      params:
      - name: symbol
        value: ''
        type: path
        description: Trading pair symbol (e.g. `BTC-USD`).
    docs: Returns the current price and 24-hour metrics for one trading pair.
  - info:
      name: Blockchain.com Get Level-2 Order Book
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/l2/:symbol
      params:
      - name: symbol
        value: ''
        type: path
        description: Trading pair symbol (e.g. `BTC-USD`).
    docs: Returns the aggregated price-level order book for a symbol.
  - info:
      name: Blockchain.com Get Level-3 Order Book
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/l3/:symbol
      params:
      - name: symbol
        value: ''
        type: path
        description: Trading pair symbol (e.g. `BTC-USD`).
    docs: Returns the full per-order book for a symbol.
- info:
    name: Trading
    type: folder
  items:
  - info:
      name: Blockchain.com Get Maker/taker Fees
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/fees
    docs: Returns the current maker and taker fee rates for the authenticated user.
  - info:
      name: Blockchain.com List Orders
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/orders
      params:
      - name: symbol
        value: ''
        type: query
        description: Trading symbol filter.
      - name: from
        value: ''
        type: query
        description: Filter by orders created on or after this Unix timestamp (ms).
      - name: to
        value: ''
        type: query
        description: Filter by orders created on or before this Unix timestamp (ms).
      - name: status
        value: ''
        type: query
        description: Order status filter (e.g. `open`, `filled`, `cancelled`).
      - name: limit
        value: ''
        type: query
        description: Maximum number of results to return.
    docs: Returns live and historic orders filtered by symbol, status, and time range.
  - info:
      name: Blockchain.com Create a New Order
      type: http
    http:
      method: POST
      url: https://api.blockchain.com/v3/exchange/orders
      body:
        type: json
        data: '{}'
    docs: 'Submits a new order. Supports LIMIT, MARKET, STOP, and STOPLIMIT order types.

      '
  - info:
      name: Blockchain.com Cancel All Open Orders
      type: http
    http:
      method: DELETE
      url: https://api.blockchain.com/v3/exchange/orders
      params:
      - name: symbol
        value: ''
        type: query
        description: If supplied, only cancel orders for this symbol.
    docs: Cancels every open order, optionally filtered by symbol.
  - info:
      name: Blockchain.com Get a Single Order
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/orders/:orderId
      params:
      - name: orderId
        value: ''
        type: path
        description: Order identifier.
    docs: Returns the current state of one order.
  - info:
      name: Blockchain.com Cancel a Single Order
      type: http
    http:
      method: DELETE
      url: https://api.blockchain.com/v3/exchange/orders/:orderId
      params:
      - name: orderId
        value: ''
        type: path
        description: Order identifier.
    docs: Cancels an open order.
  - info:
      name: Blockchain.com List Trades
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/trades
      params:
      - name: symbol
        value: ''
        type: query
      - name: from
        value: ''
        type: query
      - name: to
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
    docs: Returns historical filled orders (including partial fills).
  - info:
      name: Blockchain.com List Fills
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/fills
      params:
      - name: symbol
        value: ''
        type: query
      - name: from
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
    docs: Returns individual fill executions including fees.
- info:
    name: Payments
    type: folder
  items:
  - info:
      name: Blockchain.com List Account Balances
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/accounts
    docs: Returns balances across all currencies and account types.
  - info:
      name: Blockchain.com Get Account Balance
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/accounts/:account/:currency
      params:
      - name: account
        value: ''
        type: path
        description: Account type (e.g. `primary`).
      - name: currency
        value: ''
        type: path
        description: Currency ticker (e.g. `BTC`).
    docs: Returns the balance for a specific account type and currency.
  - info:
      name: Blockchain.com List Deposits
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/deposits
      params:
      - name: from
        value: ''
        type: query
      - name: to
        value: ''
        type: query
    docs: Returns deposit history.
  - info:
      name: Blockchain.com Get a Single Deposit
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/deposits/:depositId
      params:
      - name: depositId
        value: ''
        type: path
    docs: Returns the status of one deposit.
  - info:
      name: Blockchain.com Create a Deposit Address
      type: http
    http:
      method: POST
      url: https://api.blockchain.com/v3/exchange/deposits/:currency/address
      params:
      - name: currency
        value: ''
        type: path
        description: Currency ticker (e.g. `BTC`).
    docs: Generates a new deposit address for the specified currency.
  - info:
      name: Blockchain.com List Withdrawals
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/withdrawals
      params:
      - name: from
        value: ''
        type: query
      - name: to
        value: ''
        type: query
    docs: Returns withdrawal history.
  - info:
      name: Blockchain.com Create a Withdrawal
      type: http
    http:
      method: POST
      url: https://api.blockchain.com/v3/exchange/withdrawals
      body:
        type: json
        data: '{}'
    docs: Submits a withdrawal to a whitelisted beneficiary.
  - info:
      name: Blockchain.com Get a Single Withdrawal
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/withdrawals/:withdrawalId
      params:
      - name: withdrawalId
        value: ''
        type: path
    docs: Returns the status of one withdrawal.
  - info:
      name: Blockchain.com List Whitelisted Beneficiaries
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/whitelist
    docs: Returns the user's whitelisted withdrawal beneficiaries.
  - info:
      name: Blockchain.com List Whitelist by Currency
      type: http
    http:
      method: GET
      url: https://api.blockchain.com/v3/exchange/whitelist/:currency
      params:
      - name: currency
        value: ''
        type: path
    docs: Returns the user's whitelisted beneficiaries for a specific currency.
bundled: true