Skip to content

Markdown Source

Use the raw markdown for copy, automation, and AI agents.

View Markdown

Analytics API

Post Analytics

prolog
GET API_BASE/lists/:list_id/posts/:post_id/analytics?start_date=:start_date&end_date=:end_date&granularity=:granularity

Authorization Required

OAuthAPIKey
YesYes

Parameters

ParameterTypeDescription
list_iduint64The numeric ID of the list.
post_iduint64The numeric ID of the post.

Query Parameters

ParameterTypeDescription
start_datestringDate in YYYY-MM-DD (default: last 30 days).
end_datestringDate in YYYY-MM-DD (default: today).
granularitystringday (default).

Response

json
{
  "data": {
    "summary": { ... },
    "daily": [ ... ],
    "sources_summary": [ ... ]
  },
  "ts": 1723923923
}

List Analytics (Posts)

prolog
GET API_BASE/lists/:list_id/analytics/posts?start_date=:start_date&end_date=:end_date

Authorization Required

OAuthAPIKey
YesYes

Parameters

ParameterTypeDescription
list_iduint64The numeric ID of the list.

Response

json
{
  "data": {
    "items": [ ... ],
    "total": 0,
    "daily": [ ... ]
  },
  "ts": 1723923923
}

List Analytics (Sources)

prolog
GET API_BASE/lists/:list_id/analytics/sources?start_date=:start_date&end_date=:end_date

Authorization Required

OAuthAPIKey
YesYes

Parameters

ParameterTypeDescription
list_iduint64The numeric ID of the list.

Response

json
{
  "data": {
    "sources": [
      {
        "source": "direct",
        "views": 0,
        "percentage": 0
      }
    ],
    "total_views": 0
  },
  "ts": 1723923923
}