---
title: "Get Video Sources"
method: GET
path: "/v1/accounts/{{account_id}}/videos/{{video_id}}/sources"
tags: ["Videos"]
---

# Get Video Sources

`GET /v1/accounts/{{account_id}}/videos/{{video_id}}/sources`

## Request

- Base URL: `https://cms.api.brightcove.com`
- URL: `https://cms.api.brightcove.com/v1/accounts/{{account_id}}/videos/{{video_id}}/sources`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://oauth.brightcove.com/v4/access_token` scopes: `video-cloud/video/read`

Gets an array of sources (renditions) for a video

## Path parameters

- `account_id` string, required
- `video_id` string, required

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Response `200`

200

- VideoSources
  - `app_name` string: address for RTMP stream
  - `asset_id` string: system id for the rendition
  - `codec` string: the video codec for the rendition
  - `container` string: the video container for the rendition
  - `duration` integer: duration in milliseconds
  - `encoding_rate` integer: encoding rate in bps
  - `height` integer: frame height in pixels
  - `remote` boolean: whether the source is a remote asset
  - `size` integer: file size in bytes
  - `src` string: URL for HTTP rendition
  - `stream_name` string: the stream name on the CDN
  - `type` string: the type for segmented streams
  - `uploaded_at` string: date/time when the video was uploaded
  - `width` integer: frame width in pixels

## Other responses

- `401`: UNAUTHORIZED: Authentication failed; check to make sure your client credentials were correct for the access token
- `404`: RESOURCE_NOT_FOUND: The api could not find the resource you requested
- `405`: METHOD_NOT_ALLOWED: The HTTP method specified is not allowed for this endpoint
- `429`: TOO_MANY_REQUESTS: You are submitting too many simultaneous requests or too many requests per second

## Changes

- **2023-04-29** `d5befff2511b`: 1 info
  - endpoint added
- **2023-04-28** `5285220c7df0`: 1 breaking
  - api path removed without deprecation
- **2023-03-26** `751db20334e4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/changes/v1/accounts/:{account_id}/videos/:{video_id}/sources/get.md)

---

[API](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference.md) - [All operations](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/revisions/1b6182a4560a?raw)
