Appearance
Download Analytics
Top releases by download count plus a daily download trend.
GET /v1/dashboard/analytics/downloadsRequires a Pro+ plan (402 otherwise).
Query Parameters
| Parameter | Default | Description |
|---|---|---|
days | 30 | Trend 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 }
]
}
}| Field | Description |
|---|---|
releases | Top 10 releases across the account by all-time download count. |
trend | Downloads 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"