---
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`

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

---

[API](https://skmtc.net/binance/apis/binance-public-spot-api.md) · [All operations](https://skmtc.net/binance/apis/binance-public-spot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/binance/binance-public-spot-api/revisions/0dd2f133e12d/schema)
