API reference

Statistics

The Dashboard and the Data page as the app computes them. The same requests with the same filters give the same numbers as the screen, the card's value, its compared value and its badge.

Without a filter, the API takes the ones you last chose in the app, as the page does when it opens. The days are your account's time zone's, as in the app.

The dashboard object

Your Dashboard's cards with the numbers the app shows for the same filters, computed by the same requests. The period view is the grid of cards, the today view is the chart at the top.

Attributes

  • objectstring
    Always dashboard.
  • viewstring
    period for the grid of cards, today for the chart at the top.
    periodtoday
  • timezonestring
    The time zone of the days, your account's as in the app, else UTC.
  • currencystring
    The Sublaunch's currency, in lowercase.
  • periodobject
    The period view's filters, as the app's menus show them.
  • daystring
    The today view's day, 2026-12-01.
  • compared_daystring
    The today view's compared day.
  • chartsarray of objects
    The cards, in the Dashboard's order. A Showcase page has leads and visitors only.
Dashboard object
{
  "object": "dashboard",
  "view": "period",
  "timezone": "Europe/Paris",
  "currency": "usd",
  "period": {
    "time": "last_4_weeks",
    "start": "2026-11-03T23:00:00.000Z",
    "end": "2026-12-01T22:59:59.999Z",
    "scale": "day",
    "scales": ["day"],
    "comparison": "previous_period",
    "compared_start": "2026-10-06T22:00:00.000Z",
    "compared_end": "2026-11-03T22:59:59.999Z",
    "tag": "all"
  },
  "charts": [
    {
      "key": "mrr",
      "title": "MRR",
      "type": "line",
      "unit": "currency",
      "value": 6438,
      "compared_value": 6012.5,
      "change": "+7.1%"
    },
    {
      "key": "net_volume",
      "title": "Net volume from sales",
      "type": "line",
      "unit": "currency",
      "value": 6732.4,
      "compared_value": 5980,
      "change": "+12.6%"
    },
    {
      "key": "new_subscribers",
      "title": "New subscribers",
      "type": "line",
      "unit": "number",
      "value": 41,
      "compared_value": 38,
      "change": "+7.9%"
    },
    {
      "key": "conversion_rate",
      "title": "Conversion rate",
      "type": "line",
      "unit": "percentage",
      "value": 3.42,
      "compared_value": 3.1,
      "change": "+10.3%"
    },
    {
      "key": "active_subscribers_breakdown",
      "title": "Active subscribers breakdown",
      "type": "breakdown",
      "by": "price",
      "total": 214,
      "rows": [
        {
          "price": {
            "id": "Pm7Qx2LkVd",
            "tier_id": "tier1",
            "amount": 29,
            "currency": "usd",
            "interval": "month",
            "interval_count": 1,
            "archived": false
          },
          "count": 160,
          "share": 74.8
        },
        {
          "price": {
            "id": "Py4Rt8WnBc",
            "tier_id": "tier1",
            "amount": 290,
            "currency": "usd",
            "interval": "year",
            "interval_count": 1,
            "archived": false
          },
          "count": 54,
          "share": 25.2
        }
      ],
      "members": 214,
      "prices": {
        "active": [],
        "archived": []
      }
    },
    {
      "key": "last_payments",
      "title": "Last payments",
      "type": "list",
      "rows": [
        {
          "email": "alex@example.com",
          "product": null,
          "amount": 29,
          "paid_at": "2026-12-01T09:12:40.000Z"
        }
      ]
    }
  ]
}

Retrieve the dashboard

GET/v1/dashboardread scopeMCPget_dashboard

Returns the Dashboard's cards. The period view takes the period, scale, comparison and tag menus of the app. The today view is the chart at the top, today so far against a whole past day, by the hour.

