# Check product price history — Keepa Botize method — `keepa.get_product_stats` (action). Given the ASIN or URL of an Amazon product, checks in Keepa whether its current price is really a deal: 90-day average, discount over that average, lowest price ever and whether today's price is the lowest ever or the lowest in 90 days. Place it before publishing a deal and add a rule in the next step (for example «Lowest in 90 days now = yes» or «Discount vs 90-day average ≥ 20») to publish only real deals. Each check uses 1 token of your Keepa plan. If you run out of tokens the step is retried automatically a few minutes later. If Keepa has no data for the product, prices come as 0 and the yes/no fields as no. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `product_id` *(string)* — Amazon product ASIN or URL - `domain` *(string, one of: "9" = Amazon.es; "8" = Amazon.it; "3" = Amazon.de; "4" = Amazon.fr; "2" = Amazon.co.uk; "1" = Amazon.com; "6" = Amazon.ca; "11" = Amazon.com.mx; "12" = Amazon.com.br; "10" = Amazon.in; "5" = Amazon.co.jp)* — Amazon store - `price_type` *(string, one of: "new" = Lowest new price (Amazon or third-party sellers); "amazon" = Price sold by Amazon only)* — Price to check ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{current_price}}` *(decimal)* — Current price. Current price of the chosen type. 0 when there is none (out of stock, or not sold by Amazon with «Price sold by Amazon only»). For example: 24.99 - `{{avg_price_90}}` *(decimal)* — 90-day average price. Average price of the last 90 days. 0 when there is no data. For example: 32.66 - `{{discount_vs_avg_90}}` *(decimal)* — Discount vs 90-day average (%). How much cheaper the current price is than the 90-day average, in percent. Negative when it is more expensive. 0 when there is no data. For example: 23.5 - `{{lowest_price}}` *(decimal)* — Lowest price ever. Lowest price Keepa has ever recorded for this product. 0 when there is no data. For example: 22.99 - `{{is_lowest}}` *(boolean)* — Lowest price ever now. Yes when the current price is the lowest Keepa has ever recorded for this product. - `{{is_lowest_90}}` *(boolean)* — Lowest in 90 days now. Yes when the current price is the lowest of the last 90 days. ## Account Needs a connected Keepa account in Botize: https://botize.com/en/app/keepa/authenticate ## This app Every trigger and action for Keepa: https://botize.com/en/app/keepa.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/keepa/get_product_stats