---
title: "Geizhals API: Price History | Perceptlayer"
description: "Price History from Geizhals as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/geizhals/price-history
---

[APIs](https://perceptlayer.com/apis) / [Geizhals](https://perceptlayer.com/apis/geizhals) / Price History

# Geizhals: Price History

Price History from Geizhals as JSON. 1 credit per successful call.

GET `/v1/geizhals/price-history`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `product_id` | integer | Required | Any |
| `days` | integer | Optional | Any |
| `loc` | string | Optional | de, at, eu, pl, uk |

## Example request

Geizhals

GET /v1/geizhals/price-history?product\_id=2194110&days=31&loc=de 

```
{
  "success": true,
  "product_id": 2194110,
  "loc": "de",
  "days": 31,
  "current_best": 49.9,
  "min": 31.43,
  "max": 129,
  "first_timestamp": 1575849600,
  "last_timestamp": 1794441599,
  "last_formatted": "11.11.2026",
  "history": [
    {
      "timestamp_ms": 1791676800000,
      "timestamp": 1791676800,
      "price": 49.9,
      "marker": 1
    },
    {
      "timestamp_ms": 1791763200000,
      "timestamp": 1791763200,
      "price": 49.9,
      "marker": 1
    },
    {
      "timestamp_ms": 1791849600000,
      "timestamp": 1791849600,
      "price": 49.9,
      "marker": 1
    }
  ],
  "meta": {
    "duration_ms": 1774,
    "history_count": 32,
    "attempts": 1
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/geizhals?try=price-history#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 10 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `product_id` | integer |
| `loc` | string |
| `days` | integer |
| `current_best` | number |
| `min` | number |
| `max` | integer |
| `first_timestamp` | integer |
| `last_timestamp` | integer |
| `last_formatted` | string |
| `history` | object\[\] |
