---
title: "Get real-time NW and PnL for a user (all wallets aggregated)"
method: GET
path: "/v1/portfolio/realtime"
tags: ["portfolio"]
---

# Get real-time NW and PnL for a user (all wallets aggregated)

`GET /v1/portfolio/realtime`

## Query parameters

- `userId` string, uuid, required

## Response `200`

Successful response

- RealtimePortfolioOutput
  - `account_value` number, required
  - `pnl` number, required
  - `observed_at` string, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/legend/apis/legend-api.md) · [All operations](https://skmtc.net/legend/apis/legend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/legend/legend-api/versions/34b8f4885f8a/schema)
