Bahasa Indonesia
Get an API key

Endpoints

Campaign stats

Content count, views, engagement, and cost for one campaign.

Get stats

GET/v1/campaigns/{id}/stats

Requires the campaigns:read scope. The money block is only returned with finance:read.

Stats are cached for up to 60 minutes, or 24 hours for finished campaigns. Responses carry an ETag header. Send it back in If-None-Match, and the API answers 304 with no body when nothing has changed.

FieldContents
applicantsNumber of applications
contentContent count per status
views.verified_totalTotal verified views
views.by_platformViews per platform
engagementTotal likes, comments, shares, and their coverage
moneyBudget, remaining budget, amount paid, and service fee

Read What the numbers mean before using these numbers in a report.

curl https://api.wefluence.app/v1/campaigns/abc123/stats \
  -H "Authorization: Bearer $WEFLUENCE_API_KEY"
requests.get(f"{API}/campaigns/abc123/stats", headers=HEADERS).json()
await (await fetch(`${API}/campaigns/abc123/stats`, { headers })).json();
Response
{
  "object": "campaign_stats",
  "campaign_id": "abc123",
  "applicants": 195,
  "content": {
    "pending_review": 0,
    "in_admin_moderation": 0,
    "approved": 783,
    "rejected": 26
  },
  "views": {
    "verified_total": 1414148,
    "by_platform": { "tiktok": { "views": 1414148 } }
  },
  "engagement": {
    "likes": 18014,
    "comments": 1224,
    "shares": 1693,
    "items_with_data": 587,
    "items_counted": 800
  },
  "money": {
    "currency": "IDR",
    "budget": 5000000,
    "remaining_budget": 0,
    "paid_to_creators": 5000000,
    "cost_per_1000_views": 3536,
    "platform_fee": 750000,
    "platform_fee_percent": 15
  },
  "as_of": "2026-11-02T09:00:00.000Z"
}