---
title: "Price history"
method: GET
path: "/v1/products/{slug}/history"
tags: ["Products"]
---

# Price history

`GET /v1/products/{slug}/history`

## Request

- Base URL: `https://api.pricetrack.dev`
- URL: `https://api.pricetrack.dev/v1/products/{slug}/history`
- Auth: HTTP bearer

Complete price-change log for a product, newest first. On Free tier history is limited to the last 6 months.

## Path parameters

- `slug` string, required

## Query parameters

- `from` string, date
- `to` string, date
- `limit` integer

## Response `200`

Price history entries

- object
  - `data` PriceChange[]
    - `plan` object
      - `name` string
      - `billingPeriod` string
    - `oldPrice` object
      - `amount` number, nullable
      - `currency` string
    - `newPrice` object
      - `amount` number, nullable
      - `currency` string
    - `changeType` 'increase' | 'decrease' | 'new_plan' | 'removed_plan' | 'restructure'
    - `changePercentage` number, nullable
    - `detectedAt` string, date-time
    - `source` 'scrape' | 'manual' | 'api'

---

[API](https://skmtc.dev/pricetrack/apis/pricetrack-api.md) · [All operations](https://skmtc.dev/pricetrack/apis/pricetrack-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pricetrack/apis/pricetrack-api/revisions/589cd6882212?raw)
