{
  "openapi": "3.0.1",
  "info": {
    "title": "Autoplius.lt Car Ads Extractor",
    "description": "Extracts publicly available used-car listings from Autoplius.lt. Paste a search URL from the site and every matching public ad comes back as structured data — price, year, mileage, VIN, photos and the full parameter table. Only data any visitor can see on the site is returned.",
    "version": "0.1",
    "x-build-id": "molx8EUc5BoI1rgHJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steeriq~autoplius-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steeriq-autoplius-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/steeriq~autoplius-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steeriq-autoplius-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/steeriq~autoplius-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steeriq-autoplius-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "The recommended input. Build the search on autoplius.lt using the site's own filters — including the many this actor does not expose — and paste the resulting URL here. Several URLs are fine; their results are merged and de-duplicated. Whenever this field is non-empty the filter fields below are ignored completely.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "makes": {
            "title": "Makes and models",
            "type": "array",
            "description": "One row per make, optionally narrowed to models. The make list is exhaustive: Autoplius addresses makes by numeric id, so a name the actor cannot resolve fails the run outright. Model ids are site-internal and per-make — build the search on autoplius.lt and copy the `make_id[..]=` values out of the URL. They cannot be a dropdown: Apify input forms cannot drive one dropdown off another.",
            "items": {
              "type": "object",
              "properties": {
                "make": {
                  "title": "Make",
                  "description": "Make name as Autoplius spells it.",
                  "type": "string",
                  "editor": "select",
                  "enum": [
                    "-Kita-",
                    "A1 PRO",
                    "Abarth",
                    "AC",
                    "Acura",
                    "Aito",
                    "Aiways",
                    "Aixam",
                    "Alfa Romeo",
                    "Alke",
                    "Alpheon",
                    "Alpina",
                    "Alpine",
                    "AMC",
                    "Ariel",
                    "ARO",
                    "Asia",
                    "Aston Martin",
                    "Audi",
                    "Austin Rover",
                    "Austin-Healey",
                    "Auto EVO",
                    "Autobianchi",
                    "Baic",
                    "Barkas",
                    "BAW",
                    "BELLIER",
                    "Bentley",
                    "BMW",
                    "Bolloré",
                    "Bontu",
                    "Briliance",
                    "Bugatti",
                    "Buick",
                    "BYD",
                    "Cadillac",
                    "Casalini",
                    "Caterham",
                    "Cenntro",
                    "Chatenet",
                    "Chery",
                    "Chevrolet",
                    "Chrysler",
                    "Citroen",
                    "Cobra",
                    "Cupra",
                    "Dacia",
                    "Daewoo",
                    "DAF",
                    "Daihatsu",
                    "Datsun",
                    "Deepal",
                    "Delorean",
                    "Desoto",
                    "DFSK",
                    "Dodge",
                    "Dongfeng",
                    "Dorcen",
                    "DR",
                    "DS Automobiles",
                    "e.GO",
                    "Eagle",
                    "Excalibur",
                    "FAW",
                    "Ferrari",
                    "Fiat",
                    "Fisker",
                    "Ford",
                    "Forthing",
                    "Foton",
                    "GAZ",
                    "GEELY",
                    "Genesis",
                    "Geo",
                    "GMC",
                    "Gonow",
                    "GWM",
                    "Honda",
                    "Hongqi",
                    "Hudson",
                    "Hummer",
                    "Hyundai",
                    "IFA",
                    "Ineos",
                    "Infiniti",
                    "International",
                    "Isuzu",
                    "Iveco",
                    "JAC",
                    "Jaecoo",
                    "Jaguar",
                    "JDM",
                    "Jeep",
                    "JIA JI",
                    "Jonway",
                    "KGM",
                    "Kia",
                    "Koenigsegg",
                    "KTM",
                    "Lada",
                    "Lamborghini",
                    "Lancia",
                    "Land Rover",
                    "Landwind",
                    "LDV",
                    "Leapmotor",
                    "Lexus",
                    "Ligier",
                    "Lincoln",
                    "LIXIANG",
                    "Lotus",
                    "LuAZ",
                    "Lucid",
                    "Lynk & Co",
                    "Mahindra",
                    "MAN",
                    "Marcos Mantis",
                    "Maserati",
                    "Maxus",
                    "Maybach",
                    "Mazda",
                    "Mclaren",
                    "Mercedes-Benz",
                    "Mercury",
                    "MG",
                    "Microcar",
                    "Mini",
                    "Mitsubishi",
                    "Morgan",
                    "Moskvich",
                    "MPM",
                    "NIO",
                    "Nissan",
                    "Norster",
                    "Nysa",
                    "Oldsmobile",
                    "Omoda",
                    "Opel",
                    "Ozeta",
                    "Packard",
                    "Panther",
                    "Paxster",
                    "Peugeot",
                    "Piaggio",
                    "Plymouth",
                    "Polestar",
                    "Pontiac",
                    "Porsche",
                    "Proton",
                    "RAM",
                    "Renault",
                    "RIDE-E",
                    "Rivian",
                    "Rolls-Royce",
                    "Roosevelt",
                    "Rover",
                    "ROX",
                    "RUNHORSE",
                    "Saab",
                    "SAIC",
                    "Samsung",
                    "Santana",
                    "Saturn",
                    "Scion",
                    "Seat",
                    "Secma",
                    "Seres",
                    "Shuanghuan",
                    "Silence",
                    "Simca",
                    "Skoda",
                    "Skut",
                    "Skywell",
                    "Smart",
                    "Spartan",
                    "Sportequipe",
                    "Spyker",
                    "SsangYong",
                    "Studebaker",
                    "Subaru",
                    "Suzuki",
                    "Talbot",
                    "Tartan",
                    "Tata",
                    "Tatra",
                    "Tazzari",
                    "Tesla",
                    "Think",
                    "Tiudo",
                    "Toyota",
                    "Trabant",
                    "Triumph",
                    "UAZ",
                    "Vauxhall",
                    "Venturi",
                    "Volkswagen",
                    "Volvo",
                    "Voyah",
                    "Wanderer",
                    "Wartburg",
                    "XEV",
                    "Xiaomi",
                    "Xpeng",
                    "ZAZ",
                    "Zeekr",
                    "Zhidou",
                    "Zimmer"
                  ]
                },
                "modelIds": {
                  "title": "Model ids",
                  "description": "Site-internal model ids from the `make_id[..]=` part of an autoplius.lt search URL. Leave empty for every model of the make.",
                  "type": "array",
                  "editor": "stringList"
                }
              },
              "required": [
                "make"
              ]
            }
          },
          "yearFrom": {
            "title": "Year from",
            "minimum": 1900,
            "type": "integer",
            "description": "Earliest first-registration year."
          },
          "yearTo": {
            "title": "Year to",
            "minimum": 1900,
            "type": "integer",
            "description": "Latest first-registration year."
          },
          "priceFrom": {
            "title": "Price from (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum asking price in EUR."
          },
          "priceTo": {
            "title": "Price to (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum asking price in EUR."
          },
          "mileageFrom": {
            "title": "Mileage from (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum odometer reading in kilometres."
          },
          "mileageTo": {
            "title": "Mileage to (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum odometer reading in kilometres."
          },
          "powerFrom": {
            "title": "Power from (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Minimum engine power in kilowatts."
          },
          "powerTo": {
            "title": "Power to (kW)",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum engine power in kilowatts."
          },
          "fuelType": {
            "title": "Fuel type",
            "type": "array",
            "description": "Any combination; leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "petrol-lpg-electric",
                "petrol-lpg",
                "electric",
                "hybrid",
                "plugin-hybrid"
              ],
              "enumTitles": [
                "Petrol (Benzinas)",
                "Diesel (Dyzelinas)",
                "Petrol / LPG / electric",
                "Petrol / LPG (Benzinas / dujos)",
                "Electric (Elektra)",
                "Hybrid petrol/electric (Benzinas / elektra)",
                "Plug-in / diesel hybrid (Dyzelinas / elektra)"
              ]
            }
          },
          "bodyType": {
            "title": "Body type",
            "type": "array",
            "description": "Any combination; leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "sedan",
                "hatchback",
                "wagon",
                "suv",
                "coupe",
                "convertible",
                "minivan",
                "pickup",
                "van"
              ],
              "enumTitles": [
                "Sedan (Sedanas)",
                "Hatchback (Hečbekas)",
                "Wagon (Universalas)",
                "SUV / crossover (Visureigis)",
                "Coupe (Kupė)",
                "Convertible (Kabrioletas)",
                "Minivan (Vienatūris)",
                "Pickup (Pikapas)",
                "Van (Krovininis mikroautobusas)"
              ]
            }
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "manual",
              "automatic"
            ],
            "type": "string",
            "description": "Autoplius allows only one gearbox value per search."
          },
          "scrapeDetails": {
            "title": "Include full ad details",
            "type": "boolean",
            "description": "Visit each ad for the full parameter set (VIN, CO₂, euro standard, inspection date, description, all photos). Uncheck for a much faster, shallower pass over the results pages only.",
            "default": true
          },
          "transport": {
            "title": "Transport",
            "enum": [
              "auto",
              "http",
              "browser"
            ],
            "type": "string",
            "description": "How pages are fetched. 'auto' (recommended) uses cheap HTTP and falls back to a browser only for requests Cloudflare blocks — same cost as HTTP when nothing is blocked. 'http' is cheapest but fails outright when challenged. 'browser' always renders in Chromium: reliable, but roughly 15x the cost and 7x the latency per request.",
            "default": "auto"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many ads. Note: a single Autoplius search returns at most ~5,500 ads (275 pages) regardless — narrow the filters to reach more of the catalogue.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Kept low by default: the site is behind Cloudflare and aggressive concurrency triggers challenges.",
            "default": 5
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "type": "integer",
            "description": "How many times a blocked request is retried before it is handed to the browser fallback. Retries cost wall-clock, and wall-clock is compute cost, so this stays low in 'auto' mode.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxy pinned to Lithuania is strongly recommended. Autoplius is behind Cloudflare and 403s many foreign/datacenter exit IPs; an unpinned run was blocked on every attempt while an LT-pinned run got through.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "LT"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}