# Drom.ru Car Listings Scraper (`bovi/drom-scraper`) Actor

Collect public vehicle listings from Drom.ru search pages, including price, title, location, vehicle attributes, listing status, and images.

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

## Pricing

from $2.15 / 1,000 drom.ru car listings 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

## Drom.ru Car Listings Scraper

Collect public vehicle listings from Drom.ru search pages. Each result includes the listing ID, price, title, canonical listing URL, location, publication date, vehicle attributes, sale status, and image URLs when Drom provides those values. The scraper reads Drom's server-rendered listing data, so it does not need an account or browser session. Fields that Drom omits for a listing are left out of that record.

### Input

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `urls` | array of strings | Yes | Moscow search page | One or more Drom.ru vehicle search URLs. The actor follows result pages while it still needs records. |
| `maxResults` | integer | No | `50` | Maximum number of unique listings to save across all input URLs. |
| `proxyConfiguration` | object | No | Direct connection | Optional Apify proxy settings. Set `useApifyProxy` to `true` to route requests through the supplied proxy configuration. |

The default search URL is `https://auto.drom.ru/moscow/all/page2/?distance=200&order=price`. You can use any public Drom.ru search URL. Other domains are skipped.

### Example result

```json
{
  "bull_id": 765356009,
  "price": 20000,
  "minimal_price": 0,
  "url": "https://auto.drom.ru/ramenskoe/lada/2114/765356009.html",
  "title": "Лада 2114 Самара, 2006",
  "images": {
    "total": 8,
    "items": [
      {
        "src": "https://s12.auto.drom.ru/photo/v2/9Ld06GIw3Hv_xvubbLQDS0UBQrf_XI_bOt2eetiBgH505lcXa0X_0LjNax_2r9eIEpn6sAR2jcgH0uKr/gen272wb.jpg",
        "src2x": "https://s12.auto.drom.ru/photo/v2/9Ld06GIw3Hv_xvubbLQDS0UBQrf_XI_bOt2eetiBgH505lcXa0X_0LjNax_2r9eIEpn6sAR2jcgH0uKr/gen544wb.jpg",
        "width": 272,
        "height": 363,
        "alt": "Хэтчбек Лада 2114 Самара 2006 года, 20000 рублей, Раменское"
      }
    ]
  },
  "frame_type": 5,
  "show_placeholder": false,
  "sold": true,
  "marks": [
    {
      "type": 14
    }
  ],
  "has_dealer_name": false,
  "subtitle": "1.5 MT Базовая",
  "attributes": [
    {
      "type": "plain",
      "payload": "1.5 л (77 л.с.)"
    },
    {
      "type": "plain",
      "payload": "бензин"
    },
    {
      "type": "plain",
      "payload": "механика"
    },
    {
      "type": "plain",
      "payload": "передний"
    },
    {
      "type": "plain",
      "payload": "200 000 км"
    }
  ],
  "date": "14 октября",
  "location": "Раменское",
  "car_state": [
    1
  ],
  "from_url": "https://auto.drom.ru/moscow/all/page2/?distance=200&order=price"
}
```

### Run and pricing

Provide search URLs, choose `maxResults`, and optionally configure a proxy in the Apify input form. Results are written to the default dataset. The reference champion lists a price of **$0.003 per result on the Free tier**; the platform rate can vary by plan. This actor does not add a custom charge event.

# Actor input Schema

## `urls` (type: `array`):

One or more Drom.ru vehicle search pages. The actor follows result pages until maxResults is reached.

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

Maximum number of unique vehicle listings to save across all URLs.

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

Optional Apify proxy settings. Omit this field or set useApifyProxy to false to connect directly.

## Actor input object example

```json
{
  "urls": [
    "https://auto.drom.ru/moscow/all/page2/?distance=200&order=price"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset containing the scraped Drom.ru vehicle listings.

# 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 = {
    "urls": [
        "https://auto.drom.ru/moscow/all/page2/?distance=200&order=price"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/drom-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 = {
    "urls": ["https://auto.drom.ru/moscow/all/page2/?distance=200&order=price"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/drom-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 '{
  "urls": [
    "https://auto.drom.ru/moscow/all/page2/?distance=200&order=price"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/drom-scraper --silent --output-dataset

```

## MCP server setup

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