Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limit on https://blockstream.info/api - 429 (Too Many Requests) #449

Open
augustoproiete opened this issue May 1, 2023 · 2 comments

Comments

@augustoproiete
Copy link

Hello,

We've been using the APIs available on https://blockstream.info/api for several months for monitoring balances on specific BTC addresses. We perform only a small number of requests per hour, but recently we've been getting 429 (Too Many Requests) errors consistently, even for a single request, thus I believe our IP might have been blocked.

Is there someone I can contact to get this sorted?

Moreover, what are the limits on requests per second/minute/hour, so that we can throttle our service accordingly, so this doesn't happen again?

Cheers

@landabaso
Copy link

I've found that leaving a gap of around 250ms between each API call seems to dodge the 429 error. Didn't test it super extensively, but it works for a couple of minutes of non-stop requests.

@chrisguida
Copy link

It seems the recommended reaction is to return a Retry-After header, but esplora doesn't currently implement this: bitcoindevkit/bdk#1120 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants