opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

every attempt to create an order returns Error: API Error 429: Message: {"detail":"Request was throttled."}

Open csidi90 opened this issue 5 years ago • 2 comments

Do I need to have an API key in order to create orders using the SDK / API ? Everytime I try to create an order for an asset or a bundled order I get this response:

Error: API Error 429: Message: {"detail":"Request was throttled."}

csidi90 avatar Nov 16 '21 20:11 csidi90

It means you're sending too many requests. This is how OS copes as it doesn't want bots flooding their api.

You should have set some time between each request and/or make your app sleep every few requests.

machieajones avatar Nov 18 '21 16:11 machieajones

@machieajones hit it on the nail! Although sometimes there might be some issues with the site. Follow this thread: https://github.com/ProjectOpenSea/opensea-js/issues/86

esteban-OpenSea avatar Apr 15 '22 17:04 esteban-OpenSea