Skip to content

damadov/binance-java-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binance-java-api

This sample codes are for educational purposes. Use with your own risks in production environment.

Always use test credentials while development.

Get your own API credentials from Binance API Management Page

Examples

Get Binance Ping

uri: /binance/ping
method: GET
response:

successful

Get Binance Server Time

uri: /binance/servertime
method: GET
response:

2022-07-25 19:37:44

Get Binance Ticker

uri: /binance/ticker?pair1=BTC&pair2=USDT
method: POST
response:

{
    "symbol": "BTCUSDT",
    "askPrice": 21900.90000000,
    "bidPrice": 21899.65000000
}

Get Binance Account Balance

uri: /binance/account
method: POST
response:

{
    "source": "binance",
    "assets": [
        {
            "asset": "BTC",
            "amount": 0.01160428
        },
        {
            "asset": "LTC",
            "amount": 0E-8
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages