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

# Get Video Clear Sources

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

## Request

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

Get only unencrypted clear sources for a video, without any additional metadata.
**Notes**
  - Once the unprotected URL is made available, Brightcove and the client have no control over who has access to the content or how it is used.
  - There will be egress bandwidth charges made to the customer when the sources are accessed.
  - This endpoint requires the special permission `video-cloud/video/clear-sources` which is not available in the Studio UI. To generate credentials to get clear sources, this permission must be enabled for the account, and you must use the [OAuth API](/oauth/getting-started/overview-oauth-api-v4.html)

## 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
- `403`: NOT_AVAILABLE: The resource you are requesting is temporarily unavailable
- `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
- `500`: UNKNOWN: Issue in Brightcove system; try again later. TIMEOUT: Server likely too busy; try again later.

## Changes

- **2023-04-29** `d5befff2511b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/changes/v1/accounts/:{account_id}/videos/:{video_id}/clear_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)
