n8n Price Tracker: Competitor Price Monitoring by EAN

Build a price tracker in n8n with the verified PricePirate node: competitor price monitoring by EAN on Amazon, Idealo and Google Shopping, no web scraping.

n8n and PricePirate logos above a workflow: Google Sheets, PricePirate Get offers by EAN, Google Sheets and Slack

Published on by Sergei Gaponik in API

Share this article:

On this page

Competitor price monitoring usually starts the same way: a spreadsheet of products, and someone checking Idealo or Amazon by hand. n8n is a good tool for automating the spreadsheet half. The missing half has been the prices themselves, because marketplaces don’t hand out competitor offers through a public API.

The PricePirate node for n8n closes that gap. It is a verified community node that looks up EANs through the PricePirate Price API and returns live shop offers from Idealo, Amazon, Google Shopping, bol, Klarna and PriceRunner as ordinary n8n items. The result is a price tracker that runs inside your own workflows, with no web scraping to maintain. This guide covers the setup, every operation and parameter, three workflows you can rebuild in a few minutes, and how credits are counted.

What do you need?

  • n8n, either n8n Cloud or a self-hosted instance. The node has no external dependencies and works on both.
  • A PricePirate API key from the PricePirate dashboard. New accounts can claim 100 free credits once, without payment details. That is enough for 100 EAN lookups.

You don’t need an account with any of the marketplaces you query.

How do you install the PricePirate node?

  1. In n8n, open Settings → Community Nodes and select Install.
  2. Enter the package name n8n-nodes-pricepirate and confirm.
  3. Add a node to a workflow and search for PricePirate.

Because the node is verified by n8n, you can also find it directly in the nodes panel and install it from there. The source is public on GitHub under the MIT license.

Then connect your account:

  1. In the dashboard, create an API key and copy it. It is shown only once.
  2. In n8n, create a credential of the type PricePirate API and paste the key into the API Key field.
  3. Save. n8n checks the key against your account right away.

The credential has only this one field. More background is in the authentication docs.

What can the node do?

The node has four resources with five operations:

ResourceOperationWhat you get
OfferGet offers by EANOne item per shop offer: shop, price, shipping, total, availability
ProductGet product details by EANOne item per EAN: name, brand, images, ratings, price_min, price_avg, price_max, offers_count
JobStart price jobA job_id straight away, without waiting
JobGet job resultsThe results of an earlier job
AccountGet accountYour credit balance and limits

The two “Get … by EAN” operations do the whole round trip for you: they start a job, wait until it is done, and return the results. Use Offer when you want to see every merchant, and Product when one line per product with the price range is enough.

Parameters

ParameterWhat it does
MarketplaceAmazon, Bol, Google Shopping, Idealo, Klarna or PriceRunner
CountryThe countries the selected marketplace supports
Search ByEAN, or the marketplace’s own Product ID, such as an ASIN on Amazon. Klarna and PriceRunner support EANs only.
EANsOne value, several separated by commas or new lines, or mapped from an earlier node
Include Detail, ZIP CodeAmazon only. The ZIP code makes prices and availability match a delivery location.
SimplifyOn by default. Returns the 10 most useful fields; turn it off for every field.
Max Wait (option)How long the node waits for a job. Default: 15 minutes.
Skip Queries Without Offers (option)Leaves out EANs that returned no offers. Off by default.

With Simplify on, one offer looks like this (values are illustrative):

{
  "query": "4013474101469",
  "status": "found",
  "product_name": "Example product 500 ml",
  "shop_name": "exampleshop.de",
  "price": 21.99,
  "shipping": 3.95,
  "total": 25.94,
  "currency": "EUR",
  "availability_code": "in_stock",
  "shop_url": "https://www.exampleshop.de/"
}

Field names match the API documentation one-to-one, so anything you read there applies to the node output as well.

Workflow 1: Compare prices for a product list

The simplest useful workflow reads EANs from a sheet and writes every offer back to another sheet.

n8n workflow: Google Sheets, then PricePirate Get offers by EAN, then Google Sheets append rows

The workflow starts with a manual trigger. Swap it for a Schedule Trigger to run it regularly. Then:

  1. Google Sheets (Get rows): a sheet with an ean column, one product per row.
  2. PricePirate (Offer → Get offers by EAN): pick the marketplace and country, for example Idealo and Germany, and set EANs to the expression {{ $json.ean }}.
  3. Google Sheets (Append rows): map query, shop_name, price, shipping and total to columns.

The result is one sheet row per shop offer. To try it with a single product first, type the EAN 4013474101469 into the EANs field instead of using the expression.

Workflow 2: Daily price alert when a competitor undercuts you

This workflow checks once a day whether the lowest market price has dropped below your own.

n8n workflow: Schedule Trigger, Google Sheets, PricePirate Get product details by EAN, IF, Slack

  1. Schedule Trigger: once a day, for example at 07:00.
  2. Google Sheets (Get rows): a sheet with the columns ean and my_price.
  3. PricePirate (Product → Get product details by EAN): returns one item per EAN with price_min.
  4. IF: price_min is smaller than your price. Each output item stays linked to the sheet row it came from, so you can compare against my_price from the Sheets node.
  5. Slack or Send Email: a message with the product name, your price and the lowest price.

On Idealo in particular, this is the number that matters, because the offer list is sorted by price. Why that position is worth so much is covered in our Idealo repricing guide.

Workflow 3: Large batches without waiting

For very large lists, or when you don’t want an execution to sit and wait, split starting and fetching into two steps.

n8n workflow: PricePirate Start price job, Wait, PricePirate Get job results

After the trigger:

  1. PricePirate (Job → Start price job): returns a job_id immediately.
  2. Wait: 5 minutes.
  3. PricePirate (Job → Get job results): set Job ID to {{ $json.job_id }}.

Results are kept for about an hour after a job finishes, so fetch them in the same workflow run rather than the next day.

Amazon price tracker in n8n: by EAN or ASIN

All three workflows work for Amazon as well. Set Marketplace to Amazon and pick one of the 23 supported countries, including Germany, the UK and the US. Three settings are specific to Amazon:

  • Search By: an EAN works for most branded products; the lookup then uses the first organic Amazon result for that EAN. For bundles or variants, set Search By to Product ID and enter the ASIN.
  • ZIP Code: Amazon prices and availability depend on the delivery location. Enter a ZIP code to match yours, or leave the field empty for the marketplace default.
  • Include Detail: also fetches the Amazon product page for details such as images and ratings.

To compare one product across marketplaces, add a second PricePirate node with a different marketplace, for example Idealo next to Amazon. Each marketplace costs one credit per EAN.

How do batching and credits work?

A few behaviours are worth knowing before you connect a long product list:

  • One job per run, not one per row. The node collects the EANs from all input items, removes duplicates and sends them as a single job of up to 1,000 queries. A sheet with 500 rows becomes one job, not 500.
  • Jobs usually take 1–2 minutes. The node polls and waits for you. If Max Wait runs out, it stops and reports the job_id, so you can fetch the results later with Get job results.
  • One credit per EAN, no matter how many offers come back. An EAN that is looked up but has no listing (not_found) still counts as a lookup.
  • Errors are refunded. Queries that end in error, and failed jobs, get their credits back automatically.
  • Invalid EANs cost nothing. A value with a wrong check digit becomes an error row and is not charged.
  • No row disappears. An EAN without offers still returns one item with its status, so your sheet keeps the same number of products. Turn on Skip Queries Without Offers if you’d rather drop them.

To see what is left, use Account → Get account. Plans and prices are listed on the Price API page.

Can an AI agent use the node?

Yes. The node is also available as a tool, called PricePirate Tool, that you can attach to n8n’s AI Agent node. The agent then decides on its own when to look up a price.

We tested this with an AI Agent, a chat model and the tool, and asked:

Which shop has the cheapest offer for EAN 4013474101469 on Idealo in Germany, and what is the total price?

The agent called the tool with the EAN, marketplace and country, and answered with the shop and the total price. Keep in mind that every tool call is a real lookup and costs one credit per EAN.

Frequently asked questions

Does the node work on n8n Cloud?

Yes. It is a verified community node and works on n8n Cloud and on self-hosted n8n.

Can I search by ASIN instead of EAN?

Yes. Set Search By to Product ID and enter the ASIN for Amazon, or the marketplace’s own product ID for Idealo, Google Shopping and bol. Klarna and PriceRunner support EANs only.

How fresh are the prices?

Every lookup queries the marketplace live. There is no cached dataset, which is why a job takes a minute or two instead of milliseconds.

What happens if a job takes longer than Max Wait?

The node stops and gives you the job_id. Nothing is lost: fetch the results with Job → Get job results within about an hour.

Do I need web scraping in n8n to track prices?

No. The node returns structured offers, so there are no selectors, proxies or bot detection to handle in your workflow. That part runs on PricePirate’s side. What it takes to do it yourself is described in Price Scraping: Build Your Own Scraper or Use an API?.

Getting started

A sheet of EANs, one PricePirate node and a second sheet are enough for a first price comparison, and the 100 free credits cover the test:


n8n is a trademark of n8n GmbH. PricePirate is an independent product of UCX Media; the PricePirate node is a community node and is not built or maintained by n8n.

Published on by Sergei Gaponik in API

Share this article:

Related posts

All articles
Amazon Price API: Get Amazon Prices by EAN After the End of PA-API 5

October 19, 2026

Amazon Price API: Get Amazon Prices by EAN After the End of PA-API 5

PA-API 5 has been shut down, and the Creators API is only for associates with sales. The remaining ways to get Amazon prices by EAN or ASIN as JSON.

Google Shopping API: Merchant API or Price Data by EAN?

September 15, 2026

Google Shopping API: Merchant API or Price Data by EAN?

The Content API has been shut down, and the Merchant API only manages your own products. How to get every merchant's Google Shopping prices by EAN as JSON.

Price Scraping: Build Your Own Scraper or Use an API?

August 24, 2026

Price Scraping: Build Your Own Scraper or Use an API?

How price scraping actually works — selectors, rotating proxies, bandwidth, bot detection — what it costs to keep running, and when a price data API is the better call.