{
  "openapi": "3.0.1",
  "info": {
    "title": "Nettiauto Scraper: Finland Used Cars and Prices",
    "description": "Nettiauto.com used cars, vans and sold cars in Finland by Nettiauto's own filters, split past its 1,500 car reach, no login. Rows: make, model, vuosimalli, mittarilukema, asking price apart from the toimistomaksu, dealer or private. Add-ons: ad page, phone, deal score. Pay per car; JSON, CSV, API.",
    "version": "0.1",
    "x-build-id": "aGF5eeo5ePVMa8TBb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~nettiauto-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-nettiauto-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/automation_craft~nettiauto-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-nettiauto-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/automation_craft~nettiauto-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-nettiauto-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": {
          "models": {
            "title": "Makes and models",
            "type": "array",
            "description": "Car models written \"<make> <model>\" with Nettiauto's own names (\"Volkswagen Golf\", \"Toyota Corolla\", \"Tesla Model 3\", \"Skoda Octavia\"), or a make alone (\"BMW\") for all its models, or a model series as Nettiauto names it (\"BMW 3 - Sarja\") for each model in it. Several entries are one search (any of them). A name not on Nettiauto's own list of that make is refused, free.",
            "items": {
              "type": "string"
            }
          },
          "makes": {
            "title": "Makes",
            "type": "array",
            "description": "Whole makes by Nettiauto's name (any of them), the same as a make alone in \"Makes and models\".",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Acadian",
                "Acura",
                "Adler",
                "Aion",
                "Aixam",
                "Aleko",
                "Alfa Romeo",
                "Alpine",
                "Alvis",
                "AMC",
                "American-Karmann",
                "Ariel",
                "Armstrong Siddeley",
                "Asia",
                "Aston Martin",
                "Auburn",
                "Audi",
                "Austin",
                "Auto-Union",
                "Autobianchi",
                "Autozam",
                "Avia",
                "Baci",
                "Bedford",
                "Bentley",
                "Bertone",
                "Bitter",
                "Blmc",
                "BMW",
                "BMW Alpina",
                "Borgward",
                "Bricklin",
                "Bugatti",
                "Buick",
                "BYD",
                "Cadillac",
                "Carado",
                "Carlsson",
                "Caterham",
                "Chandler",
                "Chatenet",
                "Checker",
                "Chevrolet",
                "Chevrolet-EMC",
                "Chrysler",
                "Chrysler-Simca",
                "Chrysler-Sunbeam",
                "Cimbria",
                "Citroen",
                "CityFort",
                "Cobra",
                "Colt",
                "Commer",
                "Crosley",
                "Cupra",
                "Custom",
                "Dacia",
                "Daewoo",
                "Daf",
                "Daihatsu",
                "Daimler",
                "Datsun",
                "Datsun-Nissan",
                "De Lorean",
                "De Tomaso",
                "DeSoto",
                "DFSK",
                "Diamante",
                "DKW",
                "Dodge",
                "Donau",
                "Dongfeng",
                "DS",
                "Duna",
                "Durant",
                "Eagle",
                "Ebro",
                "Edsel",
                "Elaris",
                "Elcat"
              ]
            }
          },
          "excludeModels": {
            "title": "Leave out makes and models",
            "type": "array",
            "description": "Makes or models to leave out (\"BMW\", \"Volkswagen Golf\"), Nettiauto's own exclusion. Not with \"Makes and models\" or \"Makes\".",
            "items": {
              "type": "string"
            }
          },
          "vehicleKinds": {
            "title": "Vehicle kinds",
            "type": "array",
            "description": "Cars (default), vans, light trucks or minibuses (Nettiauto's own kinds; caravans, motorcycles and boats live on Alma's other sites).",
            "items": {
              "type": "string",
              "enum": [
                "car",
                "van",
                "lightTruck",
                "minibus"
              ],
              "enumTitles": [
                "Cars (henkilöauto)",
                "Vans (pakettiauto)",
                "Light trucks (kevyt kuorma-auto)",
                "Minibuses (minibussi)"
              ]
            }
          },
          "status": {
            "title": "For sale or sold",
            "enum": [
              "forSale",
              "sold"
            ],
            "type": "string",
            "description": "\"sold\" reads Nettiauto's sold car ads (\"Myyty\"): each with its last asking price (Nettiauto shows no sale price) and its facts."
          },
          "keywords": {
            "title": "Keywords (matched by this Actor)",
            "type": "array",
            "description": "Words a car's title, variant line, make or model must contain (any of them; whole words, case insensitive), for example \"quattro\", \"gti\", \"webasto\". Matched by this Actor on the rows of the search the settings build (not on pasted links, which are read as they are); Nettiauto's own keyword search is not used (its robots.txt disallows it). Cars without the words are free.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Leave out words",
            "type": "array",
            "description": "Cars of the search the settings build whose title, variant line, make or model contains any of these words are left out, free (the same whole word rule as \"Keywords\").",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "The lowest asking price in euros (Nettiauto's price filter reads the asking price, without the dealer's office fee)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 1,
            "maximum": 100000000,
            "type": "integer",
            "description": "The highest asking price in euros."
          },
          "minYear": {
            "title": "Model year from",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "The oldest model year."
          },
          "maxYear": {
            "title": "Model year to",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "The newest model year."
          },
          "minMileage": {
            "title": "Mileage from",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The lowest odometer reading in kilometres."
          },
          "maxMileage": {
            "title": "Mileage to",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "The highest odometer reading in kilometres (undriven cars carry no reading and are left out by it)."
          },
          "sellerType": {
            "title": "Seller",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Dealers or private sellers only (Nettiauto's own filter)."
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Nettiauto's regions by name (any of them).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Ahvenanmaa",
                "Etelä-Karjala",
                "Etelä-Pohjanmaa",
                "Etelä-Savo",
                "Kainuu",
                "Kanta-Häme",
                "Keski-Pohjanmaa",
                "Keski-Suomi",
                "Kymenlaakso",
                "Lappi",
                "Pirkanmaa",
                "Pohjanmaa",
                "Pohjois-Karjala",
                "Pohjois-Pohjanmaa",
                "Pohjois-Savo",
                "Päijät-Häme",
                "Satakunta",
                "Suomen ulkopuolella",
                "Uusimaa",
                "Varsinais-Suomi"
              ]
            }
          },
          "towns": {
            "title": "Towns",
            "type": "array",
            "description": "Towns by Nettiauto's name (\"Helsinki\", \"Tampere\", \"Oulu\"; write \"<town>, <region>\" where two regions have a town of that name).",
            "items": {
              "type": "string"
            }
          },
          "dealerChains": {
            "title": "Dealer chains",
            "type": "array",
            "description": "Nettiauto's dealer chains (any of them).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Auto Bassadone",
                "Auto-Huiput Oy",
                "Auto-Kehä Oy",
                "Autokeskus Oy",
                "Autoliike Kymppi Plus Oy",
                "Autolle.com",
                "Ayvens",
                "Bilar99e Oy",
                "Bilia Oy Ab",
                "J. Rinta-Jouppi Oy",
                "Juhan Auto Oy",
                "K Auto Retail Oy",
                "Kamux Suomi Oy",
                "KIESI",
                "Käyttöauto Oy",
                "Levorannan Autoliike Oy",
                "Länsiauto Oy",
                "Motored Finland Oy",
                "Nelipyörä Oy",
                "Oy Autoliike Nystedt Bilaffär Ab",
                "Oy Sports Car Center Ab",
                "Parrotz Suomi Oy",
                "Porsche Center",
                "PP-auto Oy",
                "Rinta-Joupin Autoliike Oy",
                "SAKA Finland Oy",
                "Skoda Brand Store",
                "Vaihtoautomaa",
                "Vaihtokaara",
                "Vaihtoplus",
                "Veho Hyötyajoneuvot",
                "Veho Oy Ab"
              ]
            }
          },
          "newOnly": {
            "title": "New ads only",
            "type": "boolean",
            "description": "Only ads Nettiauto marks as new (its \"UUSI\" flag, about the last day)."
          },
          "updatedOnly": {
            "title": "Updated ads only",
            "type": "boolean",
            "description": "Only ads Nettiauto marks as updated (its \"PÄIVITETTY\" flag)."
          },
          "changedWithinDays": {
            "title": "Changed within (days)",
            "minimum": 1,
            "maximum": 28,
            "type": "integer",
            "description": "Only ads added or changed within this many days: 1, 3, 7, 14 or 28 (Nettiauto's own filter offers these)."
          },
          "verifiedOnly": {
            "title": "Verified sellers only",
            "type": "boolean",
            "description": "Only ads with Nettiauto's verified mark."
          },
          "fuels": {
            "title": "Fuel",
            "type": "array",
            "description": "Fuels (any of them), Nettiauto's own fuel filter.",
            "items": {
              "type": "string",
              "enum": [
                "petrol",
                "diesel",
                "e85Petrol",
                "hybrid",
                "hybridPetrolElectric",
                "hybridDieselElectric",
                "hybridGasElectric",
                "gas",
                "electric",
                "hydrogen"
              ],
              "enumTitles": [
                "Petrol (bensiini)",
                "Diesel",
                "E85 and petrol",
                "Hybrid (hybridi)",
                "Hybrid petrol and electric",
                "Hybrid diesel and electric",
                "Hybrid gas and electric",
                "Gas (kaasu)",
                "Electric (sähkö)",
                "Hydrogen (vety)"
              ]
            }
          },
          "gearbox": {
            "title": "Gearbox",
            "enum": [
              "automatic",
              "manual"
            ],
            "type": "string",
            "description": "Automatic or manual."
          },
          "driveTypes": {
            "title": "Drive",
            "type": "array",
            "description": "Front, rear or four wheel drive (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "frontWheel",
                "rearWheel",
                "fourWheel",
                "other"
              ],
              "enumTitles": [
                "Front wheel drive",
                "Rear wheel drive",
                "Four wheel drive",
                "Other"
              ]
            }
          },
          "bodyTypes": {
            "title": "Body",
            "type": "array",
            "description": "Body types (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "convertible",
                "coupe",
                "estate",
                "racingVehicle",
                "suv",
                "sedan",
                "mpv",
                "hatchback",
                "other",
                "pickup",
                "separateBody",
                "extendedCab",
                "shortLow",
                "shortMedium",
                "shortHigh",
                "mediumLow",
                "mediumMedium",
                "mediumHigh",
                "longLow",
                "longMedium",
                "longHigh",
                "normal",
                "long",
                "extraLong"
              ],
              "enumTitles": [
                "Convertible",
                "Coupe",
                "Estate",
                "Racing vehicle",
                "SUV",
                "Sedan",
                "MPV",
                "Hatchback",
                "Other",
                "Pickup or dropside (van)",
                "Separate body (van)",
                "Extended cab (van)",
                "Short, low (van)",
                "Short, medium roof (van)",
                "Short, high roof (van)",
                "Medium length, low (van)",
                "Medium length, medium roof (van)",
                "Medium length, high roof (van)",
                "Long, low (van)",
                "Long, medium roof (van)",
                "Long, high roof (van)",
                "Normal length (truck, minibus)",
                "Long (truck, minibus)",
                "Extra long (truck, minibus)"
              ]
            }
          },
          "colours": {
            "title": "Colour",
            "type": "array",
            "description": "Colours (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "beige",
                "grey",
                "silver",
                "yellow",
                "copper",
                "black",
                "orange",
                "red",
                "brown",
                "blue",
                "turquoise",
                "white",
                "green",
                "purple",
                "other"
              ],
              "enumTitles": [
                "Beige",
                "Grey",
                "Silver",
                "Yellow",
                "Copper",
                "Black",
                "Orange",
                "Red",
                "Brown",
                "Blue",
                "Turquoise",
                "White",
                "Green",
                "Purple",
                "Other"
              ]
            }
          },
          "colourTypes": {
            "title": "Paint",
            "type": "array",
            "description": "Paint types (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "metallic",
                "normal",
                "matte",
                "other"
              ],
              "enumTitles": [
                "Metallic",
                "Normal",
                "Matte",
                "Other"
              ]
            }
          },
          "minPower": {
            "title": "Power from",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "The lowest engine power, in the unit of \"Power unit\"."
          },
          "maxPower": {
            "title": "Power to",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "The highest engine power."
          },
          "powerUnit": {
            "title": "Power unit",
            "enum": [
              "kw",
              "hp"
            ],
            "type": "string",
            "description": "The unit of \"Power from\" and \"Power to\"."
          },
          "minEngineSize": {
            "title": "Engine size from (litres)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "The smallest engine in litres, one decimal (\"1.6\")."
          },
          "maxEngineSize": {
            "title": "Engine size to (litres)",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "The largest engine in litres, one decimal."
          },
          "minDoors": {
            "title": "Doors from",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "The fewest doors."
          },
          "maxDoors": {
            "title": "Doors to",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "The most doors."
          },
          "minSeats": {
            "title": "Seats from",
            "minimum": 1,
            "maximum": 99,
            "type": "integer",
            "description": "The fewest seats."
          },
          "maxSeats": {
            "title": "Seats to",
            "minimum": 1,
            "maximum": 99,
            "type": "integer",
            "description": "The most seats."
          },
          "inspectedSince": {
            "title": "Inspected in or after (YYYY-MM)",
            "type": "string",
            "description": "Only cars whose last periodic inspection (\"katsastus\") was in or after this month, YYYY-MM (Nettiauto's own filter; it offers the years 2023 to 2027)."
          },
          "firstRegisteredSince": {
            "title": "First registered in or after (YYYY-MM)",
            "type": "string",
            "description": "Only cars first registered in or after this month, YYYY-MM (Nettiauto's own filter)."
          },
          "equipment": {
            "title": "Equipment",
            "type": "array",
            "description": "Equipment every car must have, by Nettiauto's Finnish name (\"Vetokoukku\" towbar, \"Avaimeton käynnistys\" keyless start, \"Polttoaine- / akkukäyttöinen lisälämmitin\" fuel heater), any of the form's 87 items. Each item listed must be on the car. A heading such as \"Peruutuskamera\" (reversing camera) means any of its options (\"Peruutuskamera: Kamera takana\" or \"Peruutuskamera: 360-asteen kamera\"); name an option to require that one.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Ajotietokone",
                "Avaimeton käynnistys",
                "Ilmastoidut istuimet",
                "Ilmastointi",
                "Ilmastointi: Manuaalinen",
                "Ilmastointi: Automaattinen",
                "Kaadettavat takaistuimet",
                "Kaistavahti",
                "Katon avausmekanismi",
                "Katon avausmekanismi: Sähköinen",
                "Katon avausmekanismi: Manuaalinen",
                "Keskuslukitus",
                "Keskuslukitus: Kaukosäätöinen",
                "Keskuslukitus: Avaimeton",
                "Keskuslukitus: Avaimella",
                "Lohkolämmitin / moottorilämmitin",
                "Lämmitettävä ohjauspyörä",
                "Lämmitettävä tuulilasi",
                "Nahkaverhoilu",
                "Navigointijärjestelmä",
                "Nopeusrajoitus -tunnistin",
                "Ohjaustehostin",
                "Penkinlämmittimet",
                "Peruutuskamera",
                "Peruutuskamera: Kamera takana",
                "Peruutuskamera: 360-asteen kamera",
                "Polttoaine- / akkukäyttöinen lisälämmitin",
                "Pysäköintitutka",
                "Rengaspainevalvonta -järjestelmä",
                "Sisätilanpistoke",
                "Start-stop-järjestelmä",
                "Suksiluukku",
                "Sähkökäyttöiset ikkunat",
                "Sähköpeilit",
                "Sähkösäätöiset istuimet",
                "Sähkösäätöiset istuimet: Muistilla",
                "Sähkösäätöiset istuimet: Ilman muistia",
                "Sähkötoiminen takaluukku",
                "Tavaratilan turvaverkko",
                "Urheiluistuimet",
                "Vakionopeudensäädin",
                "Vakionopeudensäädin: Mukautuva",
                "Vakionopeudensäädin: Perinteinen",
                "Audio-liitäntä",
                "Bluetooth",
                "Head-Up-näyttö",
                "Matkapuhelinvarustus",
                "USB",
                "Älypuhelimen integrointi",
                "Äänentoistojärjestelmä",
                "Adaptiiviset ajovalot",
                "Ajonvakautusjärjestelmä",
                "Hätäjarrutusavustin",
                "Isofix-valmius",
                "Kaarrevalot",
                "Katveavustin",
                "Käynnistyksenesto",
                "LED-ajovalot",
                "Luistonestojärjestelmä",
                "Lukkiutumattomat jarrut (ABS)",
                "Mäkilähtöavustin",
                "Pysäköintiavustin",
                "Sumuvalot",
                "Turvatyynyt",
                "Törmäysvaroitin",
                "Varashälytin",
                "Xenon-ajovalot",
                "Akuston esilämmitys",
                "Alustasarja",
                "Huoltokirja",
                "Huoltokirja: Paperinen",
                "Huoltokirja: Sähköinen",
                "Hybridiauton plug-in latauspistoke",
                "Ilmajouset",
                "Invalidivarustus",
                "Kahdet renkaat",
                "Kattoluukku",
                "Kattoluukku: Ilman panoraamaa",
                "Kattoluukku: Panoraama",
                "Kevytmetallivanteet",
                "Lasikatto",
                "Monitoimiohjauspyörä",
                "Sadetunnistin",
                "Tavaratilan lämmönsäätölaite",
                "Turbo",
                "Urheilullinen alusta",
                "Vetokoukku"
              ]
            }
          },
          "minTorque": {
            "title": "Torque from (Nm)",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "The lowest torque in Nm."
          },
          "maxTorque": {
            "title": "Torque to (Nm)",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "The highest torque in Nm."
          },
          "maxAcceleration": {
            "title": "Acceleration 0 to 100 km/h at most (s)",
            "minimum": 1,
            "maximum": 60,
            "type": "number",
            "description": "The slowest acceleration in seconds, one decimal."
          },
          "minTopSpeed": {
            "title": "Top speed from (km/h)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The lowest top speed."
          },
          "maxCurbWeight": {
            "title": "Kerb weight at most (kg)",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The heaviest kerb weight."
          },
          "minTowWeight": {
            "title": "Braked towing weight from (kg)",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "The lowest braked trailer weight."
          },
          "maxCo2": {
            "title": "CO2 at most (g/km)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The highest CO2 emission (1 or more: Nettiauto reads 0 as no limit; for cars with no tailpipe CO2 choose the electric fuel)."
          },
          "maxConsumption": {
            "title": "Fuel consumption at most (l/100 km)",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "The highest combined consumption."
          },
          "vatDeductibleOnly": {
            "title": "VAT deductible only",
            "type": "boolean",
            "description": "Only cars sold VAT deductible (\"Alv-vähennyskelpoinen\")."
          },
          "taxFreeOnly": {
            "title": "Tax free only",
            "type": "boolean",
            "description": "Only tax free cars."
          },
          "undrivenOnly": {
            "title": "Undriven only",
            "type": "boolean",
            "description": "Only undriven cars (\"Ajamaton\")."
          },
          "roadworthy": {
            "title": "Roadworthy",
            "enum": [
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Nettiauto's roadworthiness filter."
          },
          "steeringSide": {
            "title": "Steering side",
            "enum": [
              "left",
              "right"
            ],
            "type": "string",
            "description": "The steering wheel's side."
          },
          "pricedOnly": {
            "title": "Priced ads only",
            "type": "boolean",
            "description": "Only ads with a normal price (Nettiauto's \"Normaali\" price filter)."
          },
          "minBatteryKwh": {
            "title": "Battery from (kWh)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The smallest battery of an electric or plug in car."
          },
          "maxBatteryKwh": {
            "title": "Battery to (kWh)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The largest battery."
          },
          "minElectricRange": {
            "title": "Electric range from (km)",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "The shortest electric range."
          },
          "maxElectricRange": {
            "title": "Electric range to (km)",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "The longest electric range."
          },
          "chargingConnectors": {
            "title": "Charging connector",
            "type": "array",
            "description": "Connectors (any of them).",
            "items": {
              "type": "string",
              "enum": [
                "ccs",
                "chademo",
                "schuko",
                "type1",
                "type2"
              ],
              "enumTitles": [
                "CCS",
                "CHAdeMO",
                "Schuko",
                "Type 1",
                "Type 2"
              ]
            }
          },
          "minChargingPower": {
            "title": "Fast charging from (kW)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The lowest DC fast charging power."
          },
          "maxChargingPower": {
            "title": "Fast charging to (kW)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The highest DC fast charging power."
          },
          "minBatteryWarrantyMonths": {
            "title": "Battery warranty from (months)",
            "minimum": 1,
            "maximum": 240,
            "type": "integer",
            "description": "The shortest battery warranty."
          },
          "sort": {
            "title": "Order",
            "enum": [
              "newest",
              "oldest",
              "priceAsc",
              "priceDesc",
              "yearDesc",
              "yearAsc",
              "mileageAsc",
              "mileageDesc",
              "makeModelAsc",
              "makeModelDesc"
            ],
            "type": "string",
            "description": "The order of the built search (newest first when left out). A pasted link keeps its own order unless you set one here. Past 1,500 cars a search is read in price bands, cheapest first."
          },
          "startUrls": {
            "title": "Nettiauto search links",
            "type": "array",
            "description": "Search links copied from nettiauto.com: a model page (https://www.nettiauto.com/volkswagen/golf), a results link (https://www.nettiauto.com/hakutulokset?haku=P...), /vaihtoautot with a region or town, or a quick link (/pikalinkit/sahkoautot). Each link is read as Nettiauto shows it, up to its 1,500 cars.",
            "items": {
              "type": "string"
            }
          },
          "adUrls": {
            "title": "Ad links or ad ids",
            "type": "array",
            "description": "Car ad links (https://www.nettiauto.com/bmw/i4/16067829) or the ad id alone (\"16067829\"). Each ad is read from its own page (its row carries the ad page); a sold ad comes with its status and last asking price; a gone ad is a free row.",
            "items": {
              "type": "string"
            }
          },
          "dealerUrls": {
            "title": "Dealers (all their cars)",
            "type": "array",
            "description": "Dealer page links (https://www.nettiauto.com/yritys/186586) or dealer ids: every car of that dealer's stock.",
            "items": {
              "type": "string"
            }
          },
          "dealerDirectory": {
            "title": "Dealer directory",
            "type": "boolean",
            "description": "One row per dealer of Nettiauto's dealer directory (about 1,360 dealers): name, page, cars for sale, address, opening hours, website. Billed per dealer as \"Dealer\".",
            "default": false
          },
          "directoryRegions": {
            "title": "Directory regions",
            "type": "array",
            "description": "With the dealer directory: only these regions.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "Ahvenanmaa",
                "Etelä-Karjala",
                "Etelä-Pohjanmaa",
                "Etelä-Savo",
                "Kainuu",
                "Kanta-Häme",
                "Keski-Pohjanmaa",
                "Keski-Suomi",
                "Kymenlaakso",
                "Lappi",
                "Pirkanmaa",
                "Pohjanmaa",
                "Pohjois-Karjala",
                "Pohjois-Pohjanmaa",
                "Pohjois-Savo",
                "Päijät-Häme",
                "Satakunta",
                "Suomen ulkopuolella",
                "Uusimaa",
                "Varsinais-Suomi"
              ]
            }
          },
          "directoryTowns": {
            "title": "Directory towns",
            "type": "array",
            "description": "With the dealer directory: only these towns.",
            "items": {
              "type": "string"
            }
          },
          "dealerNames": {
            "title": "Dealer names",
            "type": "array",
            "description": "With the dealer directory: only dealers whose name contains one of these words (whole words).",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The most paid rows (cars and dealers) of the run. Left out: 1,000."
          },
          "maxItemsPerSearch": {
            "title": "Max rows per search",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The most cars one search, link or dealer delivers."
          },
          "maxPagesPerSearch": {
            "title": "Max pages per search",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "The most result pages (30 cars each) one search or link reads (Nettiauto stops at 50)."
          },
          "maxRunSeconds": {
            "title": "Max run time (seconds)",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Stop starting new work after this many seconds; what was read is delivered."
          },
          "failIfIncomplete": {
            "title": "Fail the run if incomplete",
            "type": "boolean",
            "description": "Mark the run failed when any search or link was not read completely (the rows stay in the dataset).",
            "default": false
          },
          "completenessTolerancePercent": {
            "title": "Completeness tolerance (percent)",
            "minimum": 0,
            "maximum": 50,
            "type": "number",
            "description": "How many percent of a search's count may stay unread before it is called incomplete (default 0.5 percent and 2 cars)."
          },
          "completenessToleranceAbsolute": {
            "title": "Completeness tolerance (cars)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "How many cars of a search's count may stay unread before it is called incomplete."
          },
          "includeDetails": {
            "title": "Car details (ad page)",
            "type": "boolean",
            "description": "Read each car's own ad page into its row: plate, full description, equipment list, power, first registration, inspection month, the dealer's office fee, CO2 and consumption, weights, seats and doors, battery, range and charging, the dealer's address and website. Billed as \"Car details\" on each row that carries it.",
            "default": false
          },
          "includePhoneNumbers": {
            "title": "Phone numbers",
            "type": "boolean",
            "description": "The seller's phone number from the call button: a dealer's always (on a car from search results or links the call button of its own ad page, read for it when Car details is off (a sold car's card names no dealer: Car details is needed there); on a Dealer row the dealer's page; on a dealer's stock row its ad page when Car details is on, else the dealer's page; once per number per run); a private seller's only with \"Personal data\" on and its ad page read (\"Car details\" on, or an ad link, whose page is always read). Nettiauto counts a number viewed as a call to the seller. Billed as \"Phone number\" on each row that carries one.",
            "default": false
          },
          "includeDealerEmails": {
            "title": "Dealer e-mails",
            "type": "boolean",
            "description": "The dealer's e-mail address, as Nettiauto prints it on the ad page when that page is read, else searched on the dealer's own website as Nettiauto lists it (its home page and one contact page; delivered only when the site shows exactly one address on its own domain, never a guess). Billed as \"Dealer e-mail\" once per dealer per run.",
            "default": false
          },
          "includeDealScore": {
            "title": "Deal score",
            "type": "boolean",
            "description": "The car's asking price against Nettiauto's own ads of the same make and model, one model year either side: median, quartiles, the gap in percent and EUR and a rating from great deal to above market. Billed as \"Deal score\" on each row that carries one.",
            "default": false
          },
          "currencies": {
            "title": "Prices in other currencies",
            "type": "array",
            "description": "Add the asking price, total price and office fee in these currencies at the European Central Bank's reference rate of the day. Billed as \"Currency conversion\" on each row that carries them.",
            "items": {
              "type": "string",
              "enum": [
                "USD",
                "SEK",
                "NOK",
                "DKK",
                "GBP",
                "CHF",
                "PLN"
              ],
              "enumTitles": [
                "US dollar",
                "Swedish krona",
                "Norwegian krone",
                "Danish krone",
                "Pound sterling",
                "Swiss franc",
                "Polish zloty"
              ]
            }
          },
          "includePersonalData": {
            "title": "Personal data",
            "type": "boolean",
            "description": "Off by default. On: a private seller's name, user id, member years, phone (with the phone add-on and the ad page), plate, VIN, WhatsApp link, video link, the address on the ad's map, the phone numbers written in the description, the plate and VIN spec boxes and (with \"Raw data\" on too) the raw data are delivered; off they are empty. A dealer's details are always delivered. Descriptions are delivered as written. You are responsible for a lawful use of personal data, the GDPR included.",
            "default": false
          },
          "outputFields": {
            "title": "Output fields",
            "type": "array",
            "description": "Only these fields of each car row (its id, link, status and billing fields always stay). Left empty: every field.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "status",
                "statusFi",
                "vehicleKind",
                "vehicleKindFi",
                "title",
                "make",
                "model",
                "variant",
                "year",
                "mileageKm",
                "price",
                "officeFee",
                "priceTotal",
                "currency",
                "fuel",
                "fuelFi",
                "gearbox",
                "gearboxFi",
                "drive",
                "driveFi",
                "bodyType",
                "bodyTypeFi",
                "colour",
                "colourFi",
                "colourType",
                "engineSizeL",
                "powerKw",
                "powerHp",
                "vin",
                "plate",
                "town",
                "region",
                "sellerType",
                "sellerName",
                "sellerId",
                "sellerMemberYears",
                "dealerPageUrl",
                "dealerStreet",
                "dealerPostalCode",
                "dealerCity",
                "dealerWebsite",
                "dealerStockCount",
                "dealerChainStockCount",
                "whatsappUrl",
                "imageUrl",
                "imageUrls",
                "imageCount",
                "firstImageDate",
                "daysSinceFirstImage",
                "isNew",
                "recentlyUpdated",
                "deliveryAvailable",
                "badges",
                "shortText",
                "verifiedSeller",
                "description",
                "equipment",
                "equipmentList",
                "firstRegistration",
                "firstUseDate",
                "inspectedMonth",
                "seats",
                "doors",
                "steering",
                "curbWeightKg",
                "grossWeightKg",
                "towWeightBrakedKg",
                "towWeightUnbrakedKg",
                "topSpeedKmh",
                "acceleration0to100s",
                "torqueNm",
                "co2GPerKm",
                "fuelConsumption",
                "electricConsumption",
                "batteryCapacityKwh",
                "electricRangeKm",
                "chargingConnector",
                "chargingPowerAcKw",
                "chargingPowerDcKw",
                "batteryWarranty",
                "batteryStateOfHealthPercent",
                "batteryStateOfHealthText",
                "owners",
                "updatedDate",
                "modelReviews",
                "specsFi",
                "searchLabel",
                "searchTotal",
                "position",
                "phoneNumber",
                "dealerEmail",
                "dealScore",
                "convertedPrices",
                "raw",
                "fuelGroup",
                "isElectric",
                "notRoadworthy",
                "country",
                "vatIncluded",
                "vatDeductible",
                "priceTaxNote",
                "financingMonthlyPaymentEur",
                "towBar",
                "co2TestCycleInferred",
                "dealerChainId",
                "videoUrl",
                "phoneNumbersInDescription",
                "searchUrl",
                "batteryStateOfHealthSource",
                "adAddress"
              ]
            }
          },
          "includeRawData": {
            "title": "Raw data",
            "type": "boolean",
            "description": "Add the card's and the ad page's JSON as Nettiauto serves it (a private seller's only with personal data on).",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}