All topics
PED Perspectives
Customers + Partners
Company News
Industry Insights
Industry Insights
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Does BlockChain Wallet have an API?

Does BlockChain Wallet have an API?

Yes, BlockChain Wallet does have an API. The API provides read/write access to the wallet, including real-time holdings, transaction history, and crypto transfers. However, an alternative to using BlockChain Wallet's public API is to use Mesh, which has built integration with BlockChain Wallet along with 300+ other digital assets.

About BlockChain Wallet

BlockChain Wallet, a platform for trading cryptocurrencies, offers a user-friendly interface for buying, selling, and tracking digital assets. Although specific details about the company's location, founding, and employee information are not readily available on their website, they provide comprehensive documentation for their Exchange API. This makes it easy for developers to integrate with their platform and access real-time trading data, order books, and more.

General usage

The Blockchain Wallet API offers several functionalities:

  1. Wallet API: Allows merchants to interact programmatically with their Blockchain Wallet, facilitating bitcoin payments.
  2. Create Wallet API: Enables programmatic creation of new bitcoin wallets, with various optional parameters like a private key, wallet label, and associated email.
  3. Send Many Transactions: Supports sending a transaction to multiple recipients simultaneously, with options for specifying the fee, sender's address, and double encryption passwords.
  4. Fetching Wallet Balance: Provides the ability to fetch the current balance of a wallet, including unconfirmed transactions and potential double spends.
  5. Listing Addresses: Lists all active addresses in a wallet, along with their balances, labels, and total amounts received.
  6. Generating a New Address: Creates a new address in the wallet, with optional labeling for easy identification and management.

Rate Limits

Here is BlockChain Wallet API’s rate limits:

  • General Limit for All Endpoints:
  • Messages per minute: 1,200

When this limit is exceeded, users will receive a rejected event. Normal functionality resumes after one minute.


This is how you authenticate your BlockChain Wallet API:

  1. Create an API key via the exchange website, and note down the key and secret.
  2. Import the WebSocket library in your programming language of choice, such as Python.
  3. Establish a connection to the WebSocket API using the appropriate function, like create_connection in Python.
  4. Define the options for the connection, including the origin and the WebSocket endpoint URL.
  5. Create a message containing the API secret, action, and channel to authenticate your request.
  6. Send the message using the send function and receive the response using the recv function.
  7. Close the connection using the close function once you have completed your requests.


Here are the most common API errors for BlockChain Wallet:

  • Rate limit exceeded: If you receive a 'rejected' event, it may be due to exceeding the API's rate limit of 1200 messages per minute. To resolve this issue, wait for a minute before resuming normal functionality and ensure your application adheres to the rate limits.
  • Authentication issues: If you encounter authentication-related errors, double-check your API key, secret, and WebSocket connection setup. Refer to the authentication process outlined in the API documentation for proper implementation.

An alternative to the BlockChain Wallet API

Mesh is a great pick over KuCoin's API, especially for developers and companies who want an easy and all-in-one experience in dealing with cryptocurrency transactions. Here are some of the features that make Mesh's API stand out:

  • Integrated User Experience: Mesh seamlessly embeds cryptocurrency functionalities into your app, offering a smooth user journey.
  • Broad Connectivity: With a single integration, Mesh connects to over 300 brokerages, exchanges, and wallets, providing extensive flexibility and choice.
  • Simplified Asset Management: The API eases the process of depositing assets, allowing transfers from various sources directly within the app for enhanced user convenience.

Start with Mesh today and experience the ease and efficiency of their cutting-edge API in your digital currency endeavors.