YouTube API returns max 50 per page; you must paginate (shown in Python example). Tools like youtube-dl (now yt-dlp ) can list all videos without downloading:
"The API script returned an error: 'Quota exceeded'." Solution: The YouTube API has a daily quota (10,000 units per day). Listing videos costs ~1 unit per 50 videos. If a channel has 100,000 videos, you will exceed the quota. Run the script over multiple days or pay for Google Cloud credits to increase your quota.
For users who need to list videos from any channel (not just their own), command-line or open-source tools are the most powerful.
Note: This does not work for someone else's channel.