# Regard Price & Stock Monitor (`sashaebashu/regard-monitor`) Actor

Scrape & monitor the Regard (regard.ru) electronics catalog by category — name, specs, price, availability and product URL, with price & stock change-tracking. Cheap datacenter proxy.

- **URL**: https://apify.com/sashaebashu/regard-monitor.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** E-commerce, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.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.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

## Regard Price & Stock Monitor

Scrape the **[Regard](https://www.regard.ru/)** (Регард) electronics & PC-parts catalog by category — and, in **monitor mode**, track exactly how **prices and stock** change between runs. No API key, no login.

### What it does

Point it at one or more category pages (e.g. `https://www.regard.ru/catalog/1001/processory`) and get a clean row per product:

| Field | Description |
| --- | --- |
| `productId` | Stable Regard product id (from `/product/<id>/...`) — the key used for change-tracking. |
| `name` | Product name. |
| `description` | Short spec string (socket, cores, clocks, etc.). |
| `price` | Current price, ₽. |
| `currency` | Price currency (RUB). |
| `available` | `true` if in stock, else `false`. |
| `availability` | Raw schema.org availability (`InStock` / `OutOfStock` / `PreOrder`). |
| `image` | Product image URL. |
| `url` | Product page URL. |
| `categoryPath` | The category it was found in. |
| `scrapedAt` | Timestamp of the scrape. |

### Monitor mode — track price & stock changes

Turn on **`monitorMode`** and every run is compared to the previous one (same categories). Each row gains:

- `changeType` — `new` / `price_up` / `price_down` / `stock_change` / `unchanged`
- `previousPrice` — the price last run
- `priceLow30` / `priceHigh30` — rolling 30-day low & high (spot a fake "discount" back to a price the item already had)
- `firstSeenAt` / `lastConfirmedAt` — data-freshness stamps

Set **`onlyChanges`** to output only what changed since the last run — a clean delta for alerts or a dashboard. Run it on a schedule and you have an electronics price & availability monitor. This is the wedge: plenty of tools dump a catalog once — this one tells you **what changed**.

### Why monitor electronics?

PC-parts and electronics prices move fast and stock swings constantly. Resellers, price-analytics teams and deal hunters need to know when a competitor drops a price, when a part comes back in stock, or when a "discount" isn't really one.

### Input

| Parameter | Description |
| --- | --- |
| `categoryUrls` | Regard category pages (full URL or `catalog/<id>/<slug>` path). |
| `searchQueries` | Keywords to search (e.g. `процессор amd`) — scrapes the search results the same way, with price & stock. Use alone or with `categoryUrls`. |
| `crawlSubcategories` | For each category, also scrape all descendant subcategories (monitor a whole section from one parent URL). Off by default. |
| `maxPagesPerCategory` | Result pages per category / search (~24 products each). 0 = until it ends. |
| `maxItems` | Cap on output rows (0 = unlimited). |
| `maxConcurrency` | Pages fetched in parallel (1–12, default 4). |
| `monitorMode` | Track price & availability changes vs the previous run. Off by default. |
| `onlyChanges` | Monitor: output only changed / new products. |
| `proxyConfiguration` | Apify datacenter proxy is enough (cheap) — residential not required. |

### Notes

- Data comes from the page's public schema.org JSON-LD — stable and clean.
- Only public catalog data is collected. Do not scrape personal data without a legitimate reason.

# Actor input Schema

## `categoryUrls` (type: `array`):

regard.ru category pages (full URL or `catalog/<id>/<slug>` path). Filtered & curated URLs work too — apply brand/price filters (or open a `/reciept/...` selection) on the site, copy the URL, and paste it here to scrape just those results.
## `searchQueries` (type: `array`):

Keywords to search on regard.ru — scrapes the search results the same way (with price & stock). Combine with categoryUrls or use alone.
## `crawlSubcategories` (type: `boolean`):

For each category URL, also discover and scrape all descendant subcategories (their child categories, recursively). Great for monitoring a whole section (e.g. all PC components) from one parent URL. Off by default.
## `maxPagesPerCategory` (type: `integer`):

How many result pages (~24 products each) to fetch per category. 0 = until the category ends.
## `maxItems` (type: `integer`):

Stop after this many products in total (0 = unlimited).
## `maxConcurrency` (type: `integer`):

How many category pages to fetch in parallel (1–12). Higher = faster.
## `monitorMode` (type: `boolean`):

Compare this run to the previous one (same categories) and tag each product with what changed: changeType (new / price_up / price_down / stock_change / unchanged), previousPrice, firstSeenAt / lastConfirmedAt (data-freshness stamps), and priceLow30 / priceHigh30 (rolling 30-day low & high — spot fake discounts). Turns the scraper into a price & stock monitor you run on a schedule. Off by default — normal runs are unaffected.
## `onlyChanges` (type: `boolean`):

With monitor mode on, output only the products whose price or availability changed (or that are new) since the last run — a clean delta for alerts or a dashboard.
## `proxyConfiguration` (type: `object`):

Apify datacenter proxy is enough (cheap) — residential is not required.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.regard.ru/catalog/1001/processory"
  ],
  "searchQueries": [
    "процессор"
  ],
  "crawlSubcategories": false,
  "maxPagesPerCategory": 10,
  "maxItems": 0,
  "maxConcurrency": 4,
  "monitorMode": false,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
````

# Actor output Schema

## `overview` (type: `string`):

No description

## `details` (type: `string`):

No description

# 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 = {
    "categoryUrls": [
        "https://www.regard.ru/catalog/1001/processory"
    ],
    "searchQueries": [
        "процессор"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/regard-monitor").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 = {
    "categoryUrls": ["https://www.regard.ru/catalog/1001/processory"],
    "searchQueries": ["процессор"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("sashaebashu/regard-monitor").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "categoryUrls": [
    "https://www.regard.ru/catalog/1001/processory"
  ],
  "searchQueries": [
    "процессор"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call sashaebashu/regard-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=sashaebashu/regard-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Regard Price & Stock Monitor",
        "description": "Scrape & monitor the Regard (regard.ru) electronics catalog by category — name, specs, price, availability and product URL, with price & stock change-tracking. Cheap datacenter proxy.",
        "version": "0.1",
        "x-build-id": "ydcahIQ8f10ZIeGsI"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/sashaebashu~regard-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-sashaebashu-regard-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/sashaebashu~regard-monitor/runs": {
            "post": {
                "operationId": "runs-sync-sashaebashu-regard-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/sashaebashu~regard-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-sashaebashu-regard-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "categoryUrls": {
                        "title": "Category URLs",
                        "type": "array",
                        "description": "regard.ru category pages (full URL or `catalog/<id>/<slug>` path). Filtered & curated URLs work too — apply brand/price filters (or open a `/reciept/...` selection) on the site, copy the URL, and paste it here to scrape just those results.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQueries": {
                        "title": "Search queries",
                        "type": "array",
                        "description": "Keywords to search on regard.ru — scrapes the search results the same way (with price & stock). Combine with categoryUrls or use alone.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "crawlSubcategories": {
                        "title": "Crawl subcategories",
                        "type": "boolean",
                        "description": "For each category URL, also discover and scrape all descendant subcategories (their child categories, recursively). Great for monitoring a whole section (e.g. all PC components) from one parent URL. Off by default.",
                        "default": false
                    },
                    "maxPagesPerCategory": {
                        "title": "Max pages per category",
                        "minimum": 0,
                        "type": "integer",
                        "description": "How many result pages (~24 products each) to fetch per category. 0 = until the category ends.",
                        "default": 10
                    },
                    "maxItems": {
                        "title": "Max output rows",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Stop after this many products in total (0 = unlimited).",
                        "default": 0
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 12,
                        "type": "integer",
                        "description": "How many category pages to fetch in parallel (1–12). Higher = faster.",
                        "default": 4
                    },
                    "monitorMode": {
                        "title": "Monitor mode (price & stock tracking)",
                        "type": "boolean",
                        "description": "Compare this run to the previous one (same categories) and tag each product with what changed: changeType (new / price_up / price_down / stock_change / unchanged), previousPrice, firstSeenAt / lastConfirmedAt (data-freshness stamps), and priceLow30 / priceHigh30 (rolling 30-day low & high — spot fake discounts). Turns the scraper into a price & stock monitor you run on a schedule. Off by default — normal runs are unaffected.",
                        "default": false
                    },
                    "onlyChanges": {
                        "title": "Return only changed products",
                        "type": "boolean",
                        "description": "With monitor mode on, output only the products whose price or availability changed (or that are new) since the last run — a clean delta for alerts or a dashboard.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Apify datacenter proxy is enough (cheap) — residential is not required."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
