---
title: "Daily activity counts"
method: GET
path: "/api/v1/analytics/daily"
tags: ["Analytics"]
---

# Daily activity counts

`GET /api/v1/analytics/daily`

## Request

- Base URL: `https://api-app.postnext.io`
- URL: `https://api-app.postnext.io/api/v1/analytics/daily`
- Auth: API key in header `x-api-key`

Per-day counts of posts, ideas and assets over the last N days (max 60).

## Query parameters

- `days` integer

## Response `200`

Daily count series

- object
  - `success` boolean
  - `data` AnalyticsDailyPoint[]
    - `date` string
    - `posts` AnalyticsCount
      - `teamCount` integer
      - `userCount` integer
    - `ideas` AnalyticsCount
      - `teamCount` integer
      - `userCount` integer
    - `assets` AnalyticsCount
      - `teamCount` integer
      - `userCount` integer

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/postnext/apis/postnext-public-api.md) · [All operations](https://skmtc.dev/postnext/apis/postnext-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postnext/apis/postnext-public-api/revisions/c0bf3aa03271?raw)
