Questions tagged [youtube-data-api]

YouTube Data API used for getting details of YouTube contents like Playlist, Playlistitems and video's details! You need to generate a YouTube Data API Developer Key to access the content available on YouTube Data API.

YouTube Data API

The tag is generalized version of tag.

References

4420 questions
15
votes
7 answers

Youtube API v3 shows "Access Not Configured"

I created a Google application in the developers console, turned on "YouTube Data API v3", generated the server API key, and authorized my home and work IPs. My website lists all videos from a Youtube channel, using the V3 API. It uses the official…
Ninj
  • 1,492
  • 1
  • 15
  • 27
14
votes
7 answers

how do I get youtube shorts from youtube api data v3

I want a way to get YouTube shorts for a specific channel from YouTube API. I looked every where and I couldn't find anything. Currently I can get a playlist ID for all channel videos with this endpoint: request = youtube.channels().list( …
Computer Mind
  • 411
  • 2
  • 5
  • 12
14
votes
5 answers

Google Video no longer able to retrieve captions?

As of 4 days ago, you were able to send a GET request to or visit https://video.google.com/timedtext?lang=en&v={youtubeVideoId} and receive an xml response containing the caption track of a given youtube video. Does anyone know if this support has…
14
votes
0 answers

How To Get CORS Response Headers On Thumbnail Image Request To YouTube Image URL

I am trying to access images returned from the thumbnail api via javascript in Chrome so that they can be painted on a Canvas. However, I am running into a CORS block due to the fact that the the ytimg server does not provide any CORS response…
14
votes
4 answers

Youtube Data API v3: Sort by date not working

The sorting is not working as expected since a few hours. https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=YOUR_API_KEY Can be tried in the API explorer (Execute without OAuth) as…
zkcudpgs
  • 151
  • 1
  • 1
  • 8
14
votes
2 answers

How to get Youtube Live Stream by Channel Id in Youtube API V3 in android?

I am able to get the list of live stream: https://developers.google.com/youtube/v3/live/docs/liveStreams/list#examples But how to get the live stream status and live stream link or id for particular channel using youtube v3 api in android?
YLS
  • 1,475
  • 2
  • 15
  • 35
14
votes
4 answers

Downloading captions always returns a 403

When I call the captions.download endpoint with an ID that we retrieve from the captions.list endpoint, it always returns a 403. For example: https://www.youtube.com/watch?v=1HRwpwOj4aA I call captions.list with: GET…
Lars
  • 141
  • 1
  • 3
13
votes
1 answer

"Most Replayed" Data of YouTube Video via API

Is there any way to extract the "Most Replayed" (aka Video Activity Graph) Data from a YouTube video via API? What I'm referring to:
prodohsamuel
  • 217
  • 3
  • 10
13
votes
1 answer

Youtube API request credentials

I created an python application that is using the Youtube api (so examples are in python, but doesn't really matter, the concepts should be the same). I managed to get it working where I can connect and make api calls. However, when I connect to the…
AJ_
  • 3,787
  • 10
  • 47
  • 82
13
votes
1 answer

Error when creating too many playlists?

I used the YouTube API but a new error appears recently when creating playlist: { "error": { "errors": [ { "domain": "youtube.playlist", "reason": "exceededRateLimit", "message": "The user has created too many playlists recently.…
13
votes
4 answers

YouTube API V3 - Get recommended video for new feed

As YouTube official documentation about implement and immigrate to API V3, they said: YouTube Data API (v2) functionality: Retrieve video recommendations The v3 API does not retrieve a list that only contains videos recommended for the current…
Khang .NT
  • 1,504
  • 6
  • 24
  • 46
13
votes
3 answers

Where do I find my youtube v3 data API quota limit?

on this page (https://developers.google.com/youtube/v3/getting-started) google says: You can find the quota available to your application in the Developers Console. I went to my Developer Console, and it shows me how many requests I made, but it…
Zhinkk
  • 347
  • 1
  • 3
  • 11
12
votes
4 answers

Get ChannelID from Youtube Custom URL

Is there any way that I can get the channel ID of a Youtube Channel by having its custom url (using the Youtube API) ? Example: A custom url is like: https://www.youtube.com/onepiece I want to get its channelID, so that I have the link like:…
Nuno Pereira
  • 121
  • 1
  • 4
12
votes
2 answers

How can I set videos to "private yet shared" using the v3 YouTube API?

I work for a school that has an institutional YouTube account (Google Apps for Education). The video privacy options are Public, Unlisted, and Private. The important bit: Private videos can be shared with either: - the institution (i.e., all…
12
votes
1 answer

Youtube Data API v3 PlaylistItems update not working for Watch Later playlists

Recently, the youtube.playlistItems.list doesn't fetch a playlist item that is suitable for the youtube.playlistItems.update when listing the watchLater playlist. Its works perfectly for playlist that aren't under the relatedPlaylists category of a…
Ryan
  • 317
  • 3
  • 12