mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 07:16:00 +03:00
[GH-ISSUE #328] API quota values #255
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sigma67 on GitHub (Dec 12, 2022).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/328
Originally assigned to: @jahenner on GitHub.
Recently I've started running into a new error "quota exceeded" when running the tests. The quota limits seem to be hourly as they reset at the full hour.
I think it might be helpful to document the quota unit and limit values, if somebody can find documentation on it or wants to reverse-engineer the values.
@sigma67 commented on GitHub (Apr 13, 2023):
To reverse engineer, I would recommend the following procedure:
Repeat the procedure with all available endpoints. We're mostly interested in manipulation (creation, edit, delete operations), as read operations aren't usually expensive on the server. Although it could still be interesting to determine if there is a quota for
search, for example. In my personal experience the quota forsearchis probably quite high, as you can do at least several hundreds of searches without issue.@jahenner commented on GitHub (Apr 17, 2023):
I am choosing this project for the open source course I'm taking for school. I'd love to help with this issue.
@sigma67 commented on GitHub (Apr 18, 2023):
Sure, I think this is quite a good issue for new contributors. You can get started by writing a small script and testing some playlist manipulation functions with your account to see if you run into any limits.
@ranile commented on GitHub (Mar 2, 2024):
@jahenner did you find anything?
I'm intending to use this project to make 2700 requests (search and then rate song for 1340 songs to transfer my spotify library). I'm not sure how well that will play with the ratelimits to I want to confirm it before trying
@sigma67 commented on GitHub (Mar 2, 2024):
@hamza1311 see linked PR
@sigma67 commented on GitHub (Jan 19, 2025):
@chavinlo are we talking any GCP hosted server? Which type of authentication did you use?
@Shabinder commented on GitHub (Jan 31, 2025):
@chavinlo can you elaborate, was mentioned videoId causing some issue or something ?
@sigma67 commented on GitHub (Feb 9, 2025):
I do want to note here that this library is built on the principle of responsible use. Excessive use will likely lead to YT shutting things down, hence less good for all.
@motz0815 commented on GitHub (Sep 2, 2025):
Would it be possible for ytmusicapi to accept normal YouTube Data API Keys? (Without OAuth or Browser auth)
Just for public endpoints, but in order to not get bot-blocked when hosting on shared infrastructure.
For example, I'm running Flask on Vercel, and requests to the YTmusic API get blocked because they "can't verify I'm not a bot" so I need to authenticate myself in some way.