Since Trackagoat 2.0, videos are multi-platform. Each video carries a platform, belongs to an account, and records the platform's own platform_video_id. Add videos from TikTok, Instagram, or YouTube — the platform is auto-detected from the URL.
GET /api/v2/videos
List tracked videos in your organization. Videos with tracking_status = "excluded" are never returned.
Creator this video belongs to (null for direct adds)
account_id
uuid | null
Account this video was posted from (null for direct adds)
platform
tiktok | instagram | youtube
POST /api/v2/projects//videos
Add one video URL or a bulk array (up to 50). Requires the write scope. The platform and video ID are auto-detected from the URL. Dispatches a video-stats scrape automatically.
Trigger a manual video-stats scrape. Requires the write scope.
bash
curl -X POST \ -H "Authorization: Bearer tga_<key>" \ https://www.trackagoat.com/api/v2/videos/<uuid>/scrape
The response echoes { video_id, job_id }. Returns 429 if the daily scrape limit is exceeded.
POST /api/v2/videos//tracking-disable
Disable tracking for a video without deleting it. Requires the write scope.
bash
curl -X POST -H "Authorization: Bearer tga_<key>" \ https://www.trackagoat.com/api/v2/videos/<uuid>/tracking-disable
Use /tracking-enable to re-enable, and /tracking-unexempt to clear the age-rule exemption flag. Each returns the video's tracking flags: { id, tracking_disabled, tracking_disabled_at, tracking_disabled_reason, tracking_exempted }.
POST /api/v2/projects//videos/bulk-tracking-disable
Disable tracking for up to 200 videos in one call. Requires the write scope.
Use /bulk-tracking-enable to re-enable. Pass "exempt": true to also mark videos as exempt from auto-expiry.
Video time-series analytics
There is no per-video stats endpoint. Use the unified Analytics endpoint with entity=video for view, engagement, and growth time-series.
bash
# Daily new views for a videocurl -H "Authorization: Bearer tga_<key>" \ "https://www.trackagoat.com/api/v2/analytics?entity=video&entity_id=<uuid>&metric=views&mode=new&granularity=day"# Engagement rate (derived)curl -H "Authorization: Bearer tga_<key>" \ "https://www.trackagoat.com/api/v2/analytics?entity=video&entity_id=<uuid>&metric=engagement_rate_by_views&mode=rate"
To view combined stats for the same content across platforms, group the videos and read content group stats.
engagement_rate_by_followers is not supported for video entities — use a creator or campaign entity instead. See the Analytics API reference for the full metric and parameter list.
limit
number
50
Items per page (max 100)
cursor
string
:
Pagination cursor
Platform the video is on
platform_video_id
string
The platform's internal video ID
url
string
Full video URL
title
string | null
Video title (when available from the platform)
description
string | null
The post's caption as posted on the platform
readme
string | null
Team notes / agent context — Markdown notes (rendered in the Notes tab)
metadata
object
Agent-writable structured data
thumbnail_url
string | null
Proxied thumbnail URL
view_count
number
Current view count (latest snapshot)
like_count
number
Current like count
comment_count
number
Current comment count
share_count
number
Current share count
tracking_status
string
One of: auto_tracked, pending_review, included, excluded, direct_add
posted_at
ISO 8601 | null
When the video was originally posted on the platform