Open augustoproiete opened 1 year ago
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.
It seems the recommended reaction is to return a Retry-After
header, but esplora doesn't currently implement this: https://github.com/bitcoindevkit/bdk/issues/1120#issuecomment-1751993261
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