API savings endpoints

Methods

savingsAccount(optionsopt)

Lending Account (USER_DATA)

GET /sapi/v1/lending/union/account

https://binance-docs.github.io/apidocs/spot/en/#lending-account-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsCustomizedPosition(assetopt, optionsopt)

Get Fixed/Activity Project Position (USER_DATA)

GET /sapi/v1/lending/project/position/list

https://binance-docs.github.io/apidocs/spot/en/#get-fixed-activity-project-position-user_data

Parameters:
NameTypeAttributesDescription
assetstring<optional>
optionsobject<optional>
Properties
NameTypeAttributesDescription
projectIdstring<optional>
statusstring<optional>

"HOLDING", "REDEEMED"

recvWindownumber<optional>

The value cannot be greater than 60000

savingsFlexibleProductPosition(assetopt, optionsopt)

Get Flexible Product Position (USER_DATA)

GET /sapi/v1/lending/daily/token/position

https://binance-docs.github.io/apidocs/spot/en/#get-flexible-product-position-user_data

Parameters:
NameTypeAttributesDescription
assetstring<optional>
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsFlexibleProducts(optionsopt)

Get Flexible Product List (USER_DATA)

GET /sapi/v1/lending/daily/product/list

https://binance-docs.github.io/apidocs/spot/en/#get-flexible-product-list-user_data

Parameters:
NameTypeAttributesDescription
optionsobject<optional>
Properties
NameTypeAttributesDescription
statusstring<optional>

"ALL", "SUBSCRIBABLE", "UNSUBSCRIBABLE"; default "ALL"

featuredstring<optional>

"ALL", "true"; default "ALL"

currentnumber<optional>

Current query page. Default: 1, Min: 1

sizenumber<optional>

Default: 50, Max: 100

recvWindownumber<optional>

The value cannot be greater than 60000

savingsFlexibleRedeem(productId, amount, type, optionsopt)

Redeem Flexible Product (USER_DATA)

POST /sapi/v1/lending/daily/redeem

https://binance-docs.github.io/apidocs/spot/en/#redeem-flexible-product-user_data

Parameters:
NameTypeAttributesDescription
productIdstring
amountnumber
typestring

"FAST", "NORMAL"

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsFlexibleUserLeftQuota(productId, optionsopt)

Get Left Daily Purchase Quota of Flexible Product (USER_DATA)

GET /sapi/v1/lending/daily/userLeftQuota

https://binance-docs.github.io/apidocs/spot/en/#get-left-daily-purchase-quota-of-flexible-product-user_data

Parameters:
NameTypeAttributesDescription
productIdstring
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsFlexibleUserRedemptionQuota(productId, type, optionsopt)

Get Left Daily Redemption Quota of Flexible Product (USER_DATA)

GET /sapi/v1/lending/daily/userRedemptionQuota

https://binance-docs.github.io/apidocs/spot/en/#get-left-daily-redemption-quota-of-flexible-product-user_data

Parameters:
NameTypeAttributesDescription
productIdstring
typestring

"FAST", "NORMAL"

optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsInterestHistory(lendingType, optionsopt)

Get Interest History (USER_DATA)

GET /sapi/v1/lending/union/interestHistory

https://binance-docs.github.io/apidocs/spot/en/#get-interest-history-user_data-2

Parameters:
NameTypeAttributesDescription
lendingTypestring

"DAILY" for flexible, "ACTIVITY" for activity, "CUSTOMIZED_FIXED" for fixed

optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
startTimenumber<optional>
endTimenumber<optional>
currentnumber<optional>

Currently querying page. Start from 1. Default:1

sizenumber<optional>

Default:10, Max:100

recvWindownumber<optional>

The value cannot be greater than 60000

savingsProductList(type, optionsopt)

Get Fixed and Activity Project List(USER_DATA)

GET /sapi/v1/lending/project/list

https://binance-docs.github.io/apidocs/spot/en/#get-fixed-and-activity-project-list-user_data

Parameters:
NameTypeAttributesDescription
typestring

"ACTIVITY", "CUSTOMIZED_FIXED"

optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
statusstring<optional>

"ALL", "SUBSCRIBABLE", "UNSUBSCRIBABLE"; default "ALL"

isSortAscboolean<optional>

default "true"

sortBystring<optional>

"START_TIME", "LOT_SIZE", "INTEREST_RATE", "DURATION"; default "START_TIME"

currentnumber<optional>

Currently querying page. Start from 1. Default:1

sizenumber<optional>

Default:10, Max:100

recvWindownumber<optional>

The value cannot be greater than 60000

savingsPurchaseCustomizedProject(projectId, lot, optionsopt)

Purchase Fixed/Activity Project (USER_DATA)

POST /sapi/v1/lending/customizedFixed/purchase

https://binance-docs.github.io/apidocs/spot/en/#purchase-fixed-activity-project-user_data

Parameters:
NameTypeAttributesDescription
projectIdstring
lotnumber
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsPurchaseFlexibleProduct(productId, amount, optionsopt)

Purchase Flexible Product (USER_DATA)

GET /sapi/v1/lending/daily/purchase

https://binance-docs.github.io/apidocs/spot/en/#purchase-flexible-product-user_data

Parameters:
NameTypeAttributesDescription
productIdstring
amountstring
optionsobject<optional>
Properties
NameTypeAttributesDescription
recvWindownumber<optional>

The value cannot be greater than 60000

savingsPurchaseRecord(lendingType, optionsopt)

Get Purchase Record (USER_DATA)

GET /sapi/v1/lending/union/purchaseRecord

https://binance-docs.github.io/apidocs/spot/en/#get-purchase-record-user_data

Parameters:
NameTypeAttributesDescription
lendingTypestring

"DAILY" for flexible, "ACTIVITY" for activity, "CUSTOMIZED_FIXED" for fixed

optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
startTimenumber<optional>
endTimenumber<optional>
currentnumber<optional>

Currently querying page. Start from 1. Default:1

sizenumber<optional>

Default:10, Max:100

recvWindownumber<optional>

The value cannot be greater than 60000

savingsRedemptionRecord(lendingType, optionsopt)

Get Redemption Record (USER_DATA)

GET /sapi/v1/lending/union/redemptionRecord

https://binance-docs.github.io/apidocs/spot/en/#get-redemption-record-user_data

Parameters:
NameTypeAttributesDescription
lendingTypestring

"DAILY" for flexible, "ACTIVITY" for activity, "CUSTOMIZED_FIXED" for fixed

optionsobject<optional>
Properties
NameTypeAttributesDescription
assetstring<optional>
startTimenumber<optional>
endTimenumber<optional>
currentnumber<optional>

Currently querying page. Start from 1. Default:1

sizenumber<optional>

Default:10, Max:100

recvWindownumber<optional>

The value cannot be greater than 60000