v1

OpenAPI 3.1.02026-08-0410576180.0 KB
InstaStatsVideos

Submit Video

Submit a new video upload.

Ingests the video from the provided URL and registers it for later use. Pass game_id to attach the upload to an existing scheduled game; omit it for a standalone video.

post/api/v1/instastats_videos

Headers

x-api-keystring nullable
Leaguestring nullable

Request body

video_urlstring required

Single video URL (.mp4 or downloadable HTTP(S) source)

game_idstring uuid nullable

Optional. The game_id of an existing scheduled game to attach this video to. When provided, the uploaded video is linked to that game so the resulting stats appear under the same game. Returns 409 if the game already has a video uploaded. Omit to upload a standalone video with no schedule linkage.

home_team_namestring

Home team name

away_team_namestring

Away team name

home_team_colorstring required

Home team jersey color (hex, e.g. '#FF0000')

away_team_colorstring required

Away team jersey color (hex, e.g. '#0000FF')

game_datestring date-time nullable

Game date (ISO 8601 timestamp). Defaults to current time if omitted.

video_mode'instant' | 'accuracy'

Processing mode for the uploaded video. Use 'instant' for faster turnaround, or 'accuracy' for higher-quality results. Defaults to 'instant' when omitted. Only applicable to organizations that have been enabled for mode selection; otherwise the value is ignored.

Response

Successful Response

job_idstring required
statusstring required