The Analytics API exposes aggregated click statistics stored in InfluxDB. Query totals broken down by country, device type, and browser. Time ranges ofDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Andr21Da16/Quikko/llms.txt
Use this file to discover all available pages before exploring further.
24h, 7d, and 30d are supported — Pro plan is required for the 7d and 30d ranges. Export to CSV for spreadsheet analysis in Excel or Google Sheets. All endpoints require authentication.
Free plan users are restricted to the
24h range. Requesting 7d or 30d without a Pro plan returns 403 PLAN_RANGE_NOT_ALLOWED. Upgrade your plan via PATCH /api/v1/auth/me/plan to unlock extended ranges.GET /api/v1/analytics/stats
GET/api/v1/analytics/stats
Returns aggregated click statistics for the authenticated user. Provide a shortCode to query a single URL, or omit it for an overview of all your URLs combined.
Query parameters
Short code of the URL to query (e.g.
xYz12A). Omit to get an aggregate overview across all your URLs. Returns 403 FORBIDDEN if the code exists but belongs to another user.Time range for the query. One of
24h, 7d, or 30d. Defaults to 24h. Free plan users may only use 24h.Response — 200 OK
The time range used for this response —
"24h", "7d", or "30d".Aggregated click statistics for the requested range.
Error codes
| HTTP | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid range value or malformed parameters |
| 401 | AUTH_TOKEN_INVALID | Missing or invalid Bearer token |
| 403 | FORBIDDEN | shortCode belongs to another user |
| 403 | PLAN_RANGE_NOT_ALLOWED | Free plan user requested 7d or 30d range |
GET /api/v1/analytics/stats/export
GET/api/v1/analytics/stats/export
Exports the same statistics as GET /api/v1/analytics/stats as a downloadable CSV file. Accepts identical query parameters and enforces the same plan/ownership validations.
The success response is a raw CSV file — not the standard JSON envelope. The file is UTF-8 BOM encoded for seamless opening in Microsoft Excel without manual encoding configuration. Error responses (4xx/5xx) still use the standard JSON envelope.
The response filename follows the pattern: stats-<label>-<range>.csv, where label is the shortCode or "overview" for all-URL exports.
Query parameters
Short code of the URL to export. Omit for an all-URL overview export.
Time range —
24h, 7d, or 30d. Defaults to 24h. Free plan users may only use 24h.Response — 200 OK
A raw CSV file download with headers:
Error codes
| HTTP | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid range value or malformed parameters |
| 401 | AUTH_TOKEN_INVALID | Missing or invalid Bearer token |
| 403 | FORBIDDEN | shortCode belongs to another user |
| 403 | PLAN_RANGE_NOT_ALLOWED | Free plan user requested 7d or 30d |