If you sell on Allegro, or you supply people who do, the question you keep asking is simple: for this list of products, who sells each one and for how much? Checking that by hand works for five EANs. It stops working at fifty.
This guide shows how to feed a list of EAN/GTIN codes into the Allegro Prices by EAN scraper on Apify and get back every seller and price for each product. I ran it on 12 everyday EANs this morning (a Coca-Cola can, Mars bars, a Nivea cream, Stabilo and BIC pens, mineral water, Nutella) and all the numbers below come from that run.
What you get back
One row per EAN. Each row has summary prices plus a nested offers list with one entry per seller.
| Field | What it holds |
|---|---|
ean, found | Your code and whether Allegro has an exact product match for it |
productName, productId, productUrl | The matched Allegro product page |
totalOffersAvailable | How many offers Allegro lists for that product |
offerCount | How many offers came back in this row (capped by topNOffers) |
lowestPrice, highestPrice, avgPrice | Min, max and mean across the returned offers, PLN gross |
smartOffersCount, superSellerOffersCount | Offers with Allegro Smart! and with the Super Seller badge |
alternativeMatches | Other products that matched the same code, such as multipacks |
offers[] | price, sellerRating, isSuperSeller, isCompany, smart, freeDelivery, deliveryInfo, isPromoted, offerUrl |
A few results from my run, with topNOffers set to 30 and sorted cheapest first:
| Product | Offers on Allegro | Lowest | Median of returned |
|---|---|---|---|
| Mars bar | 139 | 2.46 PLN | 3.20 PLN |
| Stabilo Point 88 fineliner | 211 | 2.99 PLN | 3.87 PLN |
| Coca-Cola 330 ml can | 59 | 3.15 PLN | 5.52 PLN |
| Cisowianka still water 6x1.5 L | 30 | 2.99 PLN | 21.49 PLN |
Two of the 12 codes came back as found: false with the message "No exact match for this EAN on Allegro.pl". That is the behaviour you want. Allegro showed only "similar" items for those codes, and the scraper refused to guess.
The input options that matter
The input form has seven fields. You will touch four of them.
-
eans(required). One code per line, 8 to 14 digits, up to 5,000 per run. -
topNOffers. How many offers to keep per product, 1 to 200, default 20. You pay per EAN, so raising this to 200 costs the same. The trade-off is a bigger dataset. -
sortBy.price-asc,price-descorrating-desc. Combined withtopNOffersthis decides which offers you see. On the Mars bar, with 139 offers and a limit of 30, the "highest" price in the row was 3.49 PLN because I only kept the 30 cheapest. -
smartFilter.all,smart-onlyorexclude-smart. Useful if you only care about offers a Smart! buyer would actually pick.
The rest: includePromoted (I switched it off to skip sponsored listings), useCache (keeps the EAN to product match for 30 days so repeat runs skip the search step; prices are never cached) and maxConcurrency (1 to 25).
Option 1: no code
- Open the actor page and click Try for free. A free Apify account is enough.
- Paste your EANs into the EAN / GTIN codes box, one per line. A column copied from Excel works.
- Set Max offers per product. I used 30.
- Pick a sort order and, if you want, the Smart! filter.
- Click Start. My 12 codes took 186 seconds with concurrency at 6. For a few hundred codes, raise concurrency (the maximum is 25).
- Open the Output tab and export to CSV, Excel or JSON. The summary columns export flat. The
offerslist exports as nested JSON, which is where Python helps.
Option 2: Python with pandas
Install the client and pandas:
pip install apify-client pandas Then run the actor, pull the dataset and flatten the offers into one row per seller:
import os import pandas as pd from apify_client import ApifyClient client = ApifyClient(os.environ["APIFY_TOKEN"]) run_input = { "eans": [ "5449000000996", # Coca-Cola 330 ml "5000159407236", # Mars "4006381333931", # Stabilo Point 88 "5902078000201", # Cisowianka 6x1.5 L ], "topNOffers": 30, "sortBy": "price-asc", "includePromoted": False, } run = client.actor("liveclaude/allegro-ean-prices").call(run_input=run_input) items = list(client.dataset(run["defaultDatasetId"]).iterate_items()) # Summary: one row per EAN summary = pd.DataFrame(items) cols = ["ean", "found", "productName", "totalOffersAvailable", "lowestPrice", "avgPrice", "highestPrice"] print(summary[[c for c in cols if c in summary.columns]]) # Offers: one row per seller offer found = [i for i in items if i.get("found")] offers = pd.json_normalize(found, record_path="offers", meta=["ean", "productName"]) # Median is safer than mean on Allegro (see below) stats = (offers.groupby(["ean", "productName"])["price"] .agg(["count", "min", "median", "max"]) .reset_index()) print(stats) # Only business sellers with Smart! b2b_smart = offers[(offers["isCompany"] == True) & (offers["smart"] == True)] b2b_smart[["ean", "price", "sellerRating", "deliveryInfo", "offerUrl"]] \ .to_csv("allegro_offers.csv", index=False) Why the median? Look at the water row. The cheapest offer was 2.99 PLN, but the average across 22 offers was 329.69 PLN because someone lists a pallet under the same product. The Nutella 500 g row had a lowest price of 20.65 PLN and an average of 613.11 PLN for the same reason. The median of the returned offers (21.49 PLN for the water) is much closer to what a buyer pays. If you run price monitoring on avgPrice alone, these outliers will make it look like prices jumped.
One more check worth adding: compare productName against what you expect. One code in my list matched a product whose name had nothing to do with the brand I had in mind. Sellers sometimes attach the wrong EAN to a listing, and Allegro's catalogue inherits it. A quick string check on the name catches that before it reaches a report.
Scheduling and integrations
Price checks are only useful when they repeat. In Apify Console:
- Save your input as a Task, then add a Schedule (daily at 06:00 works for most monitoring).
- Connect the dataset to Google Sheets, Make, Zapier or n8n, or add a webhook that fires when the run succeeds.
- With
useCacheon, the second and later runs skip the EAN lookup. In my run the Coca-Cola code came back withfromCache: truefrom an earlier lookup.
You can also call it in one HTTP request:
curl -X POST "https://api.apify.com/v2/acts/liveclaude~allegro-ean-prices/run-sync-get-dataset-items?token=$APIFY_TOKEN" \ -H "Content-Type: application/json" \ -d '{"eans": ["5449000000996"], "topNOffers": 50}' Pricing
The actor charges per EAN, with all offers for that EAN included:
| Event | Free plan | Bronze | Silver | Gold and up |
|---|---|---|---|---|
| EAN matched (product + all offers), per 1,000 | $12.00 | $11.40 | $10.80 | $10.20 |
| EAN with no exact match, per 1,000 | $4.00 | $3.80 | $3.60 | $3.40 |
There is also a start fee of $0.00005 per run. My 12-code test was 10 matches and 2 misses, so about $0.13 on the Free plan. A daily check of 1,000 EANs on the Free plan comes to about $12 per day if every code matches. Codes the scraper fails to fetch on its side are not charged.
Responsible use
The data is public listing data: prices, product names and seller ratings anyone can see on allegro.pl without logging in. Some Allegro sellers are private individuals, and their login can be their real name. Keep seller logins out of anything you publish, and only store them if you have a business reason and a legal basis under GDPR. For price monitoring you rarely need them; isCompany, sellerRating and the offer URL are usually enough. Keep request volumes sensible and respect Allegro's terms for your use case.
If you already keep your catalogue in a spreadsheet with an EAN column, you are one paste away from a full competitor price list. Start with 20 codes, check the matches by hand once, then put it on a schedule.
This tutorial was written with AI assistance and checked by the author. All numbers come from a real run of the scraper.


