Skip to main content
POST
Track a video

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string | null

Optional client-supplied unique key for retry-safe POSTs. Best-effort in-process dedup over a 10-minute window. Multi-replica deployments will need a shared store before this is load-bearing across all writes.

Body

application/json
platform
enum<string>
required

Platform to track: instagram or tiktok.

Available options:
instagram,
tiktok
identifier
string
required

The post/video to track. Accepts a full URL (instagram.com/p/{shortcode}, tiktok.com/@user/video/{id}), a numeric id, or — for Instagram only — a bare shortcode. The server resolves and normalizes it.

Required string length: 1 - 512
metadata
Metadata · object | null

Optional key/value tags (≤20 keys, ≤255 chars each).

is_active
boolean
default:true

Track as active (default true).

scrape_interval_hours
integer
default:24

Refresh cadence in hours (6–720). Defaults to 24.

Required range: 6 <= x <= 720

Response

Successful Response

data
VideoResponse · object
required

A tracked post/video with its content fields and latest metrics.