# Avito Auto Scraper (`w3crawler/avito-auto-scraper`) Actor

Collect bounded public Avito.ru auto search-card listings with prices, parameters, sellers, images, provenance, and truthful detail access diagnostics.

- **URL**: https://apify.com/w3crawler/avito-auto-scraper.md
- **Developed by:** [w3crawler](https://apify.com/w3crawler) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 78.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 auto listings

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

## Avito Auto Scraper

Collect public **Avito.ru** automobile listings from one or more search pages. Each saved row combines the public search-card identity, price, vehicle parameters, location, seller rating, and image URLs, then optionally adds description, address, brand, model, publication, and attribute data from a bounded number of public detail pages. Filters, sorting, deduplication, and ordinary Apify Proxy routing are supported; the Actor does not log in, solve security checks, call private APIs, or bypass access controls.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/avito-auto-scraper) and select **Try for free**, or open the **Input** tab directly.
2. Add one or more public Avito.ru auto search URLs to `searchUrls`. Use `searchUrl` only when you need the single-URL compatibility field.
3. Keep `maxItems` and `maxPages` small for the first run. Leave `includeDetails` enabled only if you want bounded public detail-page enrichment.
4. Start the Actor, open the dataset, and export the saved listings as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the counts and whether detail access was blocked.

### Input

All fields are optional; the table defaults come from `.actor/input_schema.json`. Unsupported field names and out-of-range values are rejected before requests start.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `searchUrl` | string | Optional | `https://www.avito.ru/moskva/avtomobili` | One public HTTPS Avito.ru auto search URL. Used only when `searchUrls` is absent; prefer `searchUrls`. |
| `searchUrls` | string array | Optional | `["https://www.avito.ru/moskva/avtomobili"]` | One to ten public HTTPS Avito.ru auto search or category URLs. Results are combined; each URL is paged up to `maxPages`. |
| `maxItems` | integer | Optional | `5` | Maximum source-backed listing rows emitted after local filters and sorting, from 1 to 50. |
| `maxPages` | integer | Optional | `1` | Maximum public result pages requested per search URL, from 1 to 20. |
| `pageParameter` | string enum | Optional | `p` | Query parameter used for pages after the first: `p` or `page`. |
| `deduplicate` | boolean | Optional | `true` | Drop repeated listing IDs found across search URLs and pages. |
| `sortBy` | string enum | Optional | `input_order` | Local order applied after extraction and filters: `input_order`, `price_asc`, `price_desc`, `seller_rating_desc`, or `title_asc`. |
| `filters` | object | Optional | `{}` | Wrapper for the local filters below. Only public fields already extracted by the Actor are tested. |
| `filters.includeKeywords` | string array | Optional | `[]` | Keep a listing only when its public text contains every listed term; at most 20 terms. |
| `filters.excludeKeywords` | string array | Optional | `[]` | Drop a listing when its public text contains any listed term; at most 20 terms. |
| `filters.minPrice` | number | Optional | Not supplied | Keep listings whose normalized `price` is at or above this value, from 0 to 100,000,000,000. |
| `filters.maxPrice` | number | Optional | Not supplied | Keep listings whose normalized `price` is at or below this value, from 0 to 100,000,000,000. |
| `filters.minSellerRating` | number | Optional | Not supplied | Keep listings whose public `sellerRating` is at or above this value, from 0 to 5. |
| `filters.locationContains` | string | Optional | Not supplied | Keep listings whose public `location` contains this text, up to 200 characters. |
| `includeDetails` | boolean | Optional | `true` | Attempt ordinary public listing pages for description, address, brand, model, attributes, seller, publication, parameters, and canonical URL data. Security checks are recorded, never bypassed. |
| `maxDetailRequests` | integer | Optional | `5` | Maximum public detail pages requested, from 0 to 50. The Console default is 5; when the field is omitted entirely through the API, the effective limit follows `maxItems`. |
| `includeImages` | boolean | Optional | `true` | Retain public image URLs exposed by search cards or detail pages. |
| `maxImages` | integer | Optional | `10` | Maximum image URLs retained per listing, from 0 to 10. |
| `developerOptions` | object | Optional | `{}` | Wrapper for the bounded request controls below. These settings do not bypass Avito access controls. |
| `developerOptions.requestDelayMs` | integer | Optional | `250` | Pause before each live public request, from 0 to 10,000 ms. |
| `developerOptions.maxConcurrency` | integer | Optional | `2` | Maximum concurrent public detail requests, from 1 to 5. |
| `developerOptions.maxRequestRetries` | integer | Optional | `1` | Retries for transient failures only, from 0 to 3. Access boundaries are never retried. |
| `developerOptions.requestTimeoutSecs` | integer | Optional | `30` | Timeout for each live public request, from 5 to 120 seconds. |
| `developerOptions.maxResponseBytes` | integer | Optional | `5000000` | Maximum accepted response or fixture size, from 1,000 to 15,000,000 bytes. |
| `developerOptions.userAgent` | string | Optional | Not supplied | Transparent request user-agent label, up to 300 characters. |
| `requestTimeoutSecs` | integer | Optional | Not supplied | Legacy top-level alias for `developerOptions.requestTimeoutSecs`, 5 to 120. |
| `timeoutMs` | integer | Optional | Not supplied | Legacy millisecond timeout alias, 1,000 to 120,000; converted to seconds. |
| `requestDelayMs` | integer | Optional | Not supplied | Legacy top-level alias for `developerOptions.requestDelayMs`, 0 to 10,000. |
| `maxConcurrency` | integer | Optional | Not supplied | Legacy top-level alias for `developerOptions.maxConcurrency`, 1 to 5. |
| `maxRequestRetries` | integer | Optional | Not supplied | Legacy top-level alias for `developerOptions.maxRequestRetries`, 0 to 3. |
| `maxResponseBytes` | integer | Optional | Not supplied | Legacy top-level response-size alias, 1,000 to 15,000,000 bytes. |
| `maxBytes` | integer | Optional | Not supplied | Older response-size alias, 1,000 to 15,000,000 bytes. |
| `userAgent` | string | Optional | Not supplied | Legacy top-level alias for `developerOptions.userAgent`, up to 300 characters. |
| `proxyConfiguration` | object | Optional | Not supplied | Optional standard Apify Proxy editor object. Start without proxy and use ordinary proxy transport only when direct public access is blocked. |

