Skip to main content
GET
/
products
/
get-product-analytics
/
v1
Get product analytics
curl --request GET \
  --url https://api.collectpure.com/products/get-product-analytics/v1 \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "marketPrice": {
      "value": 123,
      "change": 123,
      "changePercent": 123,
      "dataPoints": [
        {
          "value": 123,
          "timestamp": "<string>"
        }
      ]
    },
    "premium": {
      "value": 123,
      "change": 123,
      "changePercent": 123,
      "dataPoints": [
        {
          "value": 123,
          "timestamp": "<string>"
        }
      ]
    },
    "depth": {
      "value": 123,
      "change": 123,
      "changePercent": 123,
      "dataPoints": [
        {
          "value": 123,
          "timestamp": "<string>"
        }
      ]
    }
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Query Parameters

productId
string
required

The ID of the product to get analytics for

variantId
string
required

The ID of the variant to get analytics for

range
string
required
Minimum string length: 1

Response

200 - application/json

Default Response

data
object
required