# Yad2 Products - Israel Second-Hand Marketplace (`swerve/yad2-products`) Actor

Scrape Yad2.co.il second-hand products marketplace. Get product titles, prices, categories, photos, seller info, and location across thousands of categories.

- **URL**: https://apify.com/swerve/yad2-products.md
- **Developed by:** [Swerve](https://apify.com/swerve) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Features:** Limited permissions
- **Stats:** 27 total users, 1 monthly users, 100.0% runs succeeded, 0 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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Yad2.co.il Second-Hand Products Scraper

Scrape second-hand product listings from [Yad2.co.il](https://www.yad2.co.il), Israel's #1 classifieds platform. Fast, reliable, and packed with detail.

### Why This Scraper?

- **22 product categories** - electronics, furniture, phones, clothing, sports, baby items, musical instruments, art, and many more
- **Detail page enrichment** - every listing is enriched with the full description, contact name, and last updated date
- **Free text search** - search across categories (e.g. "iPhone 15" or "ספה")
- **City filtering** - filter by city using Hebrew or English names
- **Agent detection** - each listing tagged as `private` or `commercial`
- **Price filters** - narrow results by min/max price in ILS

### Use Cases

- **Resellers and arbitrageurs** scanning electronics, phones, and collectibles in Tel Aviv and Haifa for underpriced items to flip on eBay or international markets
- **Price comparison tools** benchmarking second-hand prices for iPhones, PlayStation consoles, and bicycles to inform consumer purchase decisions
- **Insurance and appraisal platforms** pulling comparable resale values for damage claims, estate valuations, and buyback pricing
- **Refurbishers and repair shops** sourcing broken or cheap electronics, musical instruments, and furniture at scale for refurbishment pipelines
- **Market researchers** tracking consumer trends - which electronics people are offloading, seasonal patterns in baby-gear listings, vintage collectibles demand
- **Charity and reuse platforms** monitoring "giveaway" category listings to find free items for redistribution programs

### Input

| Field | Type | Description |
|-------|------|-------------|
| `category` | string | Product category slug or `"all"` (default: `"all"`) |
| `maxItems` | integer | Max listings to return (default 200, max 1000) |
| `city` | string | City name in Hebrew or English (optional) |
| `searchQuery` | string | Free text search (optional) |
| `minPrice` | integer | Min price in ILS (optional) |
| `maxPrice` | integer | Max price in ILS (optional) |
| `excludeAgents` | boolean | Only private sellers (default: false) |
| `proxyConfig` | object | Apify proxy settings (optional) |

#### Categories

`electronics`, `furniture`, `cellular`, `sports-and-leisure`, `clothing-and-cosmetics`, `baby-and-child`, `musical-instruments`, `collectibles-and-vintage`, `home-and-lifestyle`, `lawn-and-garden`, `weapons`, `hardware`, `business-equipment`, `industry-equipment`, `mobile-structures`, `art`, `books-and-media`, `health-and-nursing`, `office`, `toys-and-games`, `giveaway`, `new-from-store`

#### Example Input

```json
{
  "category": "cellular",
  "city": "Tel Aviv",
  "maxItems": 100,
  "searchQuery": "iPhone 15",
  "maxPrice": 3000
}
```

### Output

Each listing is enriched with detail page data. Results include:

| Field | Description |
|-------|-------------|
| `listingId` | Unique Yad2 listing ID |
| `url` | Direct link to the listing |
| `category` | Product category slug |
| `adType` | `"private"` or `"commercial"` |
| `isAgent` | `true` if commercial seller |
| `listingTitle` | Listing headline |
| `listingDescription` | Full description text (from detail page) |
| `price` | Price in ILS |
| `currency` | Always `"ILS"` |
| `condition` | Item condition in Hebrew |
| `city` | City name in Hebrew |
| `cityEn` | City name in English |
| `area` | Area/region in Hebrew |
| `contactName` | Seller's name (from detail page) |
| `images` | Array of image URLs |
| `coverImage` | First image URL |
| `updatedAt` | When the listing was last updated (from detail page) |
| `scrapedAt` | When the data was retrieved |

#### Example Output

```json
{
  "listingId": "v5k8m2n4",
  "url": "https://market.yad2.co.il/products/iphone-15-128gb-v5k8m2n4",
  "category": "cellular",
  "adType": "private",
  "isAgent": false,
  "listingTitle": "iPhone 15 128GB שחור, מצב מעולה",
  "listingDescription": "אייפון 15 128 ג'יגה בצבע שחור. נקנה לפני 8 חודשים, מצב מעולה עם מגן מסך מהיום הראשון. מגיע עם קופסה מקורית ומטען. סיבת מכירה: שדרוג.",
  "price": 2700,
  "currency": "ILS",
  "condition": "משומש",
  "city": "תל אביב יפו",
  "cityEn": "Tel Aviv",
  "area": "מרכז",
  "contactName": "יוסי",
  "images": [
    "https://img.yad2.co.il/Pic/202601/28/2_3/o/o2_3_1_05432_20260128.jpg",
    "https://img.yad2.co.il/Pic/202601/28/2_3/o/o2_3_2_05432_20260128.jpg"
  ],
  "coverImage": "https://img.yad2.co.il/Pic/202601/28/2_3/o/o2_3_1_05432_20260128.jpg",
  "updatedAt": "2026-03-24T14:30:00.000Z",
  "scrapedAt": "2026-03-26T10:15:42.123Z"
}
```

### Also Available

- [Yad2.co.il Real Estate Scraper](https://apify.com/swerve/yad2-scraper) - scrape rent & buy listings from Yad2
- [Yad2.co.il Vehicle Scraper](https://apify.com/swerve/yad2-vehicles) - scrape vehicle listings from Yad2
- [Madlan.co.il Real Estate Scraper](https://apify.com/swerve/madlan-scraper) - scrape Israel's largest property listing site
- [Israel Building Permits](https://apify.com/swerve/israel-building-permits) - Israeli building permits, urban-renewal projects and preservation status by address.

### Keywords

Yad2 products scraper, Israeli second-hand marketplace, Yad2 electronics scraper, iPhone resale Israel, Israeli classifieds API, second-hand goods Israel, Yad2 furniture listings, Israel used electronics, Hebrew classifieds scraper, Israeli resale market data, yad2.co.il products, Israel arbitrage opportunities

# Actor input Schema

## `category` (type: `string`):

Category of products to scrape

## `city` (type: `string`):

Filter by city. Enter a city name in Hebrew or English (e.g. 'תל אביב', 'Tel Aviv') or a raw CBS settlement code (e.g. '5000').

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

Optional cap on results. Leave blank to scrape ALL matching results (recommended); set a number only to limit cost. Starting value only, not a limit on what the Actor can do: leave it EMPTY to scrape everything in scope. It is prefilled so the first run returns results in seconds instead of sweeping a whole city or an entire account history.

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

Minimum price filter in ILS (optional)

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

Maximum price filter in ILS (optional)

## `searchQuery` (type: `string`):

Free text search query (optional, e.g. 'iPhone 15' or 'ספה')

## `excludeAgents` (type: `boolean`):

Only return listings from private sellers

## `cfWorkerUrl` (type: `string`):

Advanced and optional. Leave empty.

## `cfWorkerToken` (type: `string`):

Advanced and optional. Leave empty.

## `proxyConfig` (type: `object`):

Proxy configuration (optional). Yad2 APIs work without proxy from Apify infrastructure. Only enable if you experience blocks.

## Actor input object example

```json
{
  "category": "all",
  "maxItems": 60,
  "excludeAgents": false
}
```

# 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 = {
    "maxItems": 60
};

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

# Run the Actor and wait for it to finish
run = client.actor("swerve/yad2-products").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 '{
  "maxItems": 60
}' |
apify call swerve/yad2-products --silent --output-dataset

```

## MCP server setup

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

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/U5HXRexy3yVpldcr2/builds/R47IJnCHKYGmxTHbc/openapi.json