Example input from the saved Kazan run (`.actor/input.json`). The saved run used a standard Apify Proxy route in Russia; the specific proxy group is omitted here:

```json
{
  "searchUrls": [
    "https://www.avito.ru/kazan/avtomobili"
  ],
  "maxPages": 1,
  "maxItems": 3,
  "includeDetails": true,
  "maxDetailRequests": 2,
  "includeImages": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "RU"
  }
}
```

The Actor requests public Avito.ru HTML only, over HTTPS, for `avito.ru` hosts. Private, loopback, credential-bearing, and non-HTTPS URLs are rejected. At most ten search URLs and 20 pages per URL are requested. Local filters run after extraction and before the `maxItems` cap; `sortBy` is applied to the filtered set. A detail request that is blocked or fails does not remove the search-card listing, but it does increment `blockedCount` or `errorCount` in the run summary.

### Output

The dataset contains one row per unique public auto listing. Optional values are omitted when the source does not publish them; no diagnostic or placeholder rows are written.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `id` | string | Always | Numeric Avito listing identifier taken from the public listing URL. |
| `url` | string | Always | Normalized public HTTPS listing URL derived from the captured card URL. |
| `listingUrl` | string | Always | Listing URL as captured from the public search card, including its query context. |
| `sourceUrl` | string | Always | Search page URL that produced this listing. |
| `searchUrl` | string | When published | Search page URL recorded for the extraction context. |
| `pageNumber` | integer | Always | One-based search-results page on which the listing was found. |
| `position` | integer | When published | One-based position of the card on its source page. |
| `title` | string | Always | Vehicle title shown on the public search card, for example make, model, engine, and year. |
| `price` | number | When published | Numeric listing price normalized from the public card, in the currency reported by `currency`. |
| `currency` | string | When published | Currency code reported by Avito, normally `RUB`. |
| `priceFormatted` | string | When published | Price label shown by Avito. This label can be a from-price and is not guaranteed to equal `price`; the saved row shows `от 695 000 ₽` with a numeric `price` of `845000`. |
| `specificParams` | string | When published | Compact vehicle line from the card, such as engine, power, body, drivetrain, and fuel. |
| `vehicle` | object | When published | Parsed vehicle attributes. See the nested-field note below. |
| `location` | string | When published | City or locality shown on the public listing card. |
| `address` | string | When published | Public detail-page address, when a detail response exposes one. |
| `sellerName` | string | When published | Public seller or dealership name. |
| `sellerType` | string | When published | Public seller account label, such as a company or private seller. |
| `sellerRating` | number | When published | Public seller rating from 0 to 5. |
| `sellerReviewSummary` | string | When published | Public seller review summary, such as the number of reviews. |
| `brand` | string | When published | Vehicle brand from public detail data. |
| `model` | string | When published | Vehicle model from public detail data. |
| `description` | string | When published | Public seller description from the listing detail page. |
| `parameters` | string | When published | Expanded detail-page parameter text. |
| `attributes` | object | When published | Detail-page key/value attributes parsed from definition-list fields; keys vary by listing. |
| `publishedAt` | string | When published | Publication timestamp or source text exposed by the listing page. |
| `imageUrls` | string array | When published | Bounded public image URLs from the card or detail page, capped by `maxImages`. |
| `canonicalUrl` | string | When published | Canonical listing URL from detail structured data, when exposed. |
| `scrapedAt` | string | Always | UTC timestamp when the row was saved. |

