{
  "openapi": "3.0.1",
  "info": {
    "title": "Drom.ru Cars Scraper: Парсер Дром Авто",
    "description": "Scrape used-car listings from Drom.ru by city and make/model - price, year, mileage, engine, transmission, drivetrain, fuel type, body type, seller type (dealer vs private), photos, and description.",
    "version": "0.1",
    "x-build-id": "20zNp7lmESudO3U44"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~drom-ru-cars-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-drom-ru-cars-scraper",
        "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/getascraper~drom-ru-cars-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-drom-ru-cars-scraper",
        "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/getascraper~drom-ru-cars-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-drom-ru-cars-scraper",
        "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",
        "required": [
          "citySlug"
        ],
        "properties": {
          "citySlug": {
            "title": "City / region slug",
            "type": "string",
            "description": "Drom.ru city URL slug to search within, e.g. 'moscow', 'novosibirsk', 'spb', 'ekaterinburg'. Must match the exact slug drom.ru itself uses in its URLs, not a free-text city name. Required unless Start URLs (Advanced) is set."
          },
          "makeSlug": {
            "title": "Make (brand) slug",
            "type": "string",
            "description": "Drom.ru make URL slug, e.g. 'toyota', 'bmw', 'mercedes-benz', 'lada'. Leave empty to scrape all makes for the city. Must match the exact slug drom.ru uses (some brands use special slugs, e.g. 'land_rover', 'cheryexeed' for Exeed) - see AGENTS.md for verified examples.",
            "default": ""
          },
          "modelSlug": {
            "title": "Model slug",
            "type": "string",
            "description": "Drom.ru model URL slug, e.g. 'camry'. Only applied when Make is also set; ignored otherwise.",
            "default": ""
          },
          "minPrice": {
            "title": "Minimum Price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Lower bound on listing price in Russian rubles. Verified working query filter."
          },
          "maxPrice": {
            "title": "Maximum Price (RUB)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper bound on listing price in Russian rubles. Verified working query filter."
          },
          "minYear": {
            "title": "Minimum Year",
            "minimum": 1940,
            "maximum": 2026,
            "type": "integer",
            "description": "Lower bound on manufacture year. Verified working query filter (note: 'yearFrom'/'yearTo' were tested and confirmed non-functional on drom.ru - this Actor uses the correct 'minyear'/'maxyear' params)."
          },
          "maxYear": {
            "title": "Maximum Year",
            "minimum": 1940,
            "maximum": 2026,
            "type": "integer",
            "description": "Upper bound on manufacture year. Verified working query filter."
          },
          "startUrls": {
            "title": "Start URLs (advanced)",
            "type": "array",
            "description": "Optional: paste your own auto.drom.ru search-result URLs instead of using the fields above (e.g. to use verified-but-not-exposed filters like transmission, engine volume, or drivetrain - see AGENTS.md for the full list). When set, this overrides City/Make/Model/Price/Year filters entirely.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "scrapeDetails": {
            "title": "Scrape Detail Pages",
            "type": "boolean",
            "description": "Visit each listing's detail page to add full description, generation, trim/complectation, partial VIN, owner count, steering-wheel side, accident/documents flags, and dealer-card detail. Roughly doubles requests and run time.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of listings to return.",
            "default": 100
          },
          "maxPages": {
            "title": "Maximum search pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of search-result pages to paginate through (~20 listings/page). Hard-capped at 10: drom.ru's robots.txt only Allow's crawling through page10 (a blanket Disallow covers pagination beyond that) - see AGENTS.md.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Recon this session found no anti-bot layer on drom.ru at all (plain unproxied requests, including 12 rapid back-to-back, all returned real 200 responses). Datacenter proxy ships as the default for IP diversity at scale; it is not a confirmed technical requirement the way residential is for avito-auto-scraper or cian-real-estate-scraper.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}