Skip to main content
GET
/
v1
/
products
/
{product_id}
/
snapshots
curl -X GET "https://api.rxradar.xyz/v1/products/29/snapshots?days=30" \
  -H "Authorization: Bearer rx_YOUR_API_KEY"
{
  "product_id": 29,
  "days": 30,
  "data": [
    {
      "id": 5638,
      "collected_at": "2026-04-29T17:34:54",
      "price": {
        "current": 12.95,
        "original": 14.50,
        "range": null,
        "currency": "USD"
      },
      "stock": {
        "available": true,
        "label": "In stock"
      },
      "rating": {
        "value": 4.6,
        "count": 28
      },
      "rank": {
        "position": 12,
        "page": 1,
        "page_size": 30
      },
      "promo": {
        "text": "-10%",
        "slug": "spring-promo",
        "type": "percentage",
        "badge": "Promotion",
        "loyalty": {
          "available": true,
          "slug": "loyalty-program"
        }
      }
    }
  ],
  "total": 4,
  "page": 1,
  "per_page": 50,
  "pages": 1
}
product_id
integer
required
Product ID
days
integer
default:"30"
Number of days of history (max: 90)
page
integer
default:"1"
Page number
per_page
integer
default:"50"
Results per page (max: 100)

Description

Returns the full snapshot history for a product. Each snapshot contains the structured data collected: price, stock, rating, ranking and promotions.
curl -X GET "https://api.rxradar.xyz/v1/products/29/snapshots?days=30" \
  -H "Authorization: Bearer rx_YOUR_API_KEY"
{
  "product_id": 29,
  "days": 30,
  "data": [
    {
      "id": 5638,
      "collected_at": "2026-04-29T17:34:54",
      "price": {
        "current": 12.95,
        "original": 14.50,
        "range": null,
        "currency": "USD"
      },
      "stock": {
        "available": true,
        "label": "In stock"
      },
      "rating": {
        "value": 4.6,
        "count": 28
      },
      "rank": {
        "position": 12,
        "page": 1,
        "page_size": 30
      },
      "promo": {
        "text": "-10%",
        "slug": "spring-promo",
        "type": "percentage",
        "badge": "Promotion",
        "loyalty": {
          "available": true,
          "slug": "loyalty-program"
        }
      }
    }
  ],
  "total": 4,
  "page": 1,
  "per_page": 50,
  "pages": 1
}

Object structure

price

FieldTypeDescription
currentfloatCurrent price
originalfloatStrikethrough price (before promo)
rangestringPrice range
currencystringCurrency (USD)

stock

FieldTypeDescription
availablebooleanIn stock
labelstringAvailability label

rating

FieldTypeDescription
valuefloatAverage rating
countintegerReview count

rank

FieldTypeDescription
positionintegerPosition within the category
pageintegerPage number
page_sizeintegerProducts per page

promo

FieldTypeDescription
textstringDiscount text (“-20%”, “-1.00”)
slugstringOffer identifier
typestringPromo type (“percentage”, “amount”)
badgestringDisplayed badge (“Promotion”, “Offer”)
loyaltyobjectLoyalty program info (if applicable)