`vehicle` contains `year` (integer), `mileageKm` (number), `engineVolumeLiters` (number), `transmission` (string), `fuelType` (string), `bodyType` (string), and `driveType` (string). Any of these can be absent; the saved row below exposes only `fuelType`. `attributes` is an open object whose keys are the source labels, so its shape differs between listings.

All three saved rows include `searchUrl`, `position`, `price`, `currency`, `priceFormatted`, `specificParams`, `vehicle`, `location`, `sellerRating`, `sellerReviewSummary`, and `imageUrls`; no detail-only field was returned in this run. The example is a real row from the 2026-10-25 run. `imageUrls` is shortened to three of its six entries; every other value is complete.

```json
{
  "id": "8317947181",
  "listingUrl": "https://www.avito.ru/yoshkar-ola/avtomobili/vaz_lada_granta_1.6_mt_2026_8317947181?context=H4sIAAAAAAAA_wFwAI__YTo0OntzOjEzOiJhdXRvTG9hbnNNYXNrIjtpOjA7czoxMjoiaGFzR2VvRmlsdGVyIjtiOjE7czoxMzoibG9jYWxQcmlvcml0eSI7YjowO3M6MToieCI7czoxNjoicWhmUk15QVdTUTMzeEh5UCI7fTXa_E9wAAAA",
  "url": "https://www.avito.ru/yoshkar-ola/avtomobili/vaz_lada_granta_1.6_mt_2026_8317947181?context=H4sIAAAAAAAA_wFwAI__YTo0OntzOjEzOiJhdXRvTG9hbnNNYXNrIjtpOjA7czoxMjoiaGFzR2VvRmlsdGVyIjtiOjE7czoxMzoibG9jYWxQcmlvcml0eSI7YjowO3M6MToieCI7czoxNjoicWhmUk15QVdTUTMzeEh5UCI7fTXa_E9wAAAA",
  "title": "ВАЗ (LADA) Granta 1.6 MT, 2026",
  "price": 845000,
  "currency": "RUB",
  "priceFormatted": "от 695 000 ₽",
  "specificParams": "1.6 MT (90 л.с.), седан, передний, бензин",
  "vehicle": {
    "fuelType": "бензин"
  },
  "location": "Йошкар-Ола",
  "sellerRating": 4.5,
  "sellerReviewSummary": "226 отзывов",
  "imageUrls": [
    "https://b00.img.avito.st/image/1/1.JySVpraAi82DBinM1-5XGI0GicknEY_NJ3bqySelim8gBY_XgwYpzCM.bgrzZf-3YZ79wNMok2_jvrhNcLphrVyisZSnmlOPTMA?cqp=2.2LhnDdKx1gU5sZ7QAbwhSdJoeYt5K_KL9JwGcCXpGrDVbBxJ1yJf9Jn7hY3rGWaiHtSha9zz1w==",
    "https://00.img.avito.st/image/1/1.CVIAPbaApbsWnQe6Hh0HQASdp7-yiqG7su3Ev7I-pBm1nqGhFp0HurY.Oli9HJkkDkvkxs9RE3sDzA_aRC0EDIpuVEnuQgT3E1M?cqp=2.2LhnDdKx1gU5sZ7QAbwhSdJoeYt5K_KL9JwGcCXpGrDVbBxJ1yJf9Jn7hY3rGWaiHtSha9zz1w==",
    "https://c70.img.avito.st/image/1/1.X8j5GLaA8yHvuFEgyzkG9uG48SVLr_chS8iSJUsb8oNMu_c777hRIE8.SBYjiv_oGvvvkBJPLkC9v7PojnWtMZ-zfmF3MPNTFv4"
  ],
  "searchUrl": "https://www.avito.ru/kazan/avtomobili",
  "sourceUrl": "https://www.avito.ru/kazan/avtomobili",
  "pageNumber": 1,
  "position": 1,
  "scrapedAt": "2026-10-25T20:53:03.029Z"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`; the same document is also written under `OUTPUT` for backward compatibility. Issue details stay in the run logs.

