Skip to content
UGC API

Reports: accounts, groups and campaigns over any period

UGC API reads every post on your connected accounts back from the platforms and keeps one row per post per day, plus each account's followers and its platform account insights per day. GET /v1/reports turns that history into a report for any period and any set of accounts: what posts gained, how followers moved, what the platform says about reach, and which accounts, posts and clips led.

Updated

GET /v1/reports

Pick the accounts with account_id (one or comma-separated), tag (an account group), platform or campaign_id; leave them out for every account. Pick the period with from and to (YYYY-MM-DD) or days (default 30, up to 366). posts=all (default) covers every post on the accounts, including ones published elsewhere; posts=ours keeps to posts sent with UGC API, and a campaign report always does.

bash
curl "https://ugcapi.dev/v1/reports?tag=ugc&days=30&group_by=account&preset=ugc" -H "Authorization: Bearer ugc_live_..."
json
{
  "query": { "from": "2026-10-10", "to": "2026-11-08", "days": 30, "preset": "ugc", "group_by": "account", "posts": "all" },
  "summary": { "accounts": 17, "posts_published": 149, "ours_published": 142, "views": 18070, "likes": 342, "interactions": 346, "engagement_rate": 0.0191,
    "views_per_post": 114, "followers": 2140, "followers_gained": 96, "follower_growth": 0.047, "cost_usd": 1.99, "cost_per_1k_views": 0.11, "breakouts": 19,
    "platform_insights": { "reach": 2465, "views": 668, "interactions": 16, "link_taps": 0, "new_followers": 12 } },
  "by_platform": { "tiktok": { "accounts": 2, "views": 14846, "followers": 9, "followers_gained": 2 }, "youtube": { "accounts": 5, "views": 12459 } },
  "groups": [ { "account_id": "acc_…", "platform": "tiktok", "username": "lindoai", "followers": 4, "followers_gained": 1, "posts_published": 4, "views": 7504, "engagement_rate": 0.0145 } ],
  "series": [ { "period": "2026-11-07", "posts": 12, "views": 3210, "interactions": 61, "followers": 2131, "platform_insights": { "reach": 410 } } ],
  "top_posts": [ { "username": "skye.dailyfinds", "kind": "video", "url": "https://…", "gained": { "views": 3100 }, "lifetime": { "views": 4100 } } ],
  "highlights": [ { "label": "Cost per 1,000 views", "value": "$0.11" } ],
  "coverage": { "history_since": "2026-11-07", "notes": ["Posts from before the period count from our first reading of them."] }
}
ParameterValues
group_byday (default), week, month, account, platform, post, kind (reel, video, carousel, story…), clip, campaign
presetugc: results, cost per 1,000 views, breakouts, top clip · news: reach, link taps, new followers, posts a day, best posting hour · influencer: followers, growth, views per post, engagement per follower, posts a week
postsall (default) or ours
formatjson (default) or csv (the groups as a spreadsheet)
limitGroups returned, 1–500 (default 50)
  • Period numbers are gains: a post's views on to minus its views the day before from. A post from before the period counts from our first reading of it.
  • followers and followers_gained come from each account's daily totals; platform_insights are the platform's own whole-account numbers per day (Instagram and Facebook Pages), summed over the period. Reach summed over days counts a person once per day.
  • Instagram Stories are read every hour while they're live, so a Story's views, reach, replies, taps forward and back, exits, follows and profile visits are kept after it expires.
  • Posts are read hourly for their first 2 days, every 6 hours to day 14, then daily to day 90. Accounts with nothing new are read every 6 hours; POST /v1/metrics/refresh reads yours again now.
  • YouTube is shown on its own and never added into combined totals, rates or the daily series, and its data is kept 30 days (YouTube API policy).

Scheduled reports

POST /v1/reports/schedules with frequency (daily, weekly or monthly), the same filters as above, and email (you or a workspace member) and/or webhook: true. Daily reports cover yesterday, weekly ones go out on Mondays for the last 7 days, monthly ones on the 1st for the last 30. The webhook gets a report.ready event with the full report. GET /v1/reports/schedules lists them and DELETE /v1/reports/schedules/:id removes one.

bash
curl https://ugcapi.dev/v1/reports/schedules -H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json"   -d '{"frequency": "weekly", "tag": "news", "preset": "news", "email": "you@example.com"}'

