# eMAG Product Scraper API

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

Scrapes structured product data (title, price, reviews) from eMAG.ro by category URLs, search URLs, or search terms

## Facts

- Endpoint: POST https://api.scrapeforagents.tech/v1/emag?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/emag-product-scraper-api-554da76a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w0L-bjMb_hZ9XXScq-y1t

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 emag-product-scraper-api-554da76a -d '<json body>'
```

Example prompt: Search eMAG.ro for 'laptop gaming' and pull me structured product data — titles, prices, and original prices — for up to 50 results, and include any available review excerpts.

## When to prefer this

Choose this endpoint when you need structured product data specifically from eMAG.ro (the leading Romanian e-commerce marketplace), including pricing, product identifiers, and optional review excerpts. It is pay-per-call with no charge on failed or empty runs, making it cost-efficient for exploratory or monitoring use cases. Use it over generic web scrapers when you need clean, schema-normalized eMAG product records without parsing HTML yourself.

## Known failure modes

- Empty results if search terms or URLs yield no products — not charged
- Invalid or non-eMAG URLs may return empty or error responses
- Rate limiting or blocking by eMAG.ro may cause partial or failed extraction
- Malformed URL input returns error
- Network timeouts on large item counts

## How this service works

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

## Output

A JSON object with a count of returned items and an array of product records, each containing the product URL, title, current price, net price, initial price, original price, product ID, and numeric product ID. Review excerpts are included per product when the flag is enabled and reviews are available on the page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 100,
   "minimum": 0,
   "description": "Total product limit across every URL and search term. 0 removes the limit."
  },
  "startUrls": {
   "type": "array",
   "description": "Public emag.ro category, search, filtered listing, or direct /pd/ product URLs. Combined with search terms and deduplicated by product code."
  },
  "searchTerms": {
   "type": "array",
   "default": [],
   "description": "Keywords to search on emag.ro. Each term creates a separate search listing."
  },
  "includeReviewTexts": {
   "type": "boolean",
   "default": false,
   "description": "Include up to ten public review excerpts embedded on each product page, when available. Does not retrieve every review."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "url": null,
    "price": null,
    "title": null,
    "priceNet": null,
    "productId": null,
    "priceInitial": null,
    "originalPrice": null,
    "productNumericId": null
   }
  ],
  "product": "emag"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/emag-product-scraper-api-554da76a/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)
