# Allegro.pl Scraper — Offers, Prices & Sellers (No Login) (`bovi/allegro-offers`) Actor

Scrape Allegro.pl offers by keyword: title, price, auction/buy-now format, images, category, and offer URL. No login, OAuth2, or proxy setup — DataDome anti-bot is handled for you. Pay per result.

- **URL**: https://apify.com/bovi/allegro-offers.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 0 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Allegro.pl Scraper — Offers, Prices & Sellers (No Login)

Built for Polish e-commerce sellers monitoring competitor pricing on Allegro, importers researching the Polish market, and price-intelligence tools covering the CEE region.

**Pricing:** Pay per offer — **$6.95 / 1,000 results**. First 10 results free.

**No login. No OAuth2. No proxy setup.** Allegro is protected by DataDome anti-bot and is localized to Poland — this actor handles all of that for you (managed unblocker + Polish residential routing built in). Just give it a search phrase.

Scrape **Allegro.pl** — Poland's #1 marketplace (~20M active offers) — by keyword and collect structured offer data: title, price, format (auction/buy-now), images, category, and a direct offer link.

### What you get

| Field | Description |
|---|---|
| `id` | Allegro offer ID (numeric) |
| `name` | Offer title |
| `price` | Price amount (float) |
| `currency` | Currency code (PLN) |
| `format` | `buy_now` or `auction` |
| `imageUrl` | Primary image URL |
| `images` | All image URLs (list, highest resolution available) |
| `categoryId` | Allegro category ID |
| `offerUrl` | Direct link to the offer |
| `scraped_at` | ISO 8601 run timestamp |
| `parse_confidence` | 0.0–1.0 per-record quality score |
| `warnings` | List of field-level quality codes |

> `stock` and seller `location` are not exposed on the public listing view, so they are returned as `null`. For per-offer stock/specs, a detail-page mode can be added on request.

### Inputs

