REST API Limits

Hello,

I’m using https://api.exchange.coinbase.com/products/ API to get products informations.
I’m limiting the endpoint calls to 8 requests per second.

On one machine (AWS) I’m facing the ERROR 429: {“message”:“Public rate limit exceeded”} but
on local machine I don’t receive such errors.

When I reduce the requests rate to 3 per second the problem disappears on the AWS machine too.

Are there additional limits for https://api.exchange.coinbase.com/products/ API ? For example per hour or a day?
Can my AWS machine’s IP specifically rate limited or black listed?

Best Regards.
PM

Hello @premedian! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your concern, we will check on this for you with our team. We will get back to you once we have more information. Keep in touch!

2 Likes

Hi @premedian ! Apologies for the delayed response.
As far as we’re aware of, there are no additional hourly or daily limits for the /products endpoint. You mentioned that the issue is only reproducible on your AWS machine, may we ask if you’re also using the AWS machine to make other calls to Exchange endpoints?

3 Likes

Thank you for your answer.
We are calling in that same time and from that same IP the private endpoint: https://api.pro.coinbase.com/accounts
Frequency is about 3 requests /second.

Is it possible that calling private endpoint interfere with the public endpoints limits?

Best Regards

Hi @premedian! Calling private endpoints should not interfere with the public endpoints limits. Requests sent to Public API Endpoints are rate limited by IP Address and requests sent to Private Endpoints are rate limited by Profile_ID. You may refer to this documentation about Rate Limits.
We would also recommend checking Websockets and the Websocket channels, in case this could be helpful for your use case and to avoid hitting the rate limit. Thank you!

2 Likes