---
title: "Query all source asset and target asset (USER_DATA)"
method: GET
path: "/sapi/v1/lending/auto-invest/all/asset"
tags: ["Auto-Invest"]
---

# Query all source asset and target asset (USER_DATA)

`GET /sapi/v1/lending/auto-invest/all/asset`

## Request

- Base URL: `https://api.binance.com`
- URL: `https://api.binance.com/sapi/v1/lending/auto-invest/all/asset`
- Auth: API key in header `X-MBX-APIKEY`

Query all source assets and target assets

Weight(IP): 1

## Query parameters

- `recvWindow` integer
- `timestamp` integer, required
- `signature` string, required

## Response `200`

Target asset

- object
  - `targetAssets` string[], required
  - `sourceAssets` string[], required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized Request

## Changes

- **2023-09-19** `e09d615edc03`: 1 warning, 2 info
  - removed the optional property `required` from the response with the `200` status
  - the response property `targetAssets` became required for the status `200`
  - added the required property `sourceAssets` to the response with the `200` status
- **2023-09-02** `6622e0c15100`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/lending/auto-invest/all/asset/get.md)

---

[API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) - [All operations](https://skmtc.dev/binance/apis/binance-public-spot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/binance/apis/binance-public-spot-api/revisions/0dd2f133e12d?raw)