| Field | Meaning |
| --- | --- |
| `status` | Actor outcome. A clean empty or partial result is still `SUCCEEDED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of source-backed data: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `recordCount` | Listing rows successfully saved. |
| `diagnosticCount` | Operational issues counted for the run. |
| `diagnosticItems` | Diagnostic dataset rows; always 0 because diagnostics are not written to the dataset. |
| `errorCount` | Operational failures counted for the run. |
| `recordsEmitted` | Normal listing rows emitted to the dataset. |
| `requestedUrlCount` | Number of search URLs requested. |
| `requestCount` | Total search-page and detail-page requests attempted. |
| `retries` | Retry attempts performed. |
| `successfulRequests` | Search and detail requests that returned usable responses. |
| `pagesFetched` | Search result pages fetched successfully. |
| `detailPagesFetched` | Listing detail pages fetched successfully. |
| `candidateItems` | Listings found before local filters and the final item cap. |
| `filteredCount` | Candidates removed by the configured filters. |
| `duplicateCount` | Candidates removed as duplicate listing IDs. |
| `blockedCount` | Requests or sources classified as blocked. |
| `sourceBlocked` | Whether at least one public source access boundary was observed. |
| `proxyEnabled` | Whether standard Apify Proxy routing was active. |
| `maxItems` | Listing cap used for the run. |
| `maxPages` | Per-URL page cap used for the run. |
| `sortBy` | Local output sort used for the run. |
| `completedAt` | UTC time the summary was written. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Eligible listings were saved without an extraction problem. |
| `SUCCEEDED` | `PARTIAL` | Listings were saved, but a later request, detail page, or access boundary prevented a complete run. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | The source completed cleanly and returned no matching listings. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable listing was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run. No detail page was fetched and the run recorded two blocked entries, so it reports `PARTIAL` while keeping the three search-card listings:

```json
{
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "PARTIAL",
  "recordCount": 3,
  "diagnosticCount": 2,
  "diagnosticItems": 0,
  "errorCount": 2,
  "recordsEmitted": 3,
  "requestedUrlCount": 1,
  "requestCount": 4,
  "retries": 1,
  "successfulRequests": 1,
  "pagesFetched": 1,
  "detailPagesFetched": 0,
  "candidateItems": 50,
  "filteredCount": 0,
  "duplicateCount": 0,
  "blockedCount": 2,
  "sourceBlocked": true,
  "proxyEnabled": true,
  "maxItems": 3,
  "maxPages": 1,
  "sortBy": "input_order",
  "completedAt": "2026-10-25T20:53:03.211Z"
}
```

### Coverage and limitations

The Actor reads public Avito.ru search cards and, when allowed, public listing pages. It does not log in, solve CAPTCHA or security checks, use private APIs, or bypass geo and access controls. Search cards expose a limited set of fields; detail-only fields such as `description`, `address`, `brand`, `attributes`, `publishedAt`, and `canonicalUrl` appear only when an ordinary public detail page can be read. In the saved run, `detailPagesFetched` is 0, blocked responses were recorded, and `dataStatus` is `PARTIAL`.

Avito can change page markup, pricing labels, and access rules between requests. The numeric `price` and the displayed `priceFormatted` label are separate source values and may differ, especially for from-prices. Images and seller data reflect the public card or detail response at collection time. Blocked, empty, or partial responses are counted in `OUTPUT_SUMMARY` and explained in run logs rather than converted into fabricated rows or empty successes. Filters apply only to fields the Actor already extracted; a filter on a missing field will not retain the row.

### Usage and support

Cost depends on the number of search pages, detail-page attempts, response size, retries, and concurrency. Start with one URL, `maxItems` of 5 or fewer, and `maxDetailRequests` of 0 to confirm search-card extraction before enabling detail enrichment. Enable proxy routing only when direct public access is blocked. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/avito-auto-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with or endorsed by Avito. Use it only for public data and in accordance with Avito's terms, robots guidance, and applicable law. Public listings can contain personal information; use the output only for lawful purposes.

# Actor input Schema

## `searchUrl` (type: `string`):

One public HTTPS Avito.ru auto search URL. Use searchUrls for multiple sources.

## `searchUrls` (type: `array`):

One to ten public HTTPS Avito.ru auto search or category URLs. Results are combined and deduplicated when enabled.

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

Maximum source-backed listing rows emitted after filtering and sorting. Diagnostics are emitted separately.

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

Bounded number of public pagination pages requested for each search URL.

## `pageParameter` (type: `string`):

Avito pagination query parameter used for later pages.

## `deduplicate` (type: `boolean`):

Remove repeated listing IDs across search URLs and pages.

## `sortBy` (type: `string`):

Local sort applied after extraction and filters.

## `filters` (type: `object`):

Optional local filters applied only to public fields exposed by Avito.

## `includeDetails` (type: `boolean`):

Attempt ordinary public listing pages for additional description, attributes, seller, publication, and image fields. Security checks are recorded and never bypassed.

## `maxDetailRequests` (type: `integer`):

Bounded number of listing detail pages to request.

## `includeImages` (type: `boolean`):

Retain bounded Avito image URLs exposed by cards or detail pages.

## `maxImages` (type: `integer`):

Maximum public image URLs retained for each listing.

## `developerOptions` (type: `object`):

Operational controls for bounded public requests. These do not bypass Avito access controls.

## `requestTimeoutSecs` (type: `integer`):

Legacy top-level alias; prefer developerOptions.requestTimeoutSecs.

## `timeoutMs` (type: `integer`):

Legacy top-level alias; prefer developerOptions.requestTimeoutSecs.

## `requestDelayMs` (type: `integer`):

Legacy top-level alias; prefer developerOptions.requestDelayMs.

## `maxConcurrency` (type: `integer`):

Legacy top-level alias; prefer developerOptions.maxConcurrency.

## `maxRequestRetries` (type: `integer`):

Legacy top-level alias; prefer developerOptions.maxRequestRetries.

## `maxResponseBytes` (type: `integer`):

Legacy top-level alias; prefer developerOptions.maxResponseBytes.

## `maxBytes` (type: `integer`):

Legacy top-level alias; prefer developerOptions.maxResponseBytes.

## `userAgent` (type: `string`):

Legacy top-level alias; prefer developerOptions.userAgent.

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

Optional standard Apify Proxy configuration. Start without proxy; use ordinary proxy transport only when direct public access is blocked.

## Actor input object example

```json
{
  "searchUrl": "https://www.avito.ru/moskva/avtomobili",
  "searchUrls": [
    "https://www.avito.ru/moskva/avtomobili"
  ],
  "maxItems": 5,
  "maxPages": 1,
  "pageParameter": "p",
  "deduplicate": true,
  "sortBy": "input_order",
  "filters": {},
  "includeDetails": true,
  "maxDetailRequests": 5,
  "includeImages": true,
  "maxImages": 10,
  "developerOptions": {}
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `sourceMetadata` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("w3crawler/avito-auto-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("w3crawler/avito-auto-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 '{}' |
apify call w3crawler/avito-auto-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,w3crawler/avito-auto-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/8rTYa7iOxWeS4NzlD/builds/sDc3qR95q6x7zGELd/openapi.json
