{
  "openapi": "3.0.1",
  "info": {
    "title": "Autoline, Machineryline & Agroline Scraper",
    "description": "Scrape Autoline, Machineryline and Agroline: trucks, trailers, vans, construction and farm machinery from 850k+ listings. Price, year, mileage, hours, power, specs, location, dealer. Every filter. Seller phones, WhatsApp, address and full specs as an add-on.",
    "version": "1.0",
    "x-build-id": "qzyKuecT3zZVS3nX8"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/normdata~autoline-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-normdata-autoline-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/normdata~autoline-scraper/runs": {
      "post": {
        "operationId": "runs-sync-normdata-autoline-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/normdata~autoline-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-normdata-autoline-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": {
          "maxItems": {
            "title": "Maximum listings",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many listings in total. Leave empty for no limit (every matching listing). The Apify Free plan is always capped at 10."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "One per line, in English as on the site, e.g. \"truck tractors\", \"semi-trailers\", \"vans\", \"dump trucks\", \"excavators\", \"wheel loaders\", \"cranes\", \"tractors\", \"combines\", \"balers\". Main categories and subcategories both work. Each category is searched on the site that has it. Leave empty for every category.",
            "items": {
              "type": "string"
            }
          },
          "sites": {
            "title": "Sites",
            "type": "array",
            "description": "Which marketplaces to search. Autoline: trucks, trailers, vans, buses, cars. Machineryline: construction, mining, material handling and industrial machinery. Agroline: tractors, harvesters and farm machinery. Leave empty for all three (categories are found on the site that has them).",
            "items": {
              "type": "string",
              "enum": [
                "autoline",
                "machineryline",
                "agroline"
              ],
              "enumTitles": [
                "Autoline (trucks and vehicles)",
                "Machineryline (construction machinery)",
                "Agroline (farm machinery)"
              ]
            }
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "One per line, e.g. \"DAF\", \"Volvo\", \"Mercedes-Benz\", \"Scania\", \"Caterpillar\", \"Komatsu\", \"John Deere\", \"Claas\". Each brand is a separate search. Leave empty for all brands.",
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models",
            "type": "array",
            "description": "Brand and model on one line, e.g. \"DAF XF\", \"Scania R 450\", \"Caterpillar 320\", \"John Deere 6155R\". A model replaces its brand in the Brands list.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "...or paste search links",
            "type": "array",
            "description": "Search pages from Autoline, Machineryline or Agroline in any language (autoline.info, autoline.de, …), e.g. https://autoline.info/-/truck-tractors/DAF/Germany--c42tm2525cntDE?ym=2018%3A. Every filter in the link is kept. The filters below (condition, price, year, mileage, fuel...) narrow the link further; a filter the link already sets in its address wins. Categories, brands, models and countries run as separate searches next to the link.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "locations": {
            "title": "Countries or regions",
            "type": "array",
            "description": "One per line: a country name or two-letter code (\"Germany\", \"NL\", \"Poland\", \"USA\") or a region (\"Europe\", \"America\", \"Asia\"). Each is a separate search. Leave empty for the whole world.",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Keep only ANY of these. Each value is a separate search. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "used",
                "new",
                "demonstration",
                "remanufactured",
                "withDefect",
                "crashed",
                "forParts"
              ],
              "enumTitles": [
                "Used",
                "New",
                "Demonstration",
                "Remanufactured",
                "With a defect",
                "Crashed",
                "For parts"
              ]
            }
          },
          "adType": {
            "title": "Offer type",
            "type": "array",
            "description": "Sale, rent, auction, leasing and other offer types. Each value is a separate search. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "sale",
                "rent",
                "auction",
                "leasing",
                "fromManufacturer",
                "credit",
                "installments",
                "tradeIn",
                "exchange"
              ],
              "enumTitles": [
                "Sale",
                "Rent",
                "Auction",
                "Leasing",
                "From the manufacturer",
                "Credit",
                "By installments",
                "Trade-in",
                "Exchange"
              ]
            }
          },
          "availability": {
            "title": "Availability",
            "enum": [
              "any",
              "inStock",
              "onRequest"
            ],
            "type": "string",
            "description": "In stock now, or on request (ordered from the maker)."
          },
          "minPrice": {
            "title": "Min price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "At least this price, in euros (the site converts other currencies)."
          },
          "maxPrice": {
            "title": "Max price (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "At most this price, in euros."
          },
          "minYear": {
            "title": "Min year",
            "minimum": 0,
            "type": "integer",
            "description": "Made in this year or later, e.g. 2018."
          },
          "maxYear": {
            "title": "Max year",
            "minimum": 0,
            "type": "integer",
            "description": "Made in this year or earlier."
          },
          "minMileage": {
            "title": "Min mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "At least this many kilometres."
          },
          "maxMileage": {
            "title": "Max mileage (km)",
            "minimum": 0,
            "type": "integer",
            "description": "At most this many kilometres, e.g. 500000."
          },
          "minRunningHours": {
            "title": "Min running hours",
            "minimum": 0,
            "type": "integer",
            "description": "At least this many engine hours (machinery and tractors)."
          },
          "maxRunningHours": {
            "title": "Max running hours",
            "minimum": 0,
            "type": "integer",
            "description": "At most this many engine hours, e.g. 5000."
          },
          "minPowerHp": {
            "title": "Min power (HP)",
            "minimum": 0,
            "type": "integer",
            "description": "At least this much engine power, in horsepower."
          },
          "maxPowerHp": {
            "title": "Max power (HP)",
            "minimum": 0,
            "type": "integer",
            "description": "At most this much engine power, in horsepower."
          },
          "euroClasses": {
            "title": "Emission class",
            "type": "array",
            "description": "Keep only ANY of these Euro classes. Each value is a separate search.",
            "items": {
              "type": "string",
              "enum": [
                "euro1",
                "euro2",
                "euro3",
                "euro4",
                "euro5",
                "euro6",
                "euro7"
              ],
              "enumTitles": [
                "Euro 1",
                "Euro 2",
                "Euro 3",
                "Euro 4",
                "Euro 5",
                "Euro 6",
                "Euro 7"
              ]
            }
          },
          "fuels": {
            "title": "Fuel",
            "type": "array",
            "description": "Keep only ANY of these. Each value is a separate search.",
            "items": {
              "type": "string",
              "enum": [
                "diesel",
                "petrol",
                "electric",
                "gas",
                "gasPetrol",
                "electricDiesel",
                "biodiesel",
                "biogas"
              ],
              "enumTitles": [
                "Diesel",
                "Petrol",
                "Electric",
                "Gas (CNG / LNG)",
                "Gas / petrol",
                "Electric / diesel hybrid",
                "Biodiesel",
                "Biogas"
              ]
            }
          },
          "gearboxes": {
            "title": "Gearbox",
            "type": "array",
            "description": "Keep only ANY of these. Each value is a separate search.",
            "items": {
              "type": "string",
              "enum": [
                "automatic",
                "manual",
                "semiautomatic",
                "automatedManual",
                "hydrostatic",
                "cvt",
                "synchronized"
              ],
              "enumTitles": [
                "Automatic",
                "Manual",
                "Semi-automatic",
                "Automated manual",
                "Hydrostatic",
                "CVT",
                "Synchronized"
              ]
            }
          },
          "driveTypes": {
            "title": "Drive",
            "type": "array",
            "description": "Keep only ANY of these. Each value is a separate search.",
            "items": {
              "type": "string",
              "enum": [
                "awd",
                "rwd",
                "fwd"
              ],
              "enumTitles": [
                "All-wheel drive",
                "Rear-wheel drive",
                "Front-wheel drive"
              ]
            }
          },
          "colors": {
            "title": "Colour",
            "type": "array",
            "description": "Keep only ANY of these. Each value is a separate search.",
            "items": {
              "type": "string",
              "enum": [
                "white",
                "black",
                "grey",
                "blue",
                "deepBlue",
                "red",
                "burgundy",
                "green",
                "yellow",
                "orange",
                "brown",
                "beige",
                "golden",
                "khaki",
                "lilac",
                "purple",
                "turquoise",
                "metallic"
              ],
              "enumTitles": [
                "White",
                "Black",
                "Grey",
                "Blue",
                "Deep blue",
                "Red",
                "Burgundy",
                "Green",
                "Yellow",
                "Orange",
                "Brown",
                "Beige",
                "Golden",
                "Khaki",
                "Lilac",
                "Purple",
                "Turquoise",
                "Metallic"
              ]
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep only listings whose title, category or features contain ANY of these words, e.g. \"retarder\", \"ADR\", \"4x4\", \"low deck\". Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "default",
              "priceLow",
              "priceHigh",
              "yearNew",
              "yearOld",
              "mileageLow",
              "mileageHigh"
            ],
            "type": "string",
            "description": "Order of the results. Matters most when you set a Maximum."
          },
          "includeDetails": {
            "title": "Seller contacts and full specs",
            "type": "boolean",
            "description": "Open each listing page for the seller's phone numbers, WhatsApp and Viber, contact person, spoken languages, opening hours, full address with coordinates, dealer page, stock size, rating and reviews, plus the full spec sheet (every feature), VIN, gross price, first registration, gearbox, the seller's description, placed-on date and every photo. Charged as an add-on per listing. Slower, since each listing is one more page.",
            "default": false
          },
          "onlyNew": {
            "title": "New listings only",
            "type": "boolean",
            "description": "For scheduled runs: save only listings this same search has not saved before. The first run saves everything; later runs save just what is new. Kept per search (categories, brands, links and filters).",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Give \"New listings only\" a fixed name to keep its memory even after you change the filters."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}