binance_api_english | Unsorted

Telegram-канал binance_api_english - Binance API (English Only)

12954

https://github.com/binance/binance-spot-api-docs https://developers.binance.com/en Binance Official English Group https://t.me/binanceexchange Binance English Announcements https://t.me/binance_announcements

Subscribe to a channel

Binance API (English Only)

Hi, I'm coding some bots, everything went well until I tried margin trading.... seems you need to be VIP lvl4 to get access to sapi... there is no other way? can't I request an access ? I won't do high frequency trading but without leverage that's pretty useless....

Читать полностью…

Binance API (English Only)

Hello!

GET /sapi/v2/loan/flexible/loanable/data -> provides interest rate and borrow limit of flexible loanable assets.
https://developers.binance.com/docs/crypto_loan/flexible-rate/market-data/Get-Flexible-Loan-Assets-Data

-admin

Читать полностью…

Binance API (English Only)

Hi.
I can't find an api request that will provide data on the availability of coins for a crypto loan - https://www.binance.com/en/loan.
Could you help?

Читать полностью…

Binance API (English Only)

As per checking, Spot WS-API is operating normally. Please, try to create a new key, and make sure you are using the correct key pair.

Читать полностью…

Binance API (English Only)

Well now this is weird... I thought I got successful connection on USDT-M userDataStream but then I realized that I do not receive any data. So I got the listenkey from https://ws-fapi.binance.com/ws-fapi/v1 response and created old fashioned wss://fstream.binance.com/ws/<listenkey> and updates started coming.

Читать полностью…

Binance API (English Only)

Did you try another code or Postman?

Читать полностью…

Binance API (English Only)

No, currently only Spot supports microseconds:
https://developers.binance.com/docs/binance-spot-api-docs/CHANGELOG#2024-12-17

-admin

Читать полностью…

Binance API (English Only)

Necesito saber cómo es eso de los request. Quiero hacer un bot de arbitraje

Читать полностью…

Binance API (English Only)

Hi!

Many factors can lead to a disconnection from a WebSocket stream. Please, ensure that your network connection is stable and your machine is powerful enough.

The WebSocket server will send a ping frame every 3 minutes. If the WebSocket server does not receive a pong frame back within 10 minutes, you will be disconnected.

Here is a checklist for debugging WebSocket connection:
https://dev.binance.vision/t/checklist-for-debugging-websocket-disconnection/801

You can test libraries/code examples to see if the issue persists: https://github.com/binance

-admin

Читать полностью…

Binance API (English Only)

I subscribed to more than 100 USDT-margined contracts, and the WebSocket disconnects shortly after. But if I only subscribe to 10, it stays connected without any issues.

Читать полностью…

Binance API (English Only)

or binance send ping to us?

Читать полностью…

Binance API (English Only)

While depositing crypto in trust wallet, I saw option to directly deposit from exchange with includes binance. It redirects to binance app.

So can anyone tell me how we can implement that feature in our own application?

Читать полностью…

Binance API (English Only)

Hello! Can someone help me figure out how to log in automatically without going through the manual route? An example of a bot that can handle authentication.

Читать полностью…

Binance API (English Only)

Achievement in cryptocurrency investment is very impressive and has been so good earning from us so far.

Читать полностью…

Binance API (English Only)

Just to confirm this is different from the transaction history generated from the binance.com website right ?

Because I believe that one only dates back to a certain period

Читать полностью…

Binance API (English Only)

Hi!

You cannot specify the leverage and margin type when placing an order via API. You need to adjust the leverage/margin type before submitting an order. You can do it either via API or on the website/app.

POST /fapi/v1/leverage -> change the leverage.
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Initial-Leverage
POST /fapi/v1/marginType -> change margin type.
https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/rest-api/Change-Margin-Type

-admin

Читать полностью…

Binance API (English Only)

hi Admin,
i was exploring Binance-cli

is it possible to do future trade with custom leverage x5 or x10 for example. or/and selecting Cross or Isolated trade.
as i dont see any parameter or an option for that @@' ?

