We’re looking into this and will get back to you soon! I’ve reached out for clarity on documentation and the actual max for limit, before, and after parameters.
@nottakumasato - Thank you for reaching out here and for bringing these questions to our attention. We definitely appreciate the feedback and are working to clean up these documents for more clarity. Additionally, I can confirm that yes, the max limit is indeed 1000. Should more information arise, I will be sure to follow up here. Thanks again!
Hi, hoping you might be able to help me out. I have been trying to get product trades but the params “after” and “before” are not working as they should, instead only returning an empty list.
In python this works to pull the latest data:
res = requests.get('https://api.pro.coinbase.com/products/BTC-USD/trades')
@arood Thanks for your help. I see, I did not realise this - quite unintuitive. If I want to pull data between specific timestamps do you know how I can convert this to a pagination ID?
Was just searching for the same, this new documentation does not tell you what the maximum limit for all these API calls is, while the old one few years ago said it would be 100. So at least you raised the max limit to 1000 now, which is good.
Hi @Serpens66, we’re so sorry for any inconvenience this has caused you. We are still in the process of improving and updating our documentations. We thank you for your patience and understanding.