Pull your stats with the REST API

    The same numbers the dashboard shows, as JSON you can query from anything. Here are the three endpoints that matter, and how to write them to a file.

    1. 1

      Create an API key

      Settings → API Keys → Generate New API Key, then send it as a Bearer token. The key is scoped to your organisation. The stats endpoints need a Pro or Business plan — a free plan gets 402 PAID_PLAN_REQUIRED.

    2. 2

      Get the aggregated totals

      GET /v1/analytics/metrics/totals sums views, likes, comments, reposts and saves over a date window. group_by slices the same totals by platform, campaign, creator, or platform and creator; the filters narrow it further — platform, campaign, creator, tag, hashtag, content type, status, tracking status, published date, tracked date.

      bash
      curl -X GET "https://api.influtics.com/v1/analytics/metrics/totals?from=2026-10-01&to=2026-11-01&group_by=platform" \
        -H "Authorization: Bearer YOUR_API_KEY"
    3. 3

      Get the daily series

      GET /v1/analytics/metrics/increments returns the same five metrics as a per-day time series. Periods with no activity are left out rather than zero-filled, so the array is shorter than the number of days in the window.

      bash
      curl -X GET "https://api.influtics.com/v1/analytics/metrics/increments?from=2026-10-01&to=2026-11-01&group_by=none" \
        -H "Authorization: Bearer YOUR_API_KEY"
    4. 4

      Get one row per video

      GET /v1/videos/stats returns every tracked video with its views, likes, comments, reposts, engagement rate, CPM and payouts. limit caps at 100 per page — page through with offset and stop when has_more is false. It filters by platform, creator and status; for a date window, use the analytics endpoints above.

      bash
      curl -X GET "https://api.influtics.com/v1/videos/stats?limit=100&sort=views&order=desc" \
        -H "Authorization: Bearer YOUR_API_KEY"
    5. 5

      Write the file yourself

      There is no file endpoint on the public API — the rows come back as JSON. Pipe them through jq to write a CSV.

      bash
      curl -s -X GET "https://api.influtics.com/v1/videos/stats?limit=100&sort=views&order=desc" \
        -H "Authorization: Bearer YOUR_API_KEY" \
      | jq -r '((["external_video_id","platform","views","likes","comments","reposts","er"]) | @csv), (.data.data[] | [.external_video_id, .platform, .views, .likes, .comments, .reposts, .er] | @csv)' \
      > influtics-stats.csv

    Ready to Automate Your Social Media Analytics?

    Join thousands of creators who trust our platform for real-time metrics tracking

    100K+

    Videos Tracked

    50M+

    Data Points Analyzed

    99.9%

    Uptime