---
title: "GET /v1/user/protocol"
method: GET
path: "/v1/user/protocol"
tags: ["User"]
---

# GET /v1/user/protocol

`GET /v1/user/protocol`

Get the user's portfolio in the protocol

## Query parameters

- `id` string, required
- `protocol_id` string, required

## Response `200`

return protocol with user portfolio

- UserProtocol[]
  - `id` string — protocol id
  - `chain` string — chain name
  - `name` string
  - `logo_url` string
  - `site_url` string — Prioritize websites that can be interacted with, not official websites
  - `has_supported_portfolio` boolean — Is portfolio already supported
  - `tvl` integer — User deposit value in this protocol
  - `asset_usd_value` number — Asset USD value
  - `debt_usd_value` number — Debt USD value
  - `net_usd_value` number — Net asset USD value

## Other responses

- `400` — Protocol not found

---

[API](https://skmtc.net/debank/apis/debank-openapi.md) · [All operations](https://skmtc.net/debank/apis/debank-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debank/debank-openapi/revisions/3f676effe339/schema)
