---
title: "Daily lowest-price history for a product"
method: GET
path: "/api/products/{slug}/price-history"
---

# Daily lowest-price history for a product

`GET /api/products/{slug}/price-history`

## Request

- Base URL: `https://api.glowjakt.se`
- URL: `https://api.glowjakt.se/api/products/{slug}/price-history`
- Auth: none required

Default: daily lowest price across the product's store offers for the last 30 days (daily values follow the same scope rule as /offers). Pass `days` (7-90) for a different daily window, or `range` for long-horizon weekly resolution (weekly lowest price per week; the response then includes `resolution: "weekly"`). The final data point is the product's current price: the lowest in-stock offer when one exists.

## Path parameters

- `slug` string, required

## Query parameters

- `days` integer
- `range` '6m' | '1y' | 'max'

## Response `200`

Price history

- PriceHistory
  - `current_price` number
  - `lowest_price` number
  - `highest_price` number
  - `resolution` 'weekly': Present only when `range` was used: each history point is the lowest price of that ISO week (dated by its Monday).
  - `history` object[]
    - `date` string, date
    - `price` number

## Other responses

- `404`: Unknown product slug

---

[API](https://skmtc.dev/glowjakt/apis/glowjakt-public-api.md) · [All operations](https://skmtc.dev/glowjakt/apis/glowjakt-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/glowjakt/apis/glowjakt-public-api/revisions/6f4e2dee0479?raw)
