> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collectpure.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get product analytics

> Retrieve all product analytics

**Rate limit:** 120 requests burst, 60 requests/minute sustained.



## OpenAPI

````yaml /api-reference/openapi.json get /products/get-product-analytics/v1
openapi: 3.1.0
info:
  title: Pure Public API
  description: >-
    Public API for accessing Pure marketplace data including products, spot
    prices, and more.
  version: 2.0.0
  license:
    name: Proprietary
servers:
  - url: https://api.collectpure.com/
    description: Production server
  - url: https://sandbox.api.collectpure.com/
    description: Sandbox server
security:
  - apiKey: []
tags:
  - name: Root
    description: API information and status
  - name: Products
    description: >-
      Enriched product endpoints — full product details, search, and catalog
      metadata
  - name: Listings
    description: Listing management — create, update, deactivate, list, and view statistics
  - name: Offers
    description: Offer management — create, update, deactivate, list, and view statistics
  - name: Orders
    description: Purchase and sale order management for authenticated organizations
  - name: Marketplace
    description: Spot prices, marketplace statistics, shipping dates, and sitemap data
  - name: Organization
    description: Organization details and settings management
  - name: Inventory
    description: >-
      Inventory management — view items and aggregate statistics for your
      organization
  - name: Vault
    description: >-
      Vault shipping — intake shipments, holdings, fulfillment, and outbound
      requests
  - name: Products (Legacy)
    description: Legacy product endpoints — use the enriched Products endpoints instead
  - name: Listings (Legacy)
    description: Legacy listing endpoints — use Orderbook endpoints instead
  - name: Offers (Legacy)
    description: Legacy offer endpoints — use Orderbook endpoints instead
  - name: Execution - Buy
    description: Buy execution — quotes, payment methods, and order placement
  - name: Execution - Sell
    description: Sell execution — quotes, payout methods, and order placement
  - name: Execution
    description: Execution meta — trading status and shared execution resources
  - name: Sandbox
    description: >-
      Sandbox-only endpoints for discovering test data — not available in
      production
paths:
  /products/get-product-analytics/v1:
    get:
      tags:
        - Products
      summary: Get product analytics
      description: |-
        Retrieve all product analytics

        **Rate limit:** 120 requests burst, 60 requests/minute sustained.
      parameters:
        - schema:
            type: string
          in: query
          name: productId
          required: true
          description: The ID of the product to get analytics for
        - schema:
            type: string
          in: query
          name: variantId
          required: true
          description: The ID of the variant to get analytics for
        - schema:
            type: string
            minLength: 1
          in: query
          name: range
          required: true
          description: The range of days to get analytics for
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      marketPrice:
                        type: object
                        properties:
                          value:
                            type: number
                          change:
                            type: number
                          changePercent:
                            type: number
                          dataPoints:
                            type: array
                            items:
                              type: object
                              properties:
                                value:
                                  type: number
                                timestamp:
                                  type: string
                              required:
                                - value
                                - timestamp
                              additionalProperties: false
                        required:
                          - value
                          - change
                          - changePercent
                          - dataPoints
                        additionalProperties: false
                      premium:
                        type: object
                        properties:
                          value:
                            type: number
                          change:
                            type: number
                          changePercent:
                            type: number
                          dataPoints:
                            type: array
                            items:
                              type: object
                              properties:
                                value:
                                  type: number
                                timestamp:
                                  type: string
                              required:
                                - value
                                - timestamp
                              additionalProperties: false
                        required:
                          - value
                          - change
                          - changePercent
                          - dataPoints
                        additionalProperties: false
                      depth:
                        type: object
                        properties:
                          value:
                            type: number
                          change:
                            type: number
                          changePercent:
                            type: number
                          dataPoints:
                            type: array
                            items:
                              type: object
                              properties:
                                value:
                                  type: number
                                timestamp:
                                  type: string
                              required:
                                - value
                                - timestamp
                              additionalProperties: false
                        required:
                          - value
                          - change
                          - changePercent
                          - dataPoints
                        additionalProperties: false
                    required:
                      - marketPrice
                      - premium
                      - depth
                    additionalProperties: false
                required:
                  - data
                additionalProperties: false
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header
      description: API key for authentication

````