Auto-Invest

Query subscription transaction history

Changed on

Query subscription transaction history of a plan

Weight(IP): 1

get/sapi/v1/lending/auto-invest/history/list

Request

  • Base URL
    https://api.binance.com
  • URL
    https://api.binance.com/sapi/v1/lending/auto-invest/history/list
  • Auth
    API key in header X-MBX-APIKEY

Query parameters

planIdinteger
startTimeinteger

UTC timestamp in ms

endTimeinteger

UTC timestamp in ms

targetAssetnumber
planType'SINGLE' | 'PORTFOLIO' | 'INDEX' | 'ALL'
sizeinteger
Example:100

Default:10 Max:100

currentinteger
Example:1

Current querying page. Start from 1. Default:1

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Plan result

idinteger required
targetAssetstring required
planTypestring required
planNamestring required
planIdinteger required
transactionDateTimeinteger required
transactionStatusstring required
failedTypestring required
sourceAssetstring required
sourceAssetAmountstring required
targetAssetAmountstring required
sourceWalletstring required
flexibleUsedstring required
transactionFeestring required
transactionFeeUnitstring required
executionPricestring required
executionTypestring required
subscriptionCyclestring required

Example response

[
  {
    "id": 12345,
    "targetAsset": "BTC",
    "planType": "SINGLE",
    "planName": "BTC",
    "planId": 1234,
    "transactionDateTime": 1648378800000,
    "transactionStatus": "SUCCESS",
    "failedType": "INSUFFICIENT_BALANCE",
    "sourceAsset": "BUSD",
    "sourceAssetAmount": "297.12345",
    "targetAssetAmount": "297.12345",
    "sourceWallet": "SPOT_WALLET",
    "flexibleUsed": "false",
    "transactionFee": "0.002",
    "transactionFeeUnit": "BUSD",
    "executionPrice": "2342",
    "executionType": "RECURRING",
    "subscriptionCycle": "WEEKLY"
  }
]

Changes