Analytics

Plan performance

A per-plan breakdown for one project: active subscribers, revenue in the window, payments in the window and the average ticket. project_id is required.

curl "https://api.subscriby.net/v1/analytics/plan-performance?project_id=$PROJECT_ID&period=30d" \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN"

Figures are in the plan's own currency. meta.range is the window the preset resolved to.

get/v1/analytics/plan-performance

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/analytics/plan-performance
  • Auth: HTTP bearer

Query parameters

project_idstring uuid required

The project whose plans to report on. Required: the figures are per plan of one project.

periodstring

The preset window: 7d, 14d, 30d (the default), 60d, 90d, mtd, qtd, ytd, 1y or all. Ignored when both from and to are given; an unknown value falls back to the default rather than failing.

fromstring date

The first day of an explicit window, YYYY-MM-DD. Both from and to are needed to override period.

tostring date

The last day of an explicit window, YYYY-MM-DD. Both from and to are needed to override period.

Response

Per-plan activity in the plan's own currency.

Example response

{
  "data": [
    {
      "plan_id": "c4e82f16-93a7-4d5b-b81c-6e0f27a94d3b",
      "plan_name": "Premium Monthly",
      "active_subscribers": 241,
      "payments_in_window": 58,
      "revenue_in_window": "1682.00",
      "avg_ticket": "29.00"
    }
  ],
  "meta": {
    "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
    "period": "30d",
    "range": {
      "from": "2026-04-18",
      "to": "2026-05-18"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.