Issue with Retrieving Data by withdrawOrderId via Binance API

Problem Description:

I’m using the Binance API to fetch withdrawal history, but I’m encountering an issue. While requests for the general withdrawal history return data correctly, when I try to retrieve data for a specific withdrawOrderId, the API returns an empty array.

What I Have Tried:

  1. Specified a time interval (startTime and endTime) covering the last 24 hours.
  2. Added the coin parameter to the request.
  3. Generated a valid signature and used a withdrawOrderId that definitely exists in the withdrawal history.

Despite these efforts, the API still returns an empty array. Requests for the entire withdrawal history within the same time frame work perfectly and return the expected data.

Question:

Has anyone encountered a similar issue? Are there any additional settings or parameters I might be overlooking to get the API to return data for the specific withdrawOrderId? Or could this be related to limitations or issues on Binance’s end?

I would appreciate any help or advice on how to resolve this issue!

Try executing the API request using Postman or Curl. This can sometimes give more verbose feedback or error messages that might not be clearly logged or handled in your current implementation:

curl -H “X-MBX-APIKEY: ” “https://api.binance.com/sapi/v1/capital/withdraw/history?withdrawOrderId=<WITHDRAW_ORDER_ID>&timestamp=&signature=”

Replace placeholders with actual values.

If this does not help then the alternative is, contact support!