Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/youtube:youtube-live-streams-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: YouTube Data API v3 Live Streams API
version: v3
description: Generated from Google's published Discovery document for YouTube Data API v3 (youtube v3, revision 20261111). 4 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://youtube.googleapis.com
tags:
- name: Live Streams
paths:
/youtube/v3/liveStreams:
delete:
operationId: youtube.liveStreams.delete
summary: Delete liveStreams
description: Deletes an existing stream for the authenticated user.
parameters:
- name: id
in: query
required: true
schema:
type: string
- name: onBehalfOfContentOwner
in: query
required: false
description: '*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request''s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.'
schema:
type: string
- name: onBehalfOfContentOwnerChannel
in: query
required: false
description: This parameter can only be used in a properly [authorized request](https://developers.google.com/youtube/data/guides/authentication). *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
schema:
type: string
responses:
'200':
description: Successful response
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/youtube
- https://www.googleapis.com/auth/youtube.force-ssl
- apiKey: []
tags:
- Live Streams
post:
operationId: youtube.liveStreams.insert
summary: Insert liveStreams
description: Inserts a new stream for the authenticated user.
parameters:
- name: onBehalfOfContentOwner
in: query
required: false
description: '*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request''s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.'
schema:
type: string
- name: onBehalfOfContentOwnerChannel
in: query
required: false
description: This parameter can only be used in a properly [authorized request](https://developers.google.com/youtube/data/guides/authentication). *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
schema:
type: string
- name: part
in: query
required: true
description: The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, content_details, and status.
schema:
type: array
items:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LiveStream'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/LiveStream'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/youtube
- https://www.googleapis.com/auth/youtube.force-ssl
- apiKey: []
tags:
- Live Streams
get:
operationId: youtube.liveStreams.list
summary: List liveStreams
description: Retrieve the list of streams associated with the given channel. --
parameters:
- name: id
in: query
required: false
description: Return LiveStreams with the given ids from Stubby or Apiary.
schema:
type: array
items:
type: string
- name: maxResults
in: query
required: false
description: The *maxResults* parameter specifies the maximum number of items that should be returned in the result set.
schema:
type: integer
maximum: 50
format: uint32
minimum: 0
default: '5'
- name: mine
in: query
required: false
schema:
type: boolean
- name: onBehalfOfContentOwner
in: query
required: false
description: '*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request''s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.'
schema:
type: string
- name: onBehalfOfContentOwnerChannel
in: query
required: false
description: This parameter can only be used in a properly [authorized request](https://developers.google.com/youtube/data/guides/authentication). *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
schema:
type: string
- name: pageToken
in: query
required: false
description: The *pageToken* parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.
schema:
type: string
- name: part
in: query
required: true
description: The *part* parameter specifies a comma-separated list of one or more liveStream resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, cdn, and status.
schema:
type: array
items:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/LiveStreamListResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/youtube
- https://www.googleapis.com/auth/youtube.force-ssl
- https://www.googleapis.com/auth/youtube.readonly
- apiKey: []
tags:
- Live Streams
put:
operationId: youtube.liveStreams.update
summary: Update liveStreams
description: Updates an existing stream for the authenticated user.
parameters:
- name: onBehalfOfContentOwner
in: query
required: false
description: '*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request''s authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.'
schema:
type: string
- name: onBehalfOfContentOwnerChannel
in: query
required: false
description: This parameter can only be used in a properly [authorized request](https://developers.google.com/youtube/data/guides/authentication). *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that is linked to the content owner that the onBehalfOfContentOwner parameter specifies. Finally, the channel that the onBehalfOfContentOwnerChannel parameter value specifies must be linked to the content owner that the onBehalfOfContentOwner parameter specifies. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and perform actions on behalf of the channel specified in the parameter value, without having to provide authentication credentials for each separate channel.
schema:
type: string
- name: part
in: query
required: true
description: The *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, and status. Note that this method will override the existing values for all of the mutable properties that are contained in any parts that the parameter value specifies. If the request body does not specify a value for a mutable property, the existing value for that property will be removed.
schema:
type: array
items:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LiveStream'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/LiveStream'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/youtube
- https://www.googleapis.com/auth/youtube.force-ssl
- apiKey: []
tags:
- Live Streams
components:
schemas:
LiveStreamStatus:
description: Brief description of the live stream status.
properties:
streamStatus:
type: string
enum:
- created
- ready
- active
- inactive
- error
healthStatus:
$ref: '#/components/schemas/LiveStreamHealthStatus'
description: The health status of the stream.
type: object
LiveStreamListResponse:
properties:
eventId:
type: string
description: Serialized EventId of the request which produced this response.
deprecated: true
tokenPagination:
$ref: '#/components/schemas/TokenPagination'
visitorId:
type: string
description: The visitorId identifies the visitor.
deprecated: true
nextPageToken:
type: string
description: The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
items:
items:
$ref: '#/components/schemas/LiveStream'
type: array
description: A list of live streams that match the request criteria.
kind:
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "youtube#liveStreamListResponse".'
default: youtube#liveStreamListResponse
prevPageToken:
description: The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
type: string
pageInfo:
$ref: '#/components/schemas/PageInfo'
etag:
type: string
description: Etag of this resource.
type: object
PageInfo:
description: Paging details for lists of resources, including total number of items available and number of resources returned in a single page.
properties:
resultsPerPage:
format: int32
description: The number of results included in the API response.
type: integer
totalResults:
description: The total number of results in the result set.
type: integer
format: int32
type: object
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
LiveStream:
properties:
cdn:
$ref: '#/components/schemas/CdnSettings'
description: The cdn object defines the live stream's content delivery network (CDN) settings. These settings provide details about the manner in which you stream your content to YouTube.
status:
$ref: '#/components/schemas/LiveStreamStatus'
description: The status object contains information about live stream's status.
contentDetails:
$ref: '#/components/schemas/LiveStreamContentDetails'
description: The content_details object contains information about the stream, including the closed captions ingestion URL.
id:
description: The ID that YouTube assigns to uniquely identify the stream.
type: string
kind:
default: youtube#liveStream
type: string
description: 'Identifies what kind of resource this is. Value: the fixed string "youtube#liveStream".'
etag:
description: Etag of this resource.
type: string
snippet:
$ref: '#/components/schemas/LiveStreamSnippet'
description: The snippet object contains basic details about the stream, including its channel, title, and description.
type: object
description: A live stream describes a live ingestion point.
LiveStreamHealthStatus:
type: object
properties:
status:
type: string
description: The status code of this stream
enum:
- good
- ok
- bad
- noData
- revoked
configurationIssues:
items:
$ref: '#/components/schemas/LiveStreamConfigurationIssue'
description: The configurations issues on this stream
type: array
lastUpdateTimeSeconds:
type: string
description: The last time this status was updated (in seconds)
format: uint64
LiveStreamSnippet:
type: object
properties:
title:
description: The stream's title. The value must be between 1 and 128 characters long.
type: string
channelId:
description: The ID that YouTube uses to uniquely identify the channel that is transmitting the stream.
type: string
isDefaultStream:
type: boolean
publishedAt:
type: string
format: date-time
description: The date and time that the stream was created.
description:
type: string
description: The stream's description. The value cannot be longer than 10000 characters.
CdnSettings:
properties:
ingestionInfo:
$ref: '#/components/schemas/IngestionInfo'
description: The ingestionInfo object contains information that YouTube provides that you need to transmit your RTMP or HTTP stream to YouTube.
format:
type: string
description: 'The format of the video stream that you are sending to Youtube. '
deprecated: true
ingestionType:
description: ' The method or protocol used to transmit the video stream.'
type: string
enum:
- rtmp
- dash
- webrtc
- hls
resolution:
enum:
- 240p
- 360p
- 480p
- 720p
- 1080p
- 1440p
- 2160p
- variable
description: The resolution of the inbound video data.
type: string
frameRate:
enum:
- 30fps
- 60fps
- variable
description: The frame rate of the inbound video data.
type: string
type: object
description: Brief description of the live stream cdn settings.
LiveStreamContentDetails:
properties:
closedCaptionsIngestionUrl:
description: The ingestion URL where the closed captions of this stream are sent.
type: string
isReusable:
description: 'Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same stream for many different broadcasts if those broadcasts occur at different times. If you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams differ from reusable streams in the following ways: * A non-reusable stream can only be bound to one broadcast. * A non-reusable stream might be deleted by an automated process after the broadcast ends. * The [`liveStreams.list`](https://developers.google.com/youtube/data/live/reference/rest/v3/liveStreams/list) method does not list non-reusable streams if you call the method and set the mine parameter to true. The only way to use that method to retrieve the resource for a non-reusable stream is to use the id parameter to identify the stream.'
type: boolean
description: Detailed settings of a stream.
type: object
LiveStreamConfigurationIssue:
properties:
description:
description: The long-form description of the issue and how to resolve it.
type: string
type:
enum:
- gopSizeOver
- gopSizeLong
- gopSizeShort
- openGop
- badContainer
- audioBitrateHigh
- audioBitrateLow
- audioSampleRate
- bitrateHigh
- bitrateLow
- audioCodec
- videoCodec
- noAudioStream
- noVideoStream
- multipleVideoStreams
- multipleAudioStreams
- audioTooManyChannels
- interlacedVideo
- frameRateHigh
- resolutionMismatch
- videoCodecMismatch
- videoInterlaceMismatch
- videoProfileMismatch
- videoBitrateMismatch
- framerateMismatch
- gopMismatch
- audioSampleRateMismatch
- audioStereoMismatch
- audioCodecMismatch
- audioBitrateMismatch
- videoResolutionSuboptimal
- videoResolutionUnsupported
- videoIngestionStarved
- videoIngestionFasterThanRealtime
description: The kind of error happening.
type: string
severity:
type: string
description: How severe this issue is to the stream.
enum:
- info
- warning
- error
reason:
description: The short-form reason for this issue.
type: string
type: object
TokenPagination:
properties: {}
description: Stub token pagination template to suppress results.
type: object
IngestionInfo:
type: object
properties:
backupIngestionAddress:
description: The backup ingestion URL that you should use to stream video to YouTube. You have the option of simultaneously streaming the content that you are sending to the ingestionAddress to this URL.
type: string
rtmpsBackupIngestionAddress:
type: string
description: This ingestion url may be used instead of backupIngestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams.
rtmpsIngestionAddress:
type: string
description: This ingestion url may be used instead of ingestionAddress in order to stream via RTMPS. Not applicable to non-RTMP streams.
streamName:
description: The stream name that YouTube assigns to the video stream.
type: string
ingestionAddress:
description: 'The primary ingestion URL that you should use to stream video to YouTube. You must stream video to this URL. Depending on which application or tool you use to encode your video stream, you may need to enter the stream URL and stream name separately or you may need to concatenate them in the following format: *STREAM_URL/STREAM_NAME* '
type: string
description: Describes information necessary for ingesting an RTMP, HTTP, or SRT stream.
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/youtube: Manage your YouTube account
https://www.googleapis.com/auth/youtubepartner: View and manage your assets and associated content on YouTube
https://www.googleapis.com/auth/youtube.channel-memberships.creator: See a list of your current active channel members, their current level, and when they became a member
https://www.googleapis.com/auth/youtubepartner-channel-audit: View private information of your YouTube channel relevant during the audit process with a YouTube partner
https://www.googleapis.com/auth/youtube.force-ssl: See, edit, and permanently delete your YouTube videos, ratings, comments and captions
https://www.googleapis.com/auth/youtube.readonly: View your YouTube account
https://www.googleapis.com/auth/youtube.upload: Manage your YouTube videos
externalDocs:
url: https://developers.google.com/youtube/
x-provenance:
method: harvested
publisher: Google
source: https://youtube.googleapis.com/$discovery/rest?version=v3
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)