Allegro scraper
The Zenrows Allegro scraper turns an Allegro search, category or offer URL into structured JSON: title, current price, price with delivery, free delivery flag, rating, rating count, recent buyers, seller type, GTIN, brand and reviews. You send the URL, Fetch in Adaptive Stealth Mode opens the page, and Extract returns the fields. Run it from an API call, the CLI or an AI agent.
- Site
allegro.pl- Returns
- Offers, prices, delivery, ratings, sold counts and seller types
- Updated
{
"search_query": {
"canonical_url": "https://allegro.pl/listing?string=sluchawki",
"query_string": "sluchawki",
"total_results_count": 461513
},
"listings": [
{
"title": "Słuchawki Bezprzewodowe JBL Wave 200 TWS Dokanałowe Czarne",
"current_price": "104,99 zł",
"price_with_delivery": "115,48 zł z dostawą",
"free_delivery": null,
"discount_percent": null,
"rating_score": 4.63,
"rating_count": 6450,
"recent_buyers_count": 972,
"seller_type": "Firma",
"has_variants": true,
"offer_url": "https://allegro.pl/produkt/sluchawki-bezprzewodowe-jbl-wave-200-tws-dokanalowe-czarne-939b0879-9b86-49cd-9718-5059ccc60619?offerId=19047541302",
"image_url": "https://a.allegroimg.com/s180/29dcfe/82d0c4174bc7943e880249871107/Nowe-Sluchawki-Bezprzewodowe-JBL-Wave-200-TWS-Dokanalowe-Czarne"
}
],
"pagination": {
"current_page": 1,
"next_page_url": "https://allegro.pl/listing?string=sluchawki&p=2",
"total_pages": 100
}
}{
"url": "https://allegro.pl/listing?string=sluchawki",
"mode": "auto",
"extract": "auto",
"proxy_country": "pl"
}Request and output of a live call to an Allegro search page on Oct 29, 2026, trimmed for length. A field is returned when the offer card shows it.
What data can you scrape from Allegro?
Search and category listings return one record per offer card, plus the query, the result count, related searches and pagination.
Offer pages return the product record with its GTIN, the offer price and return window, the category path, the image gallery and buyer reviews. These are the fields teams use most, with the path where each lives in the JSON.
| Field | What it holds | Example |
|---|---|---|
listings[]. |
Offer title as the seller wrote it | Słuchawki Bezprzewodowe JBL Wave 200 TWS… |
listings[]. |
The price on the card, as Allegro formats it in złoty | 104,99 zł |
listings[]. |
Price including the cheapest delivery, when the offer charges for shipping | 115,48 zł z dostawą |
listings[]. |
Set when the card shows free delivery | true |
listings[]. |
The discount label on the card | -10% |
listings[]. |
Average product rating out of 5 | 4.63 |
listings[]. |
Number of ratings behind the score | 6450 |
listings[]. |
How many people recently bought the offer | 972 |
listings[]. |
Official store, business or private seller | Oficjalny sklep |
listings[]. |
Whether the offer comes in several colors, sizes or versions | true |
listings[]. |
Link to the offer, with the offer ID in it | https://allegro.pl/produkt/…?offerId=19047541302 |
search_ |
Number of offers that match the search | 461513 |
similar_ |
Related searches Allegro suggests, with their URLs | { "suggestion_text": "słuchawki douszne", … } |
pagination. |
The next page of results, ready to request | https://allegro.pl/listing?string=sluchawki&p=2 |
product. (offer) |
The EAN barcode, the key to match the same product across shops | 5906079181358 |
product. (offer) |
Allegro's offer number | 19047541302 |
offer. (offer) |
Price as a number, with offer.currency |
104.99 |
breadcrumbs[] (offer) |
The category path down to the product | { "name": "Słuchawki", "position": 4, … } |
How to scrape Allegro with Zenrows
- Create a free Zenrows account and copy your API key from the dashboard.
- Pick the Allegro URL. A search (
/listing?string=…), a category (/kategoria/…), a product page (/produkt/…) or an offer (/oferta/OFFER_ID) all go through the same request. - Send it with the default configuration: Adaptive Stealth Mode to open the page, Extract to return the fields, and Poland as the country so prices and delivery match what Polish shoppers see.
- Read
parsedfrom the response. Listings arrive inlistings, an offer page inproductandoffer. To keep only some fields, list their paths and the response returns just those. - Run your offer list in Batch once one URL returns what you need.
# pip install requests
import json
import requests
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": "https://allegro.pl/listing?string=sluchawki",
"mode": "auto", # Adaptive Stealth Mode
"extract": "auto", # structured JSON
"proxy_country": "pl", # prices and delivery for Poland
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()
data = response.json()["parsed"]
for offer in data.get("listings") or []:
print(offer["title"], offer.get("current_price"), offer.get("recent_buyers_count"))
print(json.dumps(data.get("pagination"), indent=2))// Node 18+ (built-in fetch)
const params = new URLSearchParams({
apikey: "YOUR_ZENROWS_API_KEY",
url: "https://allegro.pl/oferta/19047541302",
mode: "auto",
extract: "auto",
proxy_country: "pl",
});
const response = await fetch(`https://api.zenrows.com/v1/?${params}`, {
signal: AbortSignal.timeout(180_000),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const { parsed } = await response.json();
const offer = parsed.offer ?? {};
console.log(parsed.product?.name, parsed.product?.gtin, offer.price, offer.currency);curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fallegro.pl%2Flisting%3Fstring%3Dsluchawki&mode=auto&extract=auto&proxy_country=pl"
# Only the fields you need from an offer page
curl "https://api.zenrows.com/v1/?apikey=YOUR_ZENROWS_API_KEY&url=https%3A%2F%2Fallegro.pl%2Foferta%2F19047541302&mode=auto&extract=auto&proxy_country=pl&extract_fields=product.name%2Cproduct.gtin%2Coffer.price%2Caggregate_rating.rating_value"# pip install zenrows
from zenrows import ZenRowsClient
client = ZenRowsClient("YOUR_ZENROWS_API_KEY")
response = client.get(
"https://allegro.pl/kategoria/sluchawki-bezprzewodowe-85166",
params={"mode": "auto", "extract": "auto", "proxy_country": "pl"},
)
for item in response.json()["parsed"].get("listings") or []:
print(item["title"], item.get("current_price"), item.get("seller_type"))Input
The scraper takes one Allegro URL per request, plus the options below.
The same parameters go into every task of a Batch job, so the input for a thousand offers is a list of URLs with these settings.
| Parameter | Type | Default | Description |
|---|---|---|---|
url |
string | required | Any Allegro page: search (/listing?string=…), category (/kategoria/…), product (/produkt/…) or offer (/oferta/OFFER_ID) |
mode |
string | auto |
Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them |
extract |
string | auto |
Returns the page's fields as JSON in parsed, next to the raw html |
extract_ |
string | all fields | Comma-separated paths to keep, such as product.gtin,offer.price |
proxy_ |
string | any | Two-letter country code. Use pl for the prices and delivery options Polish buyers see |
wait_ |
string | none | A CSS selector to wait for before the page is read |
session_ |
integer | none | Reuse the same session across several requests, up to 10 minutes |
{
"type": "regular",
"status": "closed",
"zenrows_params": {
"mode": "auto",
"extract": "auto",
"proxy_country": "pl"
},
"tasks": [
{ "url": "https://allegro.pl/oferta/19047541302", "external_id": "jbl-wave-200" },
{ "url": "https://allegro.pl/oferta/18225275850", "external_id": "jbl-tune-780nc" },
{ "url": "https://allegro.pl/listing?string=sluchawki", "external_id": "search-sluchawki" }
]
}
Output
Every response is JSON with two keys: html, the page as Allegro served it, and parsed, the structured record. The shape of parsed follows the page type, so a search page and an offer page return different groups. Both samples below are trimmed outputs of live requests.
Prices on listing cards come as the text Allegro prints, such as 104,99 zł, with a comma as the decimal separator. Offer pages return the price as a number with its currency. To build a spreadsheet, load parsed into pandas with pd.json_normalize(...) and write CSV or Excel. For an LLM, ask for the page as Markdown instead of JSON.
{
"search_query": {
"canonical_url": "https://allegro.pl/listing?string=sluchawki",
"query_string": "sluchawki",
"total_results_count": 461513
},
"listings": [
{
"title": "Słuchawki bezprzewodowe wokółuszne JBL Tune 780NC czarne",
"current_price": "239,99 zł",
"price_with_delivery": null,
"free_delivery": true,
"discount_percent": null,
"rating_score": 4.92,
"rating_count": 191,
"recent_buyers_count": 673,
"seller_type": "Firma",
"has_variants": true,
"offer_url": "https://allegro.pl/produkt/sluchawki-bezprzewodowe-wokoluszne-jbl-tune-780nc-czarne-41e09b8d-155c-4705-a2f5-5c149237a449?offerId=18225275850",
"image_url": "https://a.allegroimg.com/s180/11bdb5/35daa3be48b8b933c70a3363e117/Sluchawki-nauszne-JBL-Tune-780NC"
},
{
"title": "Słuchawki bezprzewodowe bluetooth dokanałowe Manta RYTMO białe MTWS008W",
"current_price": "89,00 zł",
"price_with_delivery": "99,49 zł z dostawą",
"free_delivery": null,
"discount_percent": "-10%",
"rating_score": 4.9,
"rating_count": 2204,
"recent_buyers_count": 348,
"seller_type": "Oficjalny sklep",
"has_variants": true,
"offer_url": "https://allegro.pl/produkt/sluchawki-bezprzewodowe-bluetooth-dokanalowe-manta-rytmo-biale-mtws008w-00c0822c-d986-4429-baea-e76dd6e81c38?offerId=18993187115",
"image_url": "https://a.allegroimg.com/s180/11e050/713821e944c3ae7000893e704cc4/Sluchawki-bezprzewodowe-bluetooth-dokanalowe-Manta-RYTMO-biale-MTWS008W"
}
],
"similar_queries": [
{
"suggestion_text": "sluchawki nauszne bezprzewodowe",
"suggestion_url": "/listing?string=sluchawki%20nauszne%20bezprzewodowe"
},
{
"suggestion_text": "słuchawki douszne",
"suggestion_url": "/listing?string=s%C5%82uchawki%20douszne"
}
],
"pagination": {
"current_page": 1,
"next_page_url": "https://allegro.pl/listing?string=sluchawki&p=2",
"total_pages": 100
}
}{
"product": {
"name": "Nowe Słuchawki Bezprzewodowe JBL Wave 200 TWS Dokanałowe Czarne",
"brand": "JBL",
"gtin": "5906079181358",
"sku": "19047541302",
"url": "https://allegro.pl/produkt/sluchawki-bezprzewodowe-jbl-wave-200-tws-dokanalowe-czarne-939b0879-9b86-49cd-9718-5059ccc60619",
"primary_image_url": "https://a.allegroimg.com/s720/29dcfe/82d0c4174bc7943e880249871107/Nowe-Sluchawki-Bezprzewodowe-JBL-Wave-200-TWS-Dokanalowe-Czarne",
"description": "JBL Wave 200 TWS Prawdziwe bezprzewodowe słuchawki dokanałowe Głębokie basy, mnóstwo dobrej zabawy…"
},
"offer": {
"price": 104.99,
"currency": "PLN",
"availability": "in_stock",
"return_days": 14,
"offer_url": "https://allegro.pl/produkt/sluchawki-bezprzewodowe-jbl-wave-200-tws-dokanalowe-czarne-939b0879-9b86-49cd-9718-5059ccc60619"
},
"aggregate_rating": {
"rating_value": 4.63
},
"breadcrumbs": [
{ "name": "Allegro", "position": 1, "url": "https://allegro.pl" },
{ "name": "Słuchawki", "position": 4, "url": "https://allegro.pl/kategoria/sluchawki-66887" },
{ "name": "Bezprzewodowe", "position": 5, "url": "https://allegro.pl/kategoria/sluchawki-bezprzewodowe-85166" }
],
"images": [
{
"caption": "Nowe Słuchawki Bezprzewodowe JBL Wave 200 TWS Dokanałowe Czarne Kod producenta W200TWSBLK",
"url": "https://a.allegroimg.com/s128/115d02/363d2e4649bc928a56bef1d58893/Nowe-Sluchawki-Bezprzewodowe-JBL-Wave-200-TWS-Dokanalowe-Czarne-Kod-producenta-W200TWSBLK"
}
],
"reviews": [
{
"author": "k...a",
"body": "Grają ładnie, ale krótko. Dla mnie około 3-4 godzin na jednym naładowaniu…"
}
]
}Connect the MCP server (Claude Code)
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
MCP config (Cursor, Claude Desktop, Windsurf)
{
"mcpServers": {
"zenrows": {
"command": "npx",
"args": ["-y", "@zenrows/mcp"],
"env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
}
}
}
Or run the CLI
npx -y @zenrows/cli init
zenrows extract "https://allegro.pl/listing?string=sluchawki" --proxy-country pl
Then ask your agent
Use Zenrows to scrape the first page of this Allegro search and return a
table of title, price, price with delivery, rating, rating count and
recent buyers, sorted by recent buyers:
https://allegro.pl/listing?string=sluchawki
Scrape Allegro from your coding agent
Claude Code, Cursor, Codex and any MCP client can scrape Allegro from a prompt.
The agent sends the same Fetch and Extract request a developer would, so the JSON above is what it reads. Connect the Zenrows MCP server once, or install the CLI and let the agent run it in the terminal.
Scrape Allegro at scale with Batch and Crawl
Batch runs a list of Allegro URLs as one job: thousands of offers or search pages in parallel, with your own ID on each result. Use it for daily price and delivery checks across the offers you track, with the offer number as the ID.
Crawl finds the URLs for you. Start it on a category page, keep the links that contain /produkt/ or /oferta/, and it returns every offer page it reaches. Send that list to Batch for the full product records.
Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "regular",
"status": "closed",
"zenrows_params": { "mode": "auto", "extract": "auto", "proxy_country": "pl" },
"tasks": [
{ "url": "https://allegro.pl/oferta/19047541302", "external_id": "19047541302" },
{ "url": "https://allegro.pl/oferta/18225275850", "external_id": "18225275850" }
]
}'
# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY"# offers.jsonl: one {"url": "...", "external_id": "...", "extract": "auto"} per line
zenrows batch create offers.jsonl --proxy-country pl --wait
zenrows batch results <job-id> --out allegro-offers.jsonlcurl -X POST "https://api.zenrows.com/v1/crawls" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://allegro.pl/kategoria/sluchawki-bezprzewodowe-85166",
"depth": 2,
"max_pages": 200,
"include_patterns": ["/produkt/", "/oferta/"]
}'# Runs every day on Zenrows' side; each run keeps its own results
curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "scheduled",
"status": "closed",
"schedule": {
"rate": {
"every": 1,
"unit": "day"
}
},
"zenrows_params": {
"mode": "auto",
"extract": "auto",
"proxy_country": "pl"
},
"tasks": [
{
"url": "https://allegro.pl/listing?string=sluchawki",
"external_id": "allegro"
}
]
}'
# Or at set times: "schedule": { "calendar": { "times_of_day": ["09:00"],
# "cadence": { "weekly": { "days": ["mon", "thu"] } } }, "timezone": "Europe/Madrid" }What teams do with Allegro data
| Use case | Data they pull | Who runs it |
|---|---|---|
| Price monitoring in Poland | Current price, price with delivery, discount label and free delivery, per offer, every day | Retail pricing teams and brands selling in Poland |
| Demand and bestseller research | Recent buyers, rating count and rating score across a search or category | Sellers, category managers and market analysts |
| Search visibility tracking | Order of offers for a keyword, total result count and related searches | Allegro sellers and marketplace agencies |
| Product matching across shops | GTIN, brand and offer price, joined with prices from other Polish retailers | Price comparison sites and ecommerce data teams |
| Brand and channel audits | Seller type (official store, business, private) and price for each offer of a brand's products | Brand protection and distribution teams |
| Review and quality analysis | Product rating and buyer review text from offer pages | Product and CX teams |
Tips for scraping Allegro
- Request from Poland. Allegro shows delivery costs and free delivery for the buyer's location, so set the country to
plfor figures that match Polish shoppers. - Use the offer ID as your key. It is the number in
/oferta/19047541302and in theofferIdparameter of/produkt/links. Put it in the Batchexternal_idand every result joins back to your list. - Page through search with
p. Add&p=2,&p=3and so on to a listing URL, or followpagination.next_page_urluntil it is empty.pagination.total_pagestells you where the query ends. - Parse the złoty format. Listing prices arrive as text with a comma decimal and the
złsign, so replace the comma and strip the suffix before you store them as numbers. Offer pages already return a number. - Match products by GTIN. Several sellers often list the same item. The
product.gtinon offer pages is the EAN barcode, so you can group offers and compare them with other shops. - Use related searches to widen a query.
similar_queries[]lists the searches Allegro suggests next to yours, each with a ready URL to add to the job. - Mind Polish characters in URLs. Search strings with ł, ą or ż need URL encoding, as in
s%C5%82uchawki. The unaccented form (sluchawki) returns results too.
More Allegro and e-commerce scrapers
-
allegro.pl
Allegro search scraper
Offers for any Allegro search with price, seller, sold count and delivery cost.
-
amazon.com
Amazon scraper
Product titles, prices, ratings, ASINs, sellers and availability from Amazon product and search pages.
-
walmart.com
Walmart scraper
Product listings with prices, item IDs, sellers, ratings and stock status from Walmart.
-
etsy.com
Etsy scraper
Handmade and vintage listings with prices, shop names, ratings, favorites and tags.
-
aliexpress.com
AliExpress scraper
Product listings with prices, store ratings, order counts and shipping options.
-
shopify.com
Shopify scraper
Products, prices, variants, SKUs and collections from any store built on Shopify.
-
flipkart.com
Flipkart scraper
Indian product listings with price, MRP, discount, rating and seller.
-
wayfair.com
Wayfair scraper
Furniture and home products with prices, ratings, dimensions and shipping times.
-
homedepot.com
Home Depot scraper
Home improvement products with prices, model numbers, ratings and store availability.
Frequently asked questions
-
Collecting publicly available data from Allegro, such as prices, delivery costs, ratings and the number of recent buyers shown to every visitor, is common practice for price monitoring and market research. Reviews and private seller names can be personal data, which the GDPR protects in Poland and across the EU, so collect only what you have a legitimate reason to use. Check Allegro's terms for your use case and ask your lawyer if you are unsure.
-
Allegro runs a REST API for registered applications, with OAuth sign-in and a sandbox. It is built mainly for sellers and their software partners: managing your own offers, orders, shipments and account. Access to marketplace-wide search through it is restricted, so teams that track competitors' prices across Allegro usually read the public pages with a scraper. Check Allegro's developer documentation for what your application can access.
-
Search results (
/listing?string=…), category listings (/kategoria/…), product pages (/produkt/…) and single offers (/oferta/OFFER_ID). Send the URL as it appears in your browser. -
Yes. Each listing card returns
recent_buyers_count, the number Allegro shows for people who recently bought that offer, next to the rating score and rating count. Collect it daily in Batch to follow demand over time. -
Listing cards return the price with the cheapest delivery included, when the offer charges for shipping, and a free delivery flag when it does not. Offer pages add availability and the number of days the buyer has to return the item.
-
Send a GET request to
https://api.zenrows.com/v1/with your API key, the Allegro URL, Adaptive Stealth Mode and Extract turned on, and Poland as the country, as in the Python example above. The response'sparsedkey holds the offers as a Python dictionary. Thezenrowspackage on PyPI wraps the same request. -
Send one URL per request, or a whole list as a Batch job that runs the URLs in parallel and keeps your own ID on each result. One Batch job accepts more than 10,000 URLs, sent inline or as a CSV file.
-
No. Extract returns each field by name, so your code reads
parsedinstead of parsing Allegro's HTML. For a field of your own, send a separate request with CSS selectors instead of Extract. -
Yes. Connect the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Ask for the offers you want in plain language and the agent calls Fetch and Extract for you.
-
Yes. Create a scheduled Batch job with your Allegro URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.
-
Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. Send results to Google Sheets, a database or a data warehouse from the workflow tool you already use. See the integrations page for the full list.
-
JSON by default, with the structured record in
parsedand the original page inhtml. You can also ask for the page as Markdown or plain text, which is what most LLM and RAG pipelines want.