Skip to main content

Keepa (prix Amazon) smart home integration, free and open source

Keepa (prix Amazon) integration for Gladys Assistant

Amazon price tracking with Keepa: price drop, target price and all-time low alerts.

Track Amazon prices in Gladys with Keepa: every product you follow becomes a Gladys device with its current price, its lowest price ever and its 90-day average, and your scenes are told when a price drops, reaches your target, hits an all-time low or comes back in stock.

What you need​

  • A Keepa API subscription (paid): subscribe on the Keepa API page and copy your private API key. Keepa is a cloud service: Gladys needs internet access.
  • The ASIN of each product to follow: the 10-character code in the Amazon address (…/dp/B08N5WRWNW). You can also paste the whole product link.

Every product read costs one Keepa token. Your plan refills a number of tokens per minute: with 10 products read every hour, the integration uses 240 tokens a day.

Installation​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Keepa (prix Amazon) and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

Open the Configuration tab of the integration:

FieldWhat to enter
Keepa API keyYour private key, from keepa.com.
Amazon marketplaceThe store whose prices you follow (amazon.fr, amazon.de, amazon.com…). Prices are in its currency.
Products to trackASINs or product links, separated by commas. Add an optional target price after a colon, with a dot as decimal separator: B08N5WRWNW:199.99, B07XJ8C8F5. 100 products max.
Price to trackLowest new offer (Amazon or marketplace, default), sold by Amazon, buy box (shipping included) or lowest used offer.
Price drop alert thresholdMinimum fall, in percent of the previous read, that fires the Price drop trigger (5 % by default, 0 for every fall).
Refresh interval (minutes)How often the prices are read, from 15 minutes to one day (60 by default).

Save, then click Test the Keepa connection: the message shows your token balance and the entries that are not a valid product. The connection status of the integration turns red when Keepa refuses the key, when the subscription is not active or when the tokens run out.

Devices​

Open the Discovery tab: each product shows up under its Amazon name. Add the ones you want. Each device has three read-only features, kept in history for the charts:

  • Price: the current price of the chosen type (nothing new is published while the product has no offer);
  • Lowest price ever: the lowest price Keepa recorded for it;
  • Average price (90 days).

The prices survive a restart (they are saved in the integration's /data volume), so an alert is never sent twice and a restart costs no token.

Scenes and dashboards​

Scene triggers​

Each trigger can be limited to one product; the scene receives the product name, ASIN, price, currency, the Amazon link and the Keepa price history link.

  • Price drop: the price fell by at least the configured threshold since the previous read (also gives the previous price and the drop in percent).
  • Target price reached: the price reached or went under the target price set in the product list (also on the first read of a product already under its target).
  • All-time low price: the price fell to the lowest price Keepa ever recorded for the product.
  • Back in stock: a product that had no offer is available again.

Each change fires once: a price that stays low does not repeat the alert.

Scene actions​

  • Refresh Amazon prices: reads the prices now, for one product or all of them. Outputs: the number of products read and the Keepa tokens left.
  • Get an Amazon price: gives the last known prices of a product (name, availability, price, lowest price, 90-day average, target price, link) to the next actions — for example to send them in a message.

Dashboard widget​

The Amazon prices widget lists the tracked products, the best news first, with a badge: target reached, all-time low, discount on the 90-day average or unavailable. Tap a product for its details and its Amazon and Keepa links. It also shows the Keepa token balance, the time of the last refresh and a Refresh prices button.

Help​

A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.

Configuration settings​

These are the settings Keepa (prix Amazon) asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
Getting startedsectionNoKeepa records the price history of Amazon products. Its API needs a paid plan: subscribe on keepa.com, then copy your private API key below. Each product read costs one token of your plan.
Keepa API keysecretYesPrivate key shown on keepa.com, API page.
Amazon marketplaceselectYes
Products to trackstringNoASINs or Amazon product links, separated by commas. Add a target price after a colon, with a dot: B08N5WRWNW:199.99
Price to trackselectNo
Price drop alert threshold (%)numberNoMinimum fall, compared with the previous read, that fires the "Price drop" scene trigger. 0: every fall.
Refresh interval (minutes)numberNoHow often the prices are read. Each read costs one Keepa token per product.

How to install Keepa (prix Amazon) in Gladys​

  1. In Gladys, open Integrations: Keepa (prix Amazon) appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/prohand/gladys-keepa-prix-amazon:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/prohand/gladys-keepa-prix-amazon.

Keepa (prix Amazon) requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Keepa (prix Amazon) is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by prohand, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