From an agent, the MCP tools are get_report and schedule_report, with the same parameters.

GET /v1/campaigns/:id/report

group_by is platform (default), account, clip, variant, placement or day. Each group has its totals, average and median views per result, engagement rate, lift over the campaign median, views at 1h, 6h, 1d, 3d and 7d, breakouts and cost. winner is the group with the most views per result, and insights says what stood out.

bash
curl "https://ugcapi.dev/v1/campaigns/cmp_xyz/report?group_by=platform" -H "Authorization: Bearer ugc_live_..."
json
{
  "campaign_id": "cmp_xyz",
  "group_by": "platform",
  "overall": { "results": 40, "published": 40, "measured": 38, "views": 184200, "likes": 9310, "engagement_rate": 0.083, "median_views": 2100, "cost_usd": 0.4, "cost_per_1k_views": 0.0022, "breakouts": 2 },
  "groups": [
    { "key": "tiktok", "avg_views": 5200, "lift": 2.48, "views": 52000, "saves": null, "reach": null, "engagement_rate": 0.089, "views_at": { "1h": 300, "6h": 1900, "1d": 4160, "3d": 5000, "7d": null } },
    { "key": "instagram", "avg_views": 2100, "lift": 1, "views": 21000, "saves": 400, "reach": 18000, "engagement_rate": 0.105 }
  ],
  "winner": { "key": "tiktok", "avg_views": 5200, "times_runner_up": 2.5 },
  "insights": ["tiktok led on views per post: 2.5× the next platform.", "instagram had the best engagement rate (10.5%)."]
}

One clip across every platform

GET /v1/clips lists clips best first (filter with campaign_id, from, to). GET /v1/clips/:clip_id returns one clip's totals, the winning platform and account, results by platform, by account and by caption variant, its views over time, and every result with its URL and numbers.

bash
curl "https://ugcapi.dev/v1/clips/clip_a634d29f5398886a" -H "Authorization: Bearer ugc_live_..."

How numbers compare

Platformviewslikescommentssharessavesreach
TikTokviews✓✓✓nullnull
Instagram Reels and postsviews (plays)✓✓✓✓✓
Facebook ReelsReel playsreactions✓✓nullnull
Facebook photo postsviewsreactions✓✓nullnull
Instagram Storiesviewsnullnull✓null✓ (plus replies, taps, exits)
YouTube Shortsviews✓✓nullnullnull
  • null means the platform doesn't report that number, which is different from 0. Totals skip nulls.
  • engagement is likes + comments + shares + saves; engagement_rate is engagement ÷ views.
  • Numbers refresh hourly (POST /v1/metrics/refresh reads them again now). Snapshots are kept hourly for a result's first 48 hours and daily after that, which is where views_at comes from.
  • cost_usd is the credits used at $0.01 each, the 1,000-post pack's rate; with bigger packs your real cost per post is lower (down to 0.68¢), so treat it as an upper bound. cost_per_1k_views divides it by views.

Caption variants and A/B labels

Give a post caption_variants and UGC API rotates them across accounts; each result is labelled caption_1, caption_2… Or set variant (like hook-b) on posts yourself. group_by=variant then tells you which caption or hook won. You can also set your own clip_id to group different files (say, two edits of one shoot) as one clip.

Breakouts

When a result reaches 3× its account's median views (the account's other results at least a day old, with at least 100 views) within its first 48 hours, it gets breakout_at and a post.breakout webhook fires. A campaign can repost breakouts automatically: see repost rules.

FAQ

What is a clip?

The same content wherever it was posted. UGC API fingerprints the media when it's uploaded, so one video posted to 30 accounts on four platforms is one clip with one clip_id.

Why is TikTok views null?

TikTok numbers need the video.list permission, which the creator grants when connecting. Accounts connected before 5 Nov 2026 need to reconnect once; until then their TikTok results show null rather than 0.

Can I report on accounts that don't post through UGC API?

Yes. Reports cover every post on a connected account by default, so a news or creator account that publishes from its phone or another tool still gets daily numbers. Use posts=ours to keep to posts sent with UGC API.

How far back does history go?

From when the account was connected (and 30 days of Instagram and Facebook account insights before that). Platforms only give current totals, so UGC API stores them daily from then on.

Can I compare caption variants?

Yes. Use caption_variants on a post (or the variant label) and call the campaign report with group_by=variant.

Related