Query parameters

  • viewstring
    period for the grid of cards, today for the chart at the top. period by default.
    periodtoday
  • chartsarray of strings
    Only these cards, by key, comma separated. Every card by default. In the today view, the chart you last chose.
    mrractive_subscribersnet_volumegross_volumeactive_subscribers_breakdownpaymentslast_paymentsnew_subscriberslast_new_subscribersaddon_salesaddons_breakdownupsells_breakdownaddons_soldaffiliate_payoutsleadsvisitorsconversion_rate
  • timestring
    The Time menu's choice. The one you last chose by default, else today.
    todaylast_7_dayslast_4_weekslast_3_monthslast_12_monthsmonth_to_datequarter_to_dateyear_to_dateall_timecustom
  • startstring
    A custom period's first day, 2026-11-01, with end.
  • endstring
    A custom period's last day, today at the latest.
  • scalestring
    The step of the curves, one of period.scales. The one you last chose by default.
    hourdayweekmonth
  • comparisonstring
    What the period is compared to. previous_period by default.
    previous_periodprevious_monthprevious_quarterprevious_yearno_comparison
  • tagstring
    Only what came through this tag. all by default. MRR and the breakdown are never filtered.
  • compared_daystring
    The today view's compared day, before today. The one you last chose by default, else yesterday.
  • seriesboolean
    Whether to add each line card's curve and its compared curve.

Returns

The dashboard object.

Errors

GET/v1/dashboard
curl -G https://api.sublaunch.com/v1/dashboard \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d time=last_4_weeks \
  -d charts=mrr,net_volume,new_subscribers
Response200
{
  "object": "dashboard",
  "view": "period",
  "timezone": "Europe/Paris",
  "currency": "usd",
  "period": {
    "time": "last_4_weeks",
    "start": "2026-11-03T23:00:00.000Z",
    "end": "2026-12-01T22:59:59.999Z",
    "scale": "day",
    "scales": ["day"],
    "comparison": "previous_period",
    "compared_start": "2026-10-06T22:00:00.000Z",
    "compared_end": "2026-11-03T22:59:59.999Z",
    "tag": "all"
  },
  "charts": [
    {
      "key": "mrr",
      "title": "MRR",
      "type": "line",
      "unit": "currency",
      "value": 6438,
      "compared_value": 6012.5,
      "change": "+7.1%"
    },
    {
      "key": "net_volume",
      "title": "Net volume from sales",
      "type": "line",
      "unit": "currency",
      "value": 6732.4,
      "compared_value": 5980,
      "change": "+12.6%"
    },
    {
      "key": "new_subscribers",
      "title": "New subscribers",
      "type": "line",
      "unit": "number",
      "value": 41,
      "compared_value": 38,
      "change": "+7.9%"
    },
    {
      "key": "conversion_rate",
      "title": "Conversion rate",
      "type": "line",
      "unit": "percentage",
      "value": 3.42,
      "compared_value": 3.1,
      "change": "+10.3%"
    },
    {
      "key": "active_subscribers_breakdown",
      "title": "Active subscribers breakdown",
      "type": "breakdown",
      "by": "price",
      "total": 214,
      "rows": [
        {
          "price": {
            "id": "Pm7Qx2LkVd",
            "tier_id": "tier1",
            "amount": 29,
            "currency": "usd",
            "interval": "month",
            "interval_count": 1,
            "archived": false
          },
          "count": 160,
          "share": 74.8
        },
        {
          "price": {
            "id": "Py4Rt8WnBc",
            "tier_id": "tier1",
            "amount": 290,
            "currency": "usd",
            "interval": "year",
            "interval_count": 1,
            "archived": false
          },
          "count": 54,
          "share": 25.2
        }
      ],
      "members": 214,
      "prices": {
        "active": [],
        "archived": []
      }
    },
    {
      "key": "last_payments",
      "title": "Last payments",
      "type": "list",
      "rows": [
        {
          "email": "alex@example.com",
          "product": null,
          "amount": 29,
          "paid_at": "2026-12-01T09:12:40.000Z"
        }
      ]
    }
  ]
}

The data list

One of your Data page's lists, with the same filters and the count the page shows for them.