if doesnt have, is it possible to set the leverage and cross/isolation trade in the website first ?

Читать полностью…

Binance API (English Only)

Hello!

-/sapi/v1/margin/maxBorrowable -> provides information about max borrowable amount for account. The same information is available on the website: https://www.binance.com/en/margin-fee

-/sapi/v1/margin/available-inventory -> provides information about how much is left of a specific coin that can be borrowed for margin trading.

-admin

Читать полностью…

Binance API (English Only)

Hello.

Can you tell me what is the difference between these API requests?
-/sapi/v1/margin/maxBorrowable
-/sapi/v1/margin/available-inventory

Does the API request "/sapi/v1/margin/maxBorrowable" provide information about the maximum amount of margin for borrowing for a specific coin for my account?

And does the API request "/sapi/v1/margin/available-inventory" provide information about the total amount of each coin for margin borrowing on the exchange?

Читать полностью…

Binance API (English Only)

hey admin, could you please help me to resolve this issue? I really need your help
the problem is the Travel Rule Withdraw API (https://developers.binance.com/docs/wallet/travel-rule/withdraw) returns invalid vaspCountry. Error: [[{\"message\":\"Not a valid Answer in the options\",\"field\":\"vaspCountry\",\"value\":\"jp\"}]]

I tried a Binance Japan address, binance.com address and a random address with ‘jp’ as vaspCountry, all of them didnt work
I then tried ‘us’ just for testing but it didnt work either, some other country codes worked even though the address is not from those countries

I guess the problem is not related to the address being used

Читать полностью…

Binance API (English Only)

REST requests on the spot market are working fine, I just checked https://api.binance.com/api/v3/account – OK, meaning the private keys and signature generation are working.
The question is why I am getting a successful connection on USDT-M and COIN-M, but on the spot market I am getting {"code":-1022,"msg":"Signature for this request is not valid."}, even though I use the same function to generate the signature for all connections.

Читать полностью…

Binance API (English Only)

https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Individual-Symbol-Book-Ticker-Streams

hi is this futures stream can support event time in MICROSECOND as Spot?

Читать полностью…

Binance API (English Only)

hey admin,
can you check this? I really need to solve this problem asap

Читать полностью…

Binance API (English Only)

Hello!

Please note that the 1022 signature error indicates that there is something wrong with the signature in your request. There are several causes for this error, like the Secret Key was not set or it’s wrong, parameters lacking their values, or the signature missing from the request url.

You can try to send the same request using another API tool like Postman. Or, try the Python code sample from the API documentation:
https://developers.binance.com/docs/binance-spot-api-docs/websocket-api/request-security (scroll till the bottom of the page)

If you can receive a response successfully using another API tool, then the issue is with your code.

-admin

Читать полностью…

Binance API (English Only)

Trying to complete session.logon with my Ed25519 api keys, everything works fine with USD-M and COIN-M connections, as a result I receive message with "status":200, "authorizedSince":... "connectedSince":...
But on SPOT I am constantly getting {"code":-1022,"msg":"Signature for this request is not valid."}.
Why is this happening? I am using the same function and the same api keys to generate signature for all connections.

Читать полностью…

Binance API (English Only)

could i know private ws channel, we send ping to binance server

Читать полностью…

Binance API (English Only)

Hello!

This means you don’t have the necessary security specifications to do the request.
If you are trying to withdraw assets, please enable the withdrawal permission in the API key settings. Also, check if you attached a signature to your request. For more details, please refer to:
https://dev.binance.vision/t/error-you-are-not-authorized-to-execute-this-request/8102

-admin

Читать полностью…

Binance API (English Only)

Hi everyone!
please, help me:

what the issue, when i get this error:


{
error: 'Failed to withdraw user assets',
details: {
code: -1002,
msg: 'You are not authorized to execute this request.'
}

Читать полностью…

Binance API (English Only)

Hello, my friend is trying to send a message here, but it’s not working. Does anyone know why?

Читать полностью…

Binance API (English Only)

But where I can see any affiliate user data through api?

Читать полностью…
Subscribe to a channel