| Input | Type | Required | Description |
|---|---|---|---|
| `phrase` | string | Yes | Search keyword(s), e.g. "laptop", "nike shoes" |
| `maxItems` | integer | No | Max offers to return. Default 100. Set 0 for no limit (capped at the listing's last page) |
| `country` | string | No | Two-letter proxy country. Default `pl` (recommended for Allegro) |
| `brightDataApiKey` | string | No | **Advanced/optional.** Power users may supply their own Bright Data API key to self-bill the unblocking cost. Leave empty to use the built-in unblocker (recommended). |

### How it works

1. **Fetch**: requests `https://allegro.pl/listing?string=<phrase>&p=<page>` through a managed unblocker that solves DataDome and routes via Polish residential IPs, returning the rendered HTML.
2. **Extract**: parses the `__listing_StoreState` SSR JSON embedded in the page — far more stable than scraping CSS classes (Allegro rotates class names; the JSON schema does not).
3. **Paginate**: reads `searchMeta.lastAvailablePage` and walks pages until `maxItems` is reached or the listing ends.
4. **Normalize**: each offer is flattened to the schema above, with a per-record confidence score.

### vs. competitors

| Feature | This actor | HTML-scraper incumbents |
|---|---|---|
| Setup | Just a search phrase | Often need proxy/cred config |
| Anti-bot (DataDome) | Handled for you | Breaks frequently |
| Parser resilience | SSR-JSON (schema-stable) | CSS-class scraping (brittle) |
| `format` (auction/buy-now) | Yes | Rarely parsed cleanly |
| Per-record quality score | Yes | No |

### Use with AI agents (MCP)

Compatible with Claude, GPT, and other MCP-aware agents:

````

https://mcp.apify.com/?tools=bovi/allegro-offers

````

### Pricing example

| Volume | Cost |
|---|---|
| 100 offers | $0.70 |
| 1,000 offers | $6.95 |
| 10,000 offers | $69.50 |

First 10 results are free.

### FAQ

**Do I need Allegro credentials or a developer account?**
No. This actor scrapes the public listing pages — no login, OAuth2, or API keys required.

**Do I need to configure a proxy?**
No. Polish residential routing and DataDome bypass are built in.

**What output formats are available?**
JSON (default), CSV, and Excel — via the Apify dataset export or API.

**Why are `stock` and `location` null?**
Those fields aren't shown on the public listing/search view. They live on individual offer detail pages — available via a detail-page mode on request.

### CEE cluster

Allegro is the #1 CEE marketplace. Bundle with the OLX Scraper (classifieds) as a "Poland/CEE ecom data" stack.

### Integrations

The JSON/dataset output drops into the tools you already run, no glue code:

- **n8n / Make / Zapier** — pipe every new dataset item into 500+ apps (Google Sheets, Airtable, Slack, HubSpot, your database): [n8n](https://docs.apify.com/platform/integrations/n8n), [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier).
- **Webhooks** — fire your own endpoint the moment a run finishes ([docs](https://docs.apify.com/platform/integrations/webhooks)).
- **MCP server** — expose this actor as a tool to Claude, Cursor, or any [MCP client](https://mcp.apify.com).
- **API & SDKs** — fetch the dataset as JSON, CSV, or Excel through the Apify REST API or the Python / JS SDKs.

See all [Apify integrations](https://apify.com/integrations).

# Actor input Schema

## `phrase` (type: `string`):

Search query to find offers on Allegro (e.g. 'laptop', 'nike shoes', 'lego'). The actor searches across all Allegro categories.
## `maxItems` (type: `integer`):

Maximum number of offers to return. Each page returns up to ~74 offers. Default 100. Set 0 for no limit (capped at the listing's last page).
## `country` (type: `string`):

Two-letter country code for the unblocker proxy. Allegro is a Polish marketplace, so 'pl' is strongly recommended.
## `brightDataApiKey` (type: `string`):

OPTIONAL. Leave empty to use the built-in unblocker (recommended — billed per result). Power users may supply their own Bright Data API key to self-bill the unblocking cost.

## Actor input object example

```json
{
  "phrase": "laptop",
  "maxItems": 100,
  "country": "pl"
}
````

# Actor output Schema

## `results` (type: `string`):

Dataset containing Allegro offer records (name, price, currency, format, stock, categoryId, location, offerUrl, id, imageUrl, scraped\_at)

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "phrase": "laptop",
    "maxItems": 100,
    "country": "pl"
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/allegro-offers").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "phrase": "laptop",
    "maxItems": 100,
    "country": "pl",
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/allegro-offers").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "phrase": "laptop",
  "maxItems": 100,
  "country": "pl"
}' |
apify call bovi/allegro-offers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=bovi/allegro-offers",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Allegro.pl Scraper — Offers, Prices & Sellers (No Login)",
        "description": "Scrape Allegro.pl offers by keyword: title, price, auction/buy-now format, images, category, and offer URL. No login, OAuth2, or proxy setup — DataDome anti-bot is handled for you. Pay per result.",
        "version": "0.1",
        "x-build-id": "9RUhngxvL5Ec85npi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~allegro-offers/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-allegro-offers",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/bovi~allegro-offers/runs": {
            "post": {
                "operationId": "runs-sync-bovi-allegro-offers",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/bovi~allegro-offers/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-allegro-offers",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "phrase"
                ],
                "properties": {
                    "phrase": {
                        "title": "Search phrase",
                        "type": "string",
                        "description": "Search query to find offers on Allegro (e.g. 'laptop', 'nike shoes', 'lego'). The actor searches across all Allegro categories."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of offers to return. Each page returns up to ~74 offers. Default 100. Set 0 for no limit (capped at the listing's last page)."
                    },
                    "country": {
                        "title": "Proxy country",
                        "type": "string",
                        "description": "Two-letter country code for the unblocker proxy. Allegro is a Polish marketplace, so 'pl' is strongly recommended.",
                        "default": "pl"
                    },
                    "brightDataApiKey": {
                        "title": "Bright Data API key (optional, advanced)",
                        "type": "string",
                        "description": "OPTIONAL. Leave empty to use the built-in unblocker (recommended — billed per result). Power users may supply their own Bright Data API key to self-bill the unblocking cost."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
