Skip to content

Download Analytics

Top releases by download count plus a daily download trend.

GET /v1/dashboard/analytics/downloads

Requires a Pro+ plan (402 otherwise).

Query Parameters

ParameterDefaultDescription
days30Trend window in days.

Response

json
{
  "data": {
    "releases": [
      {
        "id": "rel_xxx",
        "version": "1.4.0",
        "productName": "My Plugin",
        "downloadCount": 152
      }
    ],
    "trend": [
      { "date": "2026-06-11", "value": 12 },
      { "date": "2026-06-12", "value": 9 }
    ]
  }
}
FieldDescription
releasesTop 10 releases across the account by all-time download count.
trendDownloads per day within the window (empty days omitted).

Example

bash
curl -X GET "https://api.packedge.dev/v1/dashboard/analytics/downloads?days=90" \
  -H "Authorization: Bearer pk_your_api_key"