Skip to main content
GET
/
analytics
/
cards
/
{card_code}
Get analytics card data
curl --request GET \
  --url https://api.qonversion.io/v4/analytics/cards/{card_code} \
  --header 'Authorization: Bearer <token>'
[
  {
    "code": "trials_count",
    "value": 12,
    "valuePrev": 7
  },
  {
    "code": "subscriptions_count",
    "value": 4,
    "valuePrev": 3
  },
  {
    "code": "inapp_count",
    "value": 0,
    "valuePrev": 1
  },
  {
    "code": "tracked_revenue",
    "value": 43.8,
    "valuePrev": 21.99
  }
]

Documentation Index

Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.

Path Parameters

card_code
enum<string>
required

Card code. Only codes listed in the endpoint description are exposed publicly.

Available options:
realtime
Maximum string length: 64

Query Parameters

from
integer<int64>

Start of the time range (Unix timestamp, seconds). Ignored by cards that report fixed windows (e.g. realtime).

to
integer<int64>

End of the time range (Unix timestamp, seconds). Ignored by cards that report fixed windows.

unit
enum<string>
Available options:
hour,
day,
week,
month
environment
enum<integer>
default:1

Environment: 0 = sandbox, 1 = production.

Available options:
0,
1
max_series
integer
Required range: 0 <= x <= 500
segmentation
string
currency
string
default:USD

Three-letter ISO 4217 currency code. Affects monetary values like tracked_revenue.

Pattern: ^[A-Z]{3}$
filter[<attribute>][]
string[]

Same schema as the charts endpoint.

Response

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

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.