Login

Analytics & AI Visibility

Power external agency client dashboards and BI warehouses with site summaries, unified traffic/GSC metrics, AI bot citation logs, and CSV exports. All analytics endpoints require analytics:read.

Summary stats

GET/v1/analytics/summary

Retrieves fast aggregated totals (posts, active email subscribers, comments, and daily/30d/total views).

GETRequest
curl https://api.bloghunch.com/v1/analytics/summary \
  -H "Authorization: Bearer {token}"
{
  "data": {
    "publication_id": 3696,
    "total_posts": 23,
    "total_subscribers": 412,
    "total_comments": 45,
    "views": {
      "today": 84,
      "yesterday": 112,
      "last_7_days": 640,
      "last_30_days": 2890,
      "total": 18420
    }
  }
}

Unified dashboard, AI citations & exports

  • Unified traffic + GSC + AI visibility: GET /v1/analytics/unified?period=30d&compare=true
  • AI Citation Logs (Agency & Enterprise): GET /v1/analytics/ai-citations?period=30d&platform=all&page=1&limit=20
  • CSV Export: GET /v1/analytics/export?period=30d
  • Per-post metrics: GET /v1/posts/{id}/analytics