# Allegro.pl Product Scraper

> Allegro.pl Product Scraper is a paid API for AI agents from api.scrapeforagents.tech, paid per call via x402, $0.06/call, status unknown (last checked 2026-10-02).

Scrapes structured product listing data from Allegro.pl (Poland's largest marketplace) by search query or category URL, returning offers with prices, titles, and metadata.

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/allegro?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allegro-pl-product-scraper-e4e9bdba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RYKm9L44HCH6oohFYm6tc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability allegro-pl-product-scraper-e4e9bdba -d '<json body>'
```

Example prompt: Search Allegro.pl for 'iPhone 14' and give me up to 50 listings sorted by price ascending, only new condition, between 2000 and 4000 PLN.

## When to prefer this

Use this endpoint when you need structured product data from Allegro.pl specifically — Poland's dominant e-commerce marketplace. Prefer this over generic web scraping tools when you need clean, schema-normalized offer data with prices, titles, and IDs. Ideal for price monitoring, market research, and inventory analysis targeting Polish consumers.

## Known failure modes

- Empty result set if search query returns no matches on Allegro (not charged)
- Storefront or private offer URLs may be inaccessible to anonymous requests
- Invalid or malformed Allegro URLs in startUrls may return no data
- Rate limiting or anti-scraping measures on Allegro's side may cause partial results
- Incorrect price range filters (minPrice > maxPrice) may yield zero results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of results and an array of offer items, each containing title, URL, price, original price, price with delivery, brand, offer ID, and product ID. Fields may be null if not available for a given listing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sortBy": {
   "enum": [
    "relevance",
    "price-asc",
    "price-desc",
    "newest"
   ],
   "type": "string",
   "default": "relevance",
   "description": "Sort search and category results by relevance, price or recency."
  },
  "maxItems": {
   "type": "integer",
   "default": 0,
   "minimum": 0,
   "description": "Stop after this many total offers across all inputs. Set 0 for no additional cap."
  },
  "maxPrice": {
   "type": "integer",
   "minimum": 0,
   "description": "Upper price bound in PLN for listing and category URLs."
  },
  "minPrice": {
   "type": "integer",
   "minimum": 0,
   "description": "Lower price bound in PLN for listing and category URLs."
  },
  "condition": {
   "enum": [
    "all",
    "new",
    "used"
   ],
   "type": "string",
   "default": "all",
   "description": "Filter listing results to new or used items."
  },
  "startUrls": {
   "type": "array",
   "description": "Public Allegro.pl search or category URLs. Storefront and offer URLs are accepted but may be inaccessible to anonymous requests. A p=N parameter starts a listing at that page."
  },
  "searchQueries": {
   "type": "array",
   "description": "Product keywords to search on Allegro.pl. Each query is paginated separately."
  },
  "maxItemsPerQuery": {
   "type": "integer",
   "default": 100,
   "minimum": 1,
   "description": "Maximum distinct offers from each query or start URL."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "brand": null,
    "price": null,
    "title": null,
    "offerId": null,
    "productId": null,
    "originalPrice": null,
    "priceWithDelivery": null
   }
  ],
  "product": "allegro"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allegro-pl-product-scraper-e4e9bdba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.scrapeforagents.tech](https://www.zero.xyz/host/api.scrapeforagents.tech/llms.txt)
