Are market stats available through API?

Im trying to gather the data from the price/COIN url. Just wondering if its available through the API
example


thanks so much

Hello @knothere. Welcome to the forum! You may utilize the Get product Stats endpoint which gets the 30-day and 24-hour stats for a product. The said API endpoint returns the following (please see the attached screenshot). Please take note that volume is in base currency units while open, high, low are in quote currency units. Hope this helps! Thank you.

I was particularly after the typical hold time, trading activity stats, im not too sure if they are present with that GET call. I appreciate the help regardless

Hello @knothere ! 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 @knothere! Unfortunately, a parameter for a typical hold time is currently not available via any of our APIs.

We appreciate it if you can share this in the Feedback Section of the Forum as most new features and improvements to Coinbase come directly from feedback like yours, so it’s very valuable to us. Thank you and welcome to the community!

2 Likes