---
title: "Get analytics card data"
method: GET
path: "/analytics/cards/{card_code}"
tags: ["Analytics"]
---

# Get analytics card data

`GET /analytics/cards/{card_code}`

Returns the current value of a scalar dashboard card. Cards bundle several
related metrics (e.g. `realtime` returns today's trials, subscriptions,
in-app purchases and tracked revenue as a four-row table).

Valid public card codes:
  * `realtime` — today-so-far vs. yesterday counters
    (`trials_count`, `subscriptions_count`, `inapp_count`, `tracked_revenue`).

Additional codes are internal-only and return 404 when requested publicly.

## Path parameters

- `card_code` 'realtime', required

## Query parameters

- `from` integer
- `to` integer
- `unit` 'hour' | 'day' | 'week' | 'month'
- `environment` 0 | 1
- `max_series` integer
- `segmentation` string
- `currency` string
- `filter[<attribute>][]` string[]

## Response `200`

Card data. `realtime` returns an array of one row per sub-metric.

- V4AnalyticsCardRow[] — Array of per-metric rows. Unlike chart/cohort endpoints, the card payload is an array rather than an `{object, url, ...}` envelope.
  - `code` string, required — Sub-metric code (e.g. `trials_count`, `subscriptions_count`, `inapp_count`, `tracked_revenue`).
  - `value` number, required — Value for the current window (integer for count metrics, decimal for revenue).
  - `valuePrev` number — Value for the previous comparison window.

## Other responses

- `400` — Invalid request parameters
- `401` — Unauthorized
- `403` — Insufficient permissions
- `404` — Card not found
- `429` — Too many requests
- `500` — Internal error
- `502` — Upstream service failure
- `504` — Upstream timeout

---

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