---
title: "Query Index Linked Plan Position Details(USER_DATA)"
method: GET
path: "/sapi/v1/lending/auto-invest/index/user-summary"
tags: ["Auto-Invest"]
---

# Query Index Linked Plan Position Details(USER_DATA)

`GET /sapi/v1/lending/auto-invest/index/user-summary`

## Request

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

Details on users Index-Linked plan position details

Weight(IP): 1

## Query parameters

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

## Response `200`

Position Details

- object
  - `indexId` integer, required
  - `totalInvestedInUSD` string, required
  - `currentInvestedInUSD` string, required: current invest
  - `pnlInUSD` string, required: PNL of the plan in USD based on current amount
  - `roi` string, required: ROI of the plan based on current amount
  - `assetAllocation` object[], required
    - `targetAsset` string, required: for pie chart
    - `allocation` string, required
  - `details` object[], required
    - `targetAsset` string, required
    - `averagePriceInUSD` string, required: average price of the asset in USD
    - `totalInvestedInUSD` string, required: total source asset invested for this target asset in equivilent of USD
    - `currentInvestedInUSD` string, required: current invest
    - `purchasedAmount` string, required: purchased amount of target asset
    - `pnlInUSD` string, required: PNL denominated in USD
    - `roi` string, required: ROI calculated in decimal
    - `percentage` string, required: asset allocation in the plan. If it's single plan, then it's 100
    - `availableAmount` string, required
    - `redeemedAmount` string, required
    - `assetValueInUSD` string, required

## Other responses

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

## Changes

- **2023-09-28** `1c55b3bb10d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v1/lending/auto-invest/index/user-summary/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)
