---
title: "Every site of the API key's workspace, side by side"
method: GET
path: "/api/portfolio"
tags: ["analytics"]
---

# Every site of the API key's workspace, side by side

`GET /api/portfolio`

## Request

- Base URL: `https://app.vitrus.dev/app`
- URL: `https://app.vitrus.dev/app/api/portfolio`
- Auth: one of:
  - API key in cookie `vitrus_session`
  - HTTP bearer

Visitors (with the previous period), active, new and lost users, signups, became paying, paying now and revenue per currency, plus totals. Counts are added across sites: identities are hashed per site, so the same person on two sites counts twice. Takes Authorization: Bearer vk_…

## Query parameters

- `days` integer

## Response `200`

One row per site, totals, and the queries.

## Other responses

- `401`: No or invalid API key.

---

[API](https://skmtc.dev/vitrus/apis/vitrus-api.md) · [All operations](https://skmtc.dev/vitrus/apis/vitrus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vitrus/apis/vitrus-api/revisions/a7d8c6e18f7c?raw)
