---
title: "Get Content Analytics"
method: GET
path: "/v2/analytics/content/{content_id}"
tags: ["v2 - Analytics"]
---

# Get Content Analytics

`GET /v2/analytics/content/{content_id}`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/analytics/content/{content_id}`
- Auth: HTTP bearer

Get analytics for a specific content item over a date range.

## Path parameters

- `content_id` string, required

## Query parameters

- `period` string: 7d, 30d, 90d, all_time
- `date_from` string, nullable: YYYY-MM-DD
- `date_to` string, nullable: YYYY-MM-DD
- `platforms` string, nullable: Comma-separated platform filter
- `granularity` string: total or daily

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- AnalyticsRangeResponse
  - `content_id` string, required
  - `date_from` string, required
  - `date_to` string, required
  - `snapshots` SnapshotResponse[]
    - `content_id` string, required
    - `snapshot_date` string, required
    - `platforms` object
    - `aggregate` AggregateStatsResponse
      - `total_views` integer
      - `total_likes` integer
      - `total_comments` integer
      - `total_shares` integer
      - `total_reach` integer
      - `total_impressions` integer
      - `best_platform` string, nullable
      - `best_engagement_rate` number
      - `platform_count` integer
      - `platforms_ok` integer
      - `platforms_pending` integer
      - `platforms_error` integer
    - `onchain` OnchainStatsResponse
      - `launch_confirmed` boolean
      - `tx_hash` string, nullable
      - `block_number` integer, nullable
      - `chain` string
      - `ownership_contract_address` string, nullable
      - `published_platforms` string[]
      - `token_holders` object[]
      - `total_tokens` integer
      - `revenue_total_received_usdc` number, nullable
      - `revenue_total_distributed_usdc` number, nullable
      - `revenue_undistributed_usdc` number, nullable
      - `revenue_status` string: 'ok' — the figures were read from the contract (a zero is a real zero). 'unavailable' — the chain could not be read; the figures are null and must not be rendered as $0. 'no_contract' — the content has no ownership contract deployed.
      - `last_activity_timestamp` integer, nullable
      - `status` string
    - `fetched_at` string, nullable
  - `aggregate` AggregateStatsResponse
    - `total_views` integer
    - `total_likes` integer
    - `total_comments` integer
    - `total_shares` integer
    - `total_reach` integer
    - `total_impressions` integer
    - `best_platform` string, nullable
    - `best_engagement_rate` number
    - `platform_count` integer
    - `platforms_ok` integer
    - `platforms_pending` integer
    - `platforms_error` integer
  - `latest_platform_status` object
  - `latest_platforms` object
  - `latest_accounts` object[]
  - `ads` object, nullable
  - `connections_needing_reconnect` object[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
