{
  "openapi": "3.0.1",
  "info": {
    "title": "Drom.ru Scraper - Cars, Prices, Specs & Sellers",
    "description": "Scrape drom.ru vehicle listings: make/model/year/mileage, price, engine and transmission specs, public masked VIN, seller type and the full specifications table. Make+region search with filters or paste links. Resume, incremental updates and MCP export included.",
    "version": "1.0",
    "x-build-id": "BB37jiq4xGi9ycOCE"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~drom-auto-listings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-drom-auto-listings-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/abotapi~drom-auto-listings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-drom-auto-listings-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/abotapi~drom-auto-listings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-drom-auto-listings-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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "urls",
              "statistics"
            ],
            "type": "string",
            "description": "search builds drom searches from your filters (makes, region, price, year). urls scrapes exactly the drom search, listing or Japan-auction statistics links you paste. statistics returns sold Japan-auction lots with actual yen prices for the makes (and optional models) you list.",
            "default": "search"
          },
          "makes": {
            "title": "Makes (search and statistics mode)",
            "type": "array",
            "description": "Make slugs from drom URLs (audi, bmw, toyota, kamaz...). In search mode an empty list searches all makes; statistics mode needs at least one make.",
            "default": [
              "audi"
            ],
            "items": {
              "type": "string"
            }
          },
          "minYear": {
            "title": "Min year",
            "type": "integer",
            "description": "Earliest model year (search and statistics mode)."
          },
          "maxYear": {
            "title": "Max year",
            "type": "integer",
            "description": "Latest model year (search and statistics mode)."
          },
          "region": {
            "title": "Region slug (search mode)",
            "type": "string",
            "description": "Region slug from drom URLs (moscow, vladivostok, krasnoyarsk...). Leave empty for all Russia.",
            "default": ""
          },
          "minPrice": {
            "title": "Min price (RUB, search mode)",
            "type": "integer",
            "description": "Minimum listing price in rubles."
          },
          "maxPrice": {
            "title": "Max price (RUB, search mode)",
            "type": "integer",
            "description": "Maximum listing price in rubles."
          },
          "transmission": {
            "title": "Transmission (search mode)",
            "type": "integer",
            "description": "0 = any, 1 = manual, 2 = all automatic types (including CVT and robotized), 3 = CVT, 4 = robotized.",
            "default": 0
          },
          "drivetrain": {
            "title": "Drivetrain (search mode)",
            "type": "integer",
            "description": "0 = any, 1 = FWD, 2 = RWD, 3 = 4WD.",
            "default": 0
          },
          "models": {
            "title": "Models (statistics mode)",
            "type": "array",
            "description": "Optional model slugs from the drom statistics pages (a4, corolla, land_cruiser). Each model is read for every make; leave empty for all models of the make.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPriceYen": {
            "title": "Min sale price (JPY, statistics mode)",
            "type": "integer",
            "description": "Lowest auction sale price in Japanese yen. Statistics mode only; the RUB price filters apply to search mode."
          },
          "maxPriceYen": {
            "title": "Max sale price (JPY, statistics mode)",
            "type": "integer",
            "description": "Highest auction sale price in Japanese yen. Statistics mode only."
          },
          "statisticsSort": {
            "title": "Sort (statistics mode)",
            "enum": [
              "newest",
              "price_asc",
              "price_desc",
              "year_asc",
              "year_desc"
            ],
            "type": "string",
            "description": "Order of sold lots. Statistics mode only.",
            "default": "newest"
          },
          "listingUrls": {
            "title": "Links (urls mode)",
            "type": "array",
            "description": "Drom search pages, regional search pages, forward pages (/audi/all/page2/), or individual listings (.../<id>.html). Pasted filters and the starting page are preserved. Statistics pages (https://www.drom.ru/world/japan/audi/) and sold lot links are accepted too.",
            "default": [
              {
                "url": "https://auto.drom.ru/audi/"
              },
              {
                "url": "https://auto.drom.ru/moscow/audi/"
              },
              {
                "url": "https://auto.drom.ru/audi/all/page2/"
              },
              {
                "url": "https://auto.drom.ru/moscow/audi/a4/712672086.html"
              }
            ],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings returned per run. This is the only finite default run cap.",
            "default": 20
          },
          "maxPages": {
            "title": "Max pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum pages walked per search. 0 means no page cap, so Max items is the only cap that stops a run early."
          },
          "fetchDetails": {
            "title": "Fetch detail pages",
            "type": "boolean",
            "description": "Read each discovered listing page (or sold-lot page in statistics mode) for full specifications, gallery and public details. Pasted individual listing URLs are always read as their primary source; this option controls extra detail reads from search results.",
            "default": true
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies are recommended for reliability. Russian exits match the listing market. If the selected connection is unavailable, a backup connection is tried.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "RU"
            }
          },
          "resumeFromRunId": {
            "title": "Resume from run ID",
            "type": "string",
            "description": "Run or dataset ID whose collected listings should be skipped (for continuing after an interrupted run).",
            "default": ""
          },
          "incrementalMode": {
            "title": "Incremental mode",
            "type": "boolean",
            "description": "Track state between runs and classify every listing as NEW, UPDATED, UNCHANGED or EXPIRED instead of always NEW. Rows already known and unchanged are suppressed.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Named baseline for incremental runs. Leave empty to derive the key from the run scope.",
            "default": ""
          },
          "emitUnchanged": {
            "title": "Emit unchanged rows",
            "type": "boolean",
            "description": "In incremental mode, also push rows that did not change (changeType UNCHANGED).",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired rows",
            "type": "boolean",
            "description": "In incremental mode, emit EXPIRED tombstone rows for listings that disappeared from the walked scope.",
            "default": false
          },
          "ignoreFieldsForChanges": {
            "title": "Ignore fields when detecting changes (incremental mode only)",
            "type": "array",
            "description": "Extra field names that must never mark a row UPDATED.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "mcpConnectors": {
            "title": "MCP connectors",
            "type": "array",
            "description": "Apify MCP connector IDs that receive pushed records while the run executes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "notionParentPageUrl": {
            "title": "Notion parent page URL",
            "type": "string",
            "description": "Notion parent page for the Notion MCP connector.",
            "default": ""
          },
          "maxNotifyListings": {
            "title": "Max records to connectors",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on records sent to MCP connectors per run.",
            "default": 50
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}