---
title: "Get portfolio header stats"
method: GET
path: "/v1/portfolio/header"
tags: ["Portfolio"]
---

# Get portfolio header stats

`GET /v1/portfolio/header`

Get portfolio header stats for all 4 timeframes (24h, 7d, 30d, all-time): trading volume, volume venue rank, market exposure (time-weighted avg OI), and market exposure venue rank.

## Query parameters

- `account` string

## Response `200`

A successful response.

- ApiGetPortfolioHeaderResponse — GetPortfolioHeaderResponse returns header stats for all 4 timeframes.
  - `account` string
  - `h24` ApiPortfolioHeaderStats — PortfolioHeaderStats holds volume and market exposure stats for one timeframe.
    - `volume` string — Total trading volume in the timeframe (decimal USD string).
    - `volume_rank` string, int64 — User's rank by trading volume among all platform users. 0 = unranked.
    - `market_exposure` string — Time-weighted average open interest in the timeframe (decimal USD string).
    - `market_exposure_rank` string, int64 — User's rank by market exposure among all platform users. 0 = unranked.
  - `d7` ApiPortfolioHeaderStats — PortfolioHeaderStats holds volume and market exposure stats for one timeframe.
    - `volume` string — Total trading volume in the timeframe (decimal USD string).
    - `volume_rank` string, int64 — User's rank by trading volume among all platform users. 0 = unranked.
    - `market_exposure` string — Time-weighted average open interest in the timeframe (decimal USD string).
    - `market_exposure_rank` string, int64 — User's rank by market exposure among all platform users. 0 = unranked.
  - `d30` ApiPortfolioHeaderStats — PortfolioHeaderStats holds volume and market exposure stats for one timeframe.
    - `volume` string — Total trading volume in the timeframe (decimal USD string).
    - `volume_rank` string, int64 — User's rank by trading volume among all platform users. 0 = unranked.
    - `market_exposure` string — Time-weighted average open interest in the timeframe (decimal USD string).
    - `market_exposure_rank` string, int64 — User's rank by market exposure among all platform users. 0 = unranked.
  - `all_time` ApiPortfolioHeaderStats — PortfolioHeaderStats holds volume and market exposure stats for one timeframe.
    - `volume` string — Total trading volume in the timeframe (decimal USD string).
    - `volume_rank` string, int64 — User's rank by trading volume among all platform users. 0 = unranked.
    - `market_exposure` string — Time-weighted average open interest in the timeframe (decimal USD string).
    - `market_exposure_rank` string, int64 — User's rank by market exposure among all platform users. 0 = unranked.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rise/apis/risex-rest-api.md) · [All operations](https://skmtc.net/rise/apis/risex-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rise/risex-rest-api/revisions/194af8339c0d/schema)
