# Ricardo.ch Scraper (Swiss Marketplace) (`reventadata/ricardo-scraper`) Actor

Extract Ricardo.ch listings by keyword: current bid, buy-now price in CHF, number of bids, auction end time, condition, brand, shipping options, item location and listing link. Auctions and fixed-price sales in one row. Public search pages, no login.

- **URL**: https://apify.com/reventadata/ricardo-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to Ricardo. "Ricardo" is a trademark of its respective owner
> and is used here only to describe what this tool reads. It reads the same public pages a
> browser does.

Ricardo Scraper reads listings from [Ricardo.ch](https://www.ricardo.ch), the Swiss marketplace
for auctions and fixed-price sales, by keyword: current bid, buy-now price, number of bids, when
the listing ends, condition, brand, shipping options, where the item ships from and a link to the listing.

### What data can you extract from Ricardo?

Every listing Ricardo returns for your keywords, with the fields the site itself publishes in its
search results. The Actor reads Ricardo's public search pages, so it needs no browser.

### Why scrape Ricardo?

- **Auctions and fixed prices in one row.** `bidPrice`, `buyNowPrice`, `hasAuction`, `hasBuyNow`,
  `bidsCount` and `endDate` show how a listing sells and when it closes.
- **Several keywords per run.** A listing found by an earlier keyword is not returned again.
- **Every page the site has.** The run walks the result pages Ricardo serves for a keyword (60
  listings per page, at most 1,000 pages), or stops at your row cap.
- **No duplicates.** Ricardo repeats a listing from page to page; each id is returned once.
- **Proxy handled for you.** You do not need to set one.

### How to scrape Ricardo

1. Enter one or more keywords.
2. Optionally cap the rows and the pages per keyword.
3. Run it. Results land in the dataset.

#### Input

| Field | Type | Meaning |
|---|---|---|
| `searchQueries` | array of strings | Keywords to search. Required. |
| `maxItems` | integer | Cap on rows over all keywords. Default 100. |
| `maxPages` | integer | Optional cap on pages per keyword (60 listings each, at most 1,000). |
| `proxyConfiguration` | object | Off by default. |

```json
{
    "searchQueries": ["iphone 15"],
    "maxItems": 200,
    "maxPages": 2
}
```

#### Output

One row, from a real local run on 2026-11-08:

```json
{
    "id": "1334654262",
    "title": "iPhone 15 Plus 128gb",
    "url": "https://www.ricardo.ch/de/a/iphone-15-plus-128gb-1334654262/",
    "price": 399,
    "currency": "CHF",
    "bidPrice": 264,
    "buyNowPrice": 399,
    "hasAuction": true,
    "hasBuyNow": true,
    "bidsCount": 3,
    "startDate": "2026-11-05T16:47:00Z",
    "endDate": "2026-11-12T19:59:00Z",
    "creationDate": "2026-11-05T16:47:00Z",
    "conditionKey": "like_new",
    "categoryId": 49329,
    "productTypeKey": "mobile_phone",
    "brand": "Apple",
    "sellerId": "406116383",
    "shipping": [
        {"key": "parcel_b_2kg", "cost": 9},
        {"key": "get_by_buyer", "cost": 0}
    ],
    "itemZipCode": "5034",
    "itemCity": "Suhr",
    "isMoneyGuard": true,
    "isPromo": false,
    "canMakeAnOffer": false,
    "highlight": "popular",
    "imageUrl": "https://img.ricardostatic.ch/images/42f500c2-c266-4cfe-aafd-ef6c9cda611f/t_1800x1350/iphone-15-plus-128gb",
    "thumbnailUrl": "https://img.ricardostatic.ch/images/42f500c2-c266-4cfe-aafd-ef6c9cda611f/t_265x200/iphone-15-plus-128gb",
    "searchQuery": "iphone 15",
    "searchUrl": "https://www.ricardo.ch/de/s/iphone%2015/"
}
```

### Notes and limits

- **Prices are in CHF.** `price` is the buy-now price when the listing has one, otherwise the current bid.
  Fixed-price listings have `bidPrice` null; auction-only listings have `buyNowPrice` null.
- **Search results only.** Listing descriptions, attributes and the seller's name are on the listing
  page and are not read; the row carries Ricardo's seller id.
- **At most 1,000 pages per keyword** (about 59,000 listings). Narrow the keyword for large categories.
- **A search that matches nothing ends with a status message and no rows.** A run where Ricardo's pages
  could not be read ends as failed with the reason.
- Reads the same public pages a browser does. See the disclaimer at the top.

### How much does it cost?

Pay-per-event: **$0.001 per listing** saved to the dataset (**$1.00 per 1,000 listings**), plus **$0.00005** charged once when the run starts. No subscription. Each listing is saved once, so repeats are not charged.

### FAQ

**Why do I get fewer rows than the site's result count?** The count is live inventory and drifts between
requests; the site serves at most 1,000 pages per keyword, and each id is returned once.

**Are old or ended auctions included?** Only what the search pages list at the time of the run.

### More marketplace scrapers

| Actor | What it scrapes |
|---|---|
| [OLX Portugal Scraper](https://apify.com/reventadata/olx-pt-scraper) | OLX Portugal (olx.pt): any category |
| [OLX Romania Scraper](https://apify.com/reventadata/olx-ro-scraper) | OLX Romania (olx.ro): any category |

# Actor input Schema

## `searchQueries` (type: `array`):

Keywords to search on ricardo.ch, for example "iphone". Each one is searched separately and a listing found by an earlier keyword is not returned again. Required.

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

Hard cap on rows pushed over all keywords together.

## `maxPages` (type: `integer`):

Optional cap on result pages per keyword (60 listings each at most). Without it the run walks every page the site has for the keyword (at most 1,000 pages), or stops at Maximum rows.

## `proxyConfiguration` (type: `object`):

Optional proxy settings. Turn on only if you see request failures.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone"
  ],
  "maxItems": 10,
  "maxPages": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Ricardo listings: current bid, buy-now price, bid count, end date, condition, shipping and a link to the listing.

# 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 = {
    "searchQueries": [
        "iphone"
    ],
    "maxItems": 10,
    "maxPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/ricardo-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 = {
    "searchQueries": ["iphone"],
    "maxItems": 10,
    "maxPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/ricardo-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 '{
  "searchQueries": [
    "iphone"
  ],
  "maxItems": 10,
  "maxPages": 1
}' |
apify call reventadata/ricardo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reventadata/ricardo-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/912qybea3DT1GWgLb/builds/lBp4060MfQc1LCVRs/openapi.json
