Skip to content

Navigation Menu

Sign in
Sign up

Rate limited when using continuationToken #39

Unanswered
joshr4 asked this question in Q&A
Discussion options

I have a script to fetch the last 30 day's worth of data for a show, and i have the limit set to limit=1000, and am getting back results but wind up getting a 429 response code back from the op3 api.

Do I need to lower my limit to reduce the number of requests or try and space out the requests myself in order to fall within the rate limits? Are op3 API rate limits defined anywhere?

here is the url I'm using:

https://op3.dev/api/1/downloads/show/8f110b538260417fa806835df8e0fddb?start=2024年11月20日&end=2024年12月20日T00:00:00.000Z&format=json&limit=1000

You must be logged in to vote

Replies: 1 comment

Comment options

Hi there, yes the OP3 api is currently rate-limited after being swamped with requests a few months ago. Since OP3 is open source, you can find the spot in the code where it's done!

It is call based, not parameter based, so feel free to use any limit param, but keep your calls to average about one a second if you are getting those 429 slow down responses

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /