Block API allows you to interact with the Binance network, retrieve blockchain data, and perform various operations programmatically. Whether you're developing decentralized applications (dApps), conducting blockchain research, or integrating Binance functionalities into your projects, our API makes it simple and efficient.
To get started with our Binance Blockchain API, you'll need an API key, which you can obtain by signing up on our platform. Once you have your API key, you can start making API calls to access Binance blockchain data and functionalities. Our Binance Blockchain API simplifies the process of interacting with the Binance network, enabling you to build powerful and innovative blockchain applications. We are excited to see what you create with our API and look forward to supporting your Binance-powered projects.
Register for a free account on Block API to use this Blockchain API.
Once you've created an account, you may generate an API key for use with our API in the Account section.
Create an API key to access API for your project and you can create it via this link. To set up access follow given instructions.
When you create an API, you’ll get two pieces of information which are very important to remember.
Please remember below information after creation:
API Key: API key represents the account’s identity.
Secret Key: It is used to keep the data secure and secret.
The Access key and Secret key will be generated randomly which is provided by Block API and it gives API access security.
These following base endpoints are accessible.
Every endpoint returns a JSON object or array
The following API endpoints can be accessed using the basic endpoint at https://blockapi.biz/api vision:
POST: /v1/binance/generateAddress
POST: /v1/binance/getBalance
POST: /v1/binance/validateAddress
POST: /v1/binance/transactionHistory
POST: /v1/binance/sendTransaction
We offer REST APIs which support withdrawal, transaction history, balance status and new address.
REST stands for Representational State Transfer which is the most popular internet software architecture today. It has a clear structure, is simple to understand, and is easy to expand. As a result, more and more businesses are incorporating structures into their websites. It has the following benefits:
We suggest that REST API for trading and/or Asset operation (like, deposit & withdrawal) are appropriate for users.
Your personal API Key can be found on the settings page. We make use of it to determine who is accessing the API as well as to keep track of the number of requests made by a specific account. It can be utilized in one of two ways, according to your requirements:
Add it in the HTTP header as:
Note: If you want to keep your data secure, don’t share your API key/secret key with anyone.
POST: /v1/binance/generateAddress
Create a new address
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
{
"status": true,
"msg": "Address generated successfully.",
"info": {
"address": "0x991Cfe6018**************F3ADD9E008B728e",
"privateKey": "0xfd020bd93352c41c1085*******************901f1f221b99dd3e5942c"
}
}
POST: /v1/binance/getBalance
You can check your balance using your address
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"address":"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
"coinName":"bnb"
}
{
"status": true,
"msg": "Success",
"info": "0.00535174"
}
POST: /v1/binance/validateAddress
Validate an address
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"address": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
"coinName": "bnb"
}
{
"status": true,
"msg": "Address valid."
}
POST: /v1/binance/transactionHistory
Check your transaction history by using your address
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"address": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
"coinName": "bnb"
}
{
"status": true,
"msg": "Success",
"info": [
{
"timestamp": "1689413951",
"hash": "0x243d4d5b7e405f8f********************9211627ade9991adbadd21dab456e",
"from": "0xdafea492d9c6******************ed1adb60692c98bc5",
"to": "0x5b3f88f027c6********************96666b88f7b",
"value": "0.04176136",
"status": "confirmed"
},
{
"timestamp": "1689413915",
"hash": "0x145bb7141e9f1843************************ad859b694ab354499e74f1d0",
"from": "0xdafea492d9c6******************ed1adb60692c98bc5",
"to": "0x5b3f88f027c6********************96666b88f7b",
"value": "0.02419455",
"status": "confirmed"
}
]
}
POST: /v1/binance/sendTransaction
Send transaction API from one address to another address
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"privateKey": "0xfd020bd93352c41c1085*********************2130901f1f221b99dd3e5942c",
"from": "0x991Cfe6018cBee56F943911BFF3ADD9E008B728e",
"to": "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
"coinName": "bnb",
"amount": "0.001"
}
{
"status": true,
"msg": "Success",
"info": "0x7b77cd5b09559c609af5ea2f7e879f01693f5f9c60e81a752ca214f48a84a526"
}
POST: /v1/binance/checkTransactionStatus
Check the transaction status by using the hash
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"hash": "0x7b77cd5b09559c609af5ea2f7e879f01693f5f9c60e81a752ca214f48a84a526"
}
{
"status": true,
"msg": "Success",
"info": {
"status": "confirmed",
"fees": "0.000277173871779"
}
}
POST: /v1/binance/blockTransactionHistory
Get the transaction history by using the block number
nmaqluksug********************mdsl4mtymu
6zci5bdeziumnaj1********************************zmv4zpsbozx6t7sp
application/json
raw (json)
{
"blockNumber": "20088861"
}
{
"status": true,
"msg": "Success",
"info": []
© 2021 - 2025 www.blockapi.biz. All Rights Reserved.