{
  "openapi": "3.0.1",
  "info": {
    "title": "Nettimoto Scraper: Motorcycle Listings Finland",
    "description": "Scrape nettimoto.com, Finland's largest motorcycle marketplace: motorcycles, scooters, mopeds, ATVs and snowmobiles with EUR prices, make, model, year, mileage or hours, engine size, photos and dealers, plus the dealer directory and sold archive. No login, no proxy. Export JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "T79fadteUaQ2n1nJ9"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~nettimoto-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-nettimoto-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/recordsdata~nettimoto-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-nettimoto-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/recordsdata~nettimoto-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-nettimoto-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": "What do you want to do?",
            "enum": [
              "search",
              "urls",
              "dealers"
            ],
            "type": "string",
            "description": "Search: vehicle ads for the filters below. Read my links: ads, dealer pages or saved searches you provide (also ad numbers). Dealers: the motorcycle-dealer directory, one row per company.",
            "default": "search"
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops after this many rows (all record types together). Free plan: capped at 10 per run. Paid plans: up to 1,000,000. Prefilled with 3 for a quick test.",
            "default": 50
          },
          "vehicleTypes": {
            "title": "Vehicle types (default: motorcycles)",
            "type": "array",
            "description": "Which kinds of vehicle to read, for example Motorcycle or Snowmobile. Empty means motorcycles. Pick All vehicle types to search the whole site.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "motorcycle",
                "moped",
                "scooter",
                "atv",
                "snowmobile",
                "moped-car",
                "karting-car",
                "minimoto",
                "motorized-bicycle",
                "crosskart",
                "senior-vehicle",
                "trike-l5e",
                "electric-vehicle",
                "quad-l7e",
                "motor-sleigh"
              ],
              "enumTitles": [
                "All vehicle types",
                "Motorcycle",
                "Moped",
                "Scooter",
                "ATV / quad",
                "Snowmobile",
                "Moped car",
                "Karting car",
                "Minimoto",
                "Motorised bicycle",
                "Crosskart",
                "Senior vehicle (mobility)",
                "Three-wheeler L5e",
                "Electric vehicle",
                "Four-wheeler L7e",
                "Motor sleigh"
              ]
            },
            "default": [
              "motorcycle"
            ]
          },
          "listingStatus": {
            "title": "For sale or sold",
            "enum": [
              "for-sale",
              "sold"
            ],
            "type": "string",
            "description": "For sale: ads that are live now. Sold: ads the seller marked as sold (kept in the site archive; the asking price is no longer shown, so sold rows have no price).",
            "default": "for-sale"
          },
          "makes": {
            "title": "Makes (e.g. Honda, Yamaha)",
            "type": "array",
            "description": "One or more makes as nettimoto.com writes them, for example Honda, Yamaha, Harley-Davidson, Ski-Doo. Short names such as HD are understood. Empty means every make. Several makes cannot be combined with models.",
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models of that make (e.g. CBR)",
            "type": "array",
            "description": "Models of one make, for example CBR or MT. Needs exactly one make. Empty means every model.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions of Finland (empty = all)",
            "type": "array",
            "description": "Regions (maakunta) to search in, for example Uusimaa. Empty means all of Finland. In Dealers mode it narrows the directory.",
            "items": {
              "type": "string",
              "enum": [
                "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",
                "Uusimaa",
                "Varsinais-Suomi",
                "Outside Finland"
              ],
              "enumTitles": [
                "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",
                "Uusimaa",
                "Varsinais-Suomi",
                "Outside Finland"
              ]
            }
          },
          "towns": {
            "title": "Towns (needs one region)",
            "type": "array",
            "description": "Towns inside the single region chosen above, for example Espoo or Helsinki.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest advertised price in euros, for example 2000. Empty or 0 = no limit."
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest advertised price in euros, for example 15000. Empty or 0 = no limit."
          },
          "minYear": {
            "title": "Min model year",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Oldest model year, for example 2015. Empty or 0 = no limit."
          },
          "maxYear": {
            "title": "Max model year",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Newest model year, for example 2024. Empty or 0 = no limit."
          },
          "bodyTypes": {
            "title": "Vehicle styles (cruiser, enduro, touring...)",
            "type": "array",
            "description": "Optional. Keep only these styles (the site calls it the vehicle type: cruiser, enduro, touring, snowmobile touring and so on). Each style belongs to one vehicle type, which must be among the vehicle types above. Empty means any.",
            "items": {
              "type": "string",
              "enum": [
                "custom-cruiser",
                "enduro-cross",
                "street-touring-sport",
                "racing",
                "trial",
                "trike",
                "sidecar",
                "snowmobile-crossover",
                "snowmobile-deep-snow",
                "snowmobile-sport",
                "snowmobile-touring",
                "snowmobile-work",
                "snowmobile-watercross",
                "atv-cross",
                "atv-off-road",
                "atv-road",
                "atv-tractor",
                "tubular-frame",
                "e-bike",
                "e-scooter",
                "self-balancing",
                "unicycle"
              ],
              "enumTitles": [
                "Custom / chopper / cruiser",
                "Enduro / cross / all road / off road",
                "Street / touring / sport",
                "Racing vehicle",
                "Trial",
                "Trike",
                "Combination / sidecar",
                "Snowmobile: crossover",
                "Snowmobile: deep snow",
                "Snowmobile: sport",
                "Snowmobile: touring",
                "Snowmobile: work",
                "Snowmobile: watercross",
                "ATV: cross",
                "ATV: off-road traffic",
                "ATV: road traffic",
                "ATV: tractor registered",
                "Crosskart: tubular frame",
                "Electric bicycle",
                "Electric kick scooter",
                "Self-balancing scooter",
                "Electric unicycle"
              ]
            }
          },
          "engineType": {
            "title": "Engine type",
            "enum": [
              "any",
              "2-stroke",
              "4-stroke",
              "diesel",
              "electric"
            ],
            "type": "string",
            "description": "Optional. Two-stroke, four-stroke, diesel or electric engine. any means all.",
            "default": "any"
          },
          "transmission": {
            "title": "Transmission",
            "enum": [
              "any",
              "automatic",
              "manual",
              "semi-automatic"
            ],
            "type": "string",
            "description": "Optional. Gearbox type. any means all.",
            "default": "any"
          },
          "driveTypes": {
            "title": "Drive types",
            "type": "array",
            "description": "Optional. Keep only these drive layouts (chain, belt, shaft, front, rear, four-wheel, six-wheel). Empty means any.",
            "items": {
              "type": "string",
              "enum": [
                "chain",
                "belt",
                "shaft",
                "front-wheel",
                "rear-wheel",
                "four-wheel",
                "six-wheel"
              ],
              "enumTitles": [
                "Chain drive",
                "Belt drive",
                "Shaft drive",
                "Front-wheel drive",
                "Rear-wheel drive",
                "Four-wheel drive",
                "Six-wheel drive"
              ]
            }
          },
          "colors": {
            "title": "Colors",
            "type": "array",
            "description": "Optional. Keep only these colors. Empty means any.",
            "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"
              ]
            }
          },
          "powerClass": {
            "title": "Power class (kW)",
            "enum": [
              "any",
              "under-11kw",
              "under-35kw",
              "under-70kw",
              "other"
            ],
            "type": "string",
            "description": "Optional. The power classes of the site (kW): up to 11, up to 35, up to 70, or its other class. Each class includes the smaller ones. Only ads that state a class are matched. The site prints no power on its ads, so this narrows the search but adds no column. any means all.",
            "default": "any"
          },
          "minMileage": {
            "title": "Min mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Lowest odometer reading in kilometres. Ads that count engine hours instead are not matched. 0 means no limit."
          },
          "maxMileage": {
            "title": "Max mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest odometer reading in kilometres. Ads that count engine hours instead are not matched. 0 means no limit."
          },
          "minHours": {
            "title": "Min engine hours (h)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Lowest engine-hour reading (ATVs, snowmobiles, crosskarts and some motorcycles count hours instead of kilometres). 0 means no limit."
          },
          "maxHours": {
            "title": "Max engine hours (h)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Highest engine-hour reading. 0 means no limit."
          },
          "minEngineSize": {
            "title": "Min engine size (cm3)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Smallest engine displacement in cubic centimetres, for example 125. 0 means no limit."
          },
          "maxEngineSize": {
            "title": "Max engine size (cm3)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Largest engine displacement in cubic centimetres, for example 650. 0 means no limit."
          },
          "sellerType": {
            "title": "Seller type (dealer or private)",
            "enum": [
              "any",
              "dealer",
              "private"
            ],
            "type": "string",
            "description": "Optional. dealer = motorcycle dealers only. private = private persons only (flagged with isPrivateSeller, never named, no contact details). any means both.",
            "default": "any"
          },
          "roadWorthy": {
            "title": "Road-worthy only?",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Optional. yes = vehicles the seller lists as roadworthy. no = vehicles the seller marks as not roadworthy (project bikes, off-road and race machines). The site prints only the negative on its ads, so a roadWorthy column appears only on \"not roadworthy\" ads. any means both.",
            "default": "any"
          },
          "onlyWithPrice": {
            "title": "Skip ads without a price",
            "type": "boolean",
            "description": "On: skip ads that carry no price (\"Ei hinnoiteltu\", about 1 in 6 motorcycle ads). Off (default): keep them, price left empty.",
            "default": false
          },
          "maxAgeDays": {
            "title": "Created or changed within (days)",
            "enum": [
              "any",
              "1",
              "3",
              "7",
              "14",
              "28"
            ],
            "type": "string",
            "description": "Keep only ads created or changed within this many days. Any by default.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort results by",
            "enum": [
              "newest",
              "oldest",
              "price-asc",
              "price-desc",
              "year-desc",
              "year-asc",
              "mileage-asc",
              "mileage-desc",
              "make-model-asc"
            ],
            "type": "string",
            "description": "Order of the results. Newest first is the default and the best choice for monitoring.",
            "default": "newest"
          },
          "startUrls": {
            "title": "Links to read",
            "type": "array",
            "description": "Ad addresses (https://www.nettimoto.com/honda/cbr/12345678), dealer pages (https://www.nettimoto.com/yritys/1234), saved-search results (https://www.nettimoto.com/hakutulokset?haku=...) or the newest ads (https://www.nettimoto.com/uusimmat).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Or ad numbers",
            "type": "array",
            "description": "The number at the end of an ad address, for example 3447120. One per line.",
            "items": {
              "type": "string"
            }
          },
          "dealerIds": {
            "title": "Dealer numbers (optional)",
            "type": "array",
            "description": "The number in a dealer page address (https://www.nettimoto.com/yritys/1234). Empty means walk the whole directory, narrowed by regions and towns.",
            "items": {
              "type": "string"
            }
          },
          "dealerQuery": {
            "title": "Dealer name contains (optional)",
            "type": "string",
            "description": "Keep only dealers whose name contains these words, for example Moto.",
            "default": ""
          },
          "fetchDetails": {
            "title": "Read full ad pages (adds one request per ad)",
            "type": "boolean",
            "description": "On (default): every ad page is read for the full record (description, equipment, seller, update date, dealer address), billed as a detail record. Off: only the list card is read (title, price, year, mileage, engine, city, photos), billed as a standard record, faster and cheaper. For dealers, on adds the profile (website, logo, description, address).",
            "default": true
          },
          "includeContactDetails": {
            "title": "Include dealer phone (adds one request each)",
            "type": "boolean",
            "description": "Off (default): phone numbers and e-mails in dealer texts are hidden and no phone is read. On: dealer ads get sellerPhone and dealer rows get phone, the business line behind the call button. Named sales people and private persons never get contact data.",
            "default": false
          },
          "includeRaw": {
            "title": "Include raw page data (for developers)",
            "type": "boolean",
            "description": "Adds a raw column with the unprocessed data blocks of the site. Off by default.",
            "default": false
          },
          "onlyNew": {
            "title": "Return only new ads",
            "type": "boolean",
            "description": "Receive only ads you have not been given before. The first run returns everything and builds the memory. Use together with sort Newest first.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "A label for this monitor, for example finland-cruisers. Same label plus same filters = same memory. Empty derives the label from the filters.",
            "default": ""
          },
          "resetSeen": {
            "title": "Start the monitor from scratch",
            "type": "boolean",
            "description": "Forget everything seen before. Use after changing what you want to track.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Parallel requests (1 to 4)",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Ad pages read at the same time. The site answers slowly, 2 is the polite default.",
            "default": 2
          },
          "maxScanSeconds": {
            "title": "Stop after (seconds)",
            "minimum": 10,
            "maximum": 86400,
            "type": "integer",
            "description": "Stops reading after this many seconds and delivers what was collected. Default 3000.",
            "default": 3000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}