VynnAI

Canadian grocery price history

See how one product's price changed at a chain, day by day. Keep the chain, province, and dates with each price.

Start with the question

For one product, use the chain's own product code and a province. For a broad measure of price movement, use the weekly Canadian Grocery Price Index and read how we calculate it. One product's price is not a national average.

Vynn collects prices on a schedule. There may be gaps in a product's history.

Request a product's history

Use the chain's product code from a product search result. Replace RETAILER_SKU below and keep VYNN_API_KEY private on your server. Never put keys in browser code, URLs, or shared files.

curl --get 'https://vynn.ai/v1/prices/history' \
  --data-urlencode 'product_id=RETAILER_SKU' \
  --data-urlencode 'province=ON' \
  --data-urlencode 'period=30d' \
  --header "Authorization: Bearer $VYNN_API_KEY"

You can't filter by chain yet; check each price's chain before charting. The API reference explains the request fields.

Read the response without filling the gaps

Illustrative response using the API's field names. These sample values are not collected product data.

{
  "sku": "SAMPLE_SKU",
  "product_name": "Sample product",
  "province": "ON",
  "period_days": 30,
  "observations": [
    {
      "date": "2026-08-31",
      "price": 4.49,
      "banner": "Sample retailer — Ontario"
    },
    {
      "date": "2026-09-02",
      "price": 4.79,
      "banner": "Sample retailer — Ontario"
    }
  ]
}

In this example, the price is $4.49 on August 31 and $4.79 on September 2. There is no price for September 1. These records do not tell you that day's price or when the change occurred.

What each field tells you
FieldHow to use it
skuThe chain's product code. The same code at another chain may refer to a different product.
provinceThe province requested. Prices may differ at other stores in that province.
period_daysHow far back you asked to look, rather than the number of days with prices.
observationsDated prices with a chain where available. An empty list means no prices were returned; it does not tell you whether the product was in stock.

Before charting or comparing

  • Keep each chain's prices in a separate chart line.
  • If the chain is missing, leave it unknown.
  • Keep missing dates empty. A price you estimate is your analysis.
  • Check the product and package size before comparing prices. Similar names can describe different products.

These results include dates, prices, and chains where known. They do not identify the store behind each price or include sales volumes. If you need prices from particular stores, ask about a paid dataset.