Attributes

  • objectstring
    Always list.
  • liststring
    Which list.
    subscriberspaymentsleads
  • countinteger
    How many rows match the filters, the number the page shows.
  • timezonestring
    The time zone of the days, your account's, else UTC.
  • periodobject
    The period's time, start and end.
  • statusstring
    The subscribers list's status filter.
  • payment_kindstring
    The payments list's kind filter.
  • tagstring
    The Tag menu's choice.
  • dataarray of objects
    The rows, as the list and their panel show them. A subscription has its email, status, price, type, payments, affiliate and coupon. A payment has its product or price, amount, amount_net and amount_affiliate, and upsell with its offer_id, kind and discount when it was a one-click upsell taken after checkout. A lead has its name, phone, consent and form fields.
  • has_moreboolean
    Whether more rows follow.
  • next_cursorstring or null
    The cursor of the next page.
Data list
{
  "object": "list",
  "data": [
    {
      "id": "Ms8kL2QpXz",
      "object": "subscription",
      "email": "alex@example.com",
      "status": "active",
      "price": {
        "id": "Pm7Qx2LkVd",
        "tier_id": "tier1",
        "amount": 29,
        "currency": "usd",
        "interval": "month",
        "interval_count": 1
      },
      "type": "recurring",
      "from_affiliate": false,
      "affiliate_code": null,
      "payments": 3,
      "coupon_code": null,
      "cancel_at": null,
      "cancellation_reason": null,
      "created_at": "2026-09-02T18:41:07.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0",
  "list": "subscribers",
  "count": 214
}

List data

GET/v1/dataread scopeMCPget_data

Returns one of the Data page's lists with its count, as the page asks for it, 30 rows a page.

Query parameters

  • liststring
    Which list. The one you last chose by default. A Showcase page has leads only, a free community no payments unless members still pay.
    subscriberspaymentsleads
  • timestring
    The period. The one you last chose by default, else all_time.
    todaylast_7_dayslast_4_weekslast_3_monthslast_12_monthsmonth_to_datequarter_to_dateyear_to_dateall_timecustom
  • startstring
    A custom period's first day, 2026-11-01, with end.
  • endstring
    A custom period's last day, today at the latest.
  • statusstring
    The subscribers list's status. The one you last chose by default, else all.
    allactivecanceled
  • payment_kindstring
    The payments list's kind, addons for add-ons and courses bought on their own, upsells for one-click upsells taken after checkout. all by default.
    allmembershipsaddonsupsells
  • tagstring
    Only what came through this tag. all by default.
  • searchstring
    The page's search, an email or a name.
  • sortstring
    The sorted column. created_at by default.
    created_atpaymentsfrom_affiliateamountamount_netamount_affiliate
  • orderstring
    asc or desc. desc by default, asc for from_affiliate.
    ascdesc
  • limitinteger
    How many rows to return, from 1 to 100. 30 by default, as the page loads them.
  • cursorstring
    The next_cursor of the previous page, to get the page after it. Keep the other parameters the same. See Pagination.

Returns

A data list.

Errors

  • A parameter has a value the API does not accept. param names it.
  • The cursor is not one this list gave, was made for other filters, or goes deeper than its limit.
GET/v1/data
curl -G https://api.sublaunch.com/v1/data \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d list=subscribers \
  -d time=last_12_months \
  -d status=active
Response200
{
  "object": "list",
  "data": [
    {
      "id": "Ms8kL2QpXz",
      "object": "subscription",
      "email": "alex@example.com",
      "status": "active",
      "price": {
        "id": "Pm7Qx2LkVd",
        "tier_id": "tier1",
        "amount": 29,
        "currency": "usd",
        "interval": "month",
        "interval_count": 1
      },
      "type": "recurring",
      "from_affiliate": false,
      "affiliate_code": null,
      "payments": 3,
      "coupon_code": null,
      "cancel_at": null,
      "cancellation_reason": null,
      "created_at": "2026-09-02T18:41:07.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0",
  "list": "subscribers",
  "count": 214
}