# Askona Product Catalog Scraper (`bovi/askona-scraper`) Actor

Collect product listings from askona.ru with product names, prices, availability, dimensions, images, and product URLs. Configure catalog categories, a result limit, and an optional Apify proxy.

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

## Pricing

from $3.45 / 1,000 askona product catalog scrapers

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/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

## Askona Product Catalog Scraper

Collect public product listings from [Askona](https://www.askona.ru/). The actor reads the structured product data exposed by Askona catalog pages and saves real product records. Typical fields include the product name, category, current and previous prices, discount, availability, dimensions, attributes, image URL, and product page URL. It does not create product details that are missing from the page.

### Input

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `categoryUrls` | array of strings | Mattress, bed, sofa, and pillow catalogs | Askona catalog pages to collect. URLs must use `askona.ru` or `www.askona.ru`. |
| `includeHomepage` | boolean | `true` | Collect product cards embedded in the homepage before visiting catalog pages. |
| `maxResults` | integer | `50` | Maximum number of unique product records to save. |
| `proxyConfiguration` | object | `{"useApifyProxy": false}` | Optional Apify Proxy configuration. With proxy disabled or omitted, requests go directly to Askona. |

The default categories come from the catalog links exposed on Askona's public homepage. The actor reads the homepage's product cards first, then visits the selected categories. Set `includeHomepage` to `false` to collect only from the supplied categories. You can replace the defaults with other Askona catalog URLs. The actor stops after saving `maxResults` unique products. It uses the proxy configuration supplied in the input and does not force a proxy group or country.

### Example output

```json
{
  "id": "2002817",
  "product_id": "2002598",
  "title": "Кровать с ПМ 200*160 Mira nova (Мира нова) Тк. Casanova Lilac + Основание с газ. пружинами next 200*160",
  "category": "Кровать",
  "url": "https://www.askona.ru/krovati/mira-nova.htm?productId=2002598&skuId=2002817&lockSku=1&SELECTED_HASH_SIZE=160x200-af13bfd624e1acd34f2103481efea402&SELECTED_FABRIC_ID=1475623",
  "source_url": "https://www.askona.ru/",
  "price": 29999,
  "old_price": 39049,
  "discount_percent": 23,
  "availability": true,
  "dimensions": ["160×200"],
  "image_url": "https://www.askona.ru/upload/catalog_product_images/krovati/mira-nova/casanova-lilac/mira-nova_1.webp"
}
```

Only fields present in Askona's public product data are included. Product identifiers, prices, and attributes come from that data; records do not include inferred seller, location, or publication dates.

### Pricing

Price per result: pay per dataset item. Apify bills each saved dataset item at the per-item rate configured for the Actor. The actor does not issue a separate charge event.

# Actor input Schema

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

Askona catalog pages to collect. Only askona.ru and www.askona.ru URLs are accepted.

## `includeHomepage` (type: `boolean`):

Collect the product cards embedded in Askona's homepage before visiting category pages.

## `maxResults` (type: `integer`):

Maximum number of unique product records to save.

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

Optional Apify Proxy settings. If omitted or disabled, requests run without a proxy.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.askona.ru/matrasy/",
    "https://www.askona.ru/krovati/",
    "https://www.askona.ru/divany/divany-modulnye-i-divany-pryamye-i-divany-uglovye/",
    "https://www.askona.ru/podushki/"
  ],
  "includeHomepage": true,
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with the scraped records.

# 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.askona.ru/matrasy/",
        "https://www.askona.ru/krovati/",
        "https://www.askona.ru/divany/divany-modulnye-i-divany-pryamye-i-divany-uglovye/",
        "https://www.askona.ru/podushki/"
    ],
    "includeHomepage": true,
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/askona-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 = {
    "categoryUrls": [
        "https://www.askona.ru/matrasy/",
        "https://www.askona.ru/krovati/",
        "https://www.askona.ru/divany/divany-modulnye-i-divany-pryamye-i-divany-uglovye/",
        "https://www.askona.ru/podushki/",
    ],
    "includeHomepage": True,
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/askona-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 '{
  "categoryUrls": [
    "https://www.askona.ru/matrasy/",
    "https://www.askona.ru/krovati/",
    "https://www.askona.ru/divany/divany-modulnye-i-divany-pryamye-i-divany-uglovye/",
    "https://www.askona.ru/podushki/"
  ],
  "includeHomepage": true,
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/askona-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/askona-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/gw6oSvdYczwSMlFdk/builds/kWGcA15CJYL1mt5ZK/openapi.json
