# Zap.co.il - Israel Price Comparison Scraper (`swerve/zap-scraper`) Actor

Scrape product listings and price comparisons from zap.co.il, Israel's largest price-comparison platform. Returns model names, price ranges, store counts, images, and categories across electronics, appliances, fashion, home goods, and more.

- **URL**: https://apify.com/swerve/zap-scraper.md
- **Developed by:** [Swerve](https://apify.com/swerve) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Zap.co.il Price Comparison Scraper

Scrape product listings and price comparisons from [zap.co.il](https://www.zap.co.il), Israel's largest price-comparison platform. One row per product model with the lowest published store price, brand, image, rating, category, and Zap Choice flag.

Works across every category on zap (electronics, appliances, fashion, home, beauty, sports, etc.). Search in Hebrew or English.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `keyword` | string (required) | `"iphone"` | Free-text search. Hebrew or English. Examples: `"iphone 15"`, `"מקרר"`, `"Sony WH-1000XM5"`. |
| `maxItems` | integer | `100` | Cap on distinct product models. The actor paginates until it hits this or runs out of results. |
| `minPrice` | integer | none | Filter: drop products whose lowest store price is below this (ILS). |
| `maxPrice` | integer | none | Filter: drop products whose lowest store price is above this (ILS). |

### Output

Each row represents one product model on zap.co.il:

```json
{
  "modelId": "1221182550",
  "name": "אפל אייפון Apple iPhone 17 Pro Max 256GB",
  "url": "https://www.zap.co.il/model.aspx?modelid=1221182550",
  "imageUrl": "https://img.zap.co.il/pics/...",
  "minPrice": 4234,
  "currency": "ILS",
  "brand": "Apple",
  "categoryCode": "phones_cellphones",
  "popularityScore": 0.92,
  "popularityPercent": 92,
  "singleStoreName": null,
  "isZapChoice": true,
  "page": 1,
  "scrapedAt": "2026-06-07T15:48:12.913Z"
}
```

`singleStoreName` is set only when the model is sold by a single store (zap's "one store" card layout). Multi-store products leave it null and `minPrice` is the cheapest across all listed stores.

`minPrice` is null when zap's card shows no price (discontinued, hidden stores, or a placeholder card). It is never a partial estimate.

### How it works

The actor fetches zap's HTML search results through an Israel residential proxy (zap blocks datacenter IPs). It pulls structured data from each card's `data-*` attributes and reads the lowest price directly from `card-v2__price-amount`. Pagination uses zap's own `/models.aspx?sog=<category>&pageinfo=N` URLs after extracting the category code from page 1.

### Limits

- Some pages may trip Cloudflare's bot challenge; the actor retries up to 3 times with fresh proxy sessions per page before giving up on that page.
- Zap shows roughly 28 products per page. Very high `maxItems` (over a few hundred) will take minutes to crawl.
- Prices are the on-card snapshot. Live store prices may change between the scrape and a click-through.

### Use cases

- Pricing intelligence: monitor your model or your competitor's across all Israeli retailers.
- Market basket research: cheapest TV with rating >= 4 in a category.
- Catalog enrichment: pull brand, image, and rating to enrich a product database.
- Trend tracking: snapshot daily and watch price drops.

# Actor input Schema

## `keyword` (type: `string`):

Free-text search in Hebrew or English. Examples: 'iphone 15', 'מקרר', 'Sony WH-1000XM5', 'מזגן 2 כס', 'PlayStation 5'.

## `maxItems` (type: `integer`):

Optional cap on how many distinct product models to return. Leave blank to scrape ALL matching products (recommended for full coverage; a broad keyword can return many pages, so a no-cap run can be large). Set a number only if you want to limit cost or output size. Each page on zap.co.il holds about 28 products; the actor paginates until it hits your cap or runs out of results. Examples: 50, 200, 1000.

## `minPrice` (type: `integer`):

Filter out products whose lowest store price is below this. Optional.

## `maxPrice` (type: `integer`):

Filter out products whose lowest store price is above this. Optional.

## Actor input object example

```json
{
  "keyword": "iphone"
}
```

# 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 = {
    "keyword": "iphone"
};

// Run the Actor and wait for it to finish
const run = await client.actor("swerve/zap-scraper").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 = { "keyword": "iphone" }

# Run the Actor and wait for it to finish
run = client.actor("swerve/zap-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "keyword": "iphone"
}' |
apify call swerve/zap-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,swerve/zap-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/194doB8x26zifT89E/builds/OGe1d76txUX7OHAGs/openapi.json
