{
  "openapi": "3.0.1",
  "info": {
    "title": "MachineSeeker Scraper — Global Used Machinery",
    "description": "Extract used machinery listings from MachineSeeker.com. Supports 41 equipment categories with make, year and country filters. Captures price, year, hours, location and specs.",
    "version": "0.5",
    "x-build-id": "p7qq949TGrJB0aYue"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rastriq~machineseeker-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rastriq-machineseeker-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/rastriq~machineseeker-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rastriq-machineseeker-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/rastriq~machineseeker-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rastriq-machineseeker-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": {
          "categories": {
            "title": "🏭 Industries to scrape",
            "type": "array",
            "description": "Pick one or more equipment industries. Click <b>+ Add</b> to add more. For a full monthly snapshot, add every industry you want to track — there are 41 in total.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "title": "Industry",
                  "description": "Choose an equipment industry from the dropdown.",
                  "type": "string",
                  "editor": "select",
                  "enum": [
                    "ci-2",
                    "ci-3",
                    "ci-4",
                    "ci-5",
                    "ci-6",
                    "ci-7",
                    "ci-8",
                    "ci-9",
                    "ci-10",
                    "ci-11",
                    "ci-12",
                    "ci-13",
                    "ci-14",
                    "ci-15",
                    "ci-16",
                    "ci-17",
                    "ci-18",
                    "ci-19",
                    "ci-20",
                    "ci-21",
                    "ci-22",
                    "ci-23",
                    "ci-24",
                    "ci-25",
                    "ci-26",
                    "ci-27",
                    "ci-28",
                    "ci-29",
                    "ci-30",
                    "ci-31",
                    "ci-32",
                    "ci-33",
                    "ci-34",
                    "ci-35",
                    "ci-36",
                    "ci-37",
                    "ci-38",
                    "ci-39",
                    "ci-40",
                    "ci-41",
                    "ci-42"
                  ],
                  "enumTitles": [
                    "Metalworking & machine tools (~33,000)",
                    "Woodworking machinery (~12,000)",
                    "Agricultural machinery (~9,000)",
                    "Industrial automation (~9,000)",
                    "Chemical & pharmaceutical",
                    "Commercial vehicles (~28,000)",
                    "Construction machinery (~8,000)",
                    "Food processing (~7,000)",
                    "Material handling (~4,000)",
                    "Medical technology",
                    "Office equipment",
                    "Packaging machinery (~2,000)",
                    "Plastics processing (~3,000)",
                    "Power engineering",
                    "Printing machinery (~4,000)",
                    "Process engineering",
                    "Propulsion & conveying",
                    "Textile processing",
                    "Waste management & recycling",
                    "Wire processing",
                    "Car workshop equipment",
                    "Power tools",
                    "Filling technology",
                    "Refrigeration & cooling",
                    "Glass & ceramics processing",
                    "Wastewater treatment",
                    "Municipal equipment",
                    "Motors",
                    "Surface finishing",
                    "Mail processing",
                    "Cleaning & facility management",
                    "Special purpose machines",
                    "Other machinery",
                    "Stone processing",
                    "Measuring & testing",
                    "Vacuum technology",
                    "Paper & cardboard processing",
                    "Overstock & excess stock",
                    "Telecommunication",
                    "Air compressors & pneumatics (~1,000)",
                    "Forklifts & industrial trucks (~9,000)"
                  ]
                }
              },
              "required": [
                "id"
              ]
            },
            "default": [
              {
                "id": "ci-8"
              }
            ]
          },
          "maxItems": {
            "title": "🛑 Max total listings",
            "minimum": 0,
            "maximum": 250000,
            "type": "integer",
            "description": "Stop after this many listings in total. Use a small number (e.g. <b>150</b>) for a quick test in about a minute, or set to <b>0</b> for unlimited (recommended for the monthly full snapshot).",
            "default": 0
          },
          "useSubcategories": {
            "title": "📂 Drill into subcategories",
            "type": "boolean",
            "description": "Each top industry has many subcategories (e.g. Construction → Excavators, Loaders, Telehandlers…). Each subcategory has its own item cap, so turning this ON multiplies coverage. <b>Recommended: ON.</b>",
            "default": true
          },
          "useSlicing": {
            "title": "🌍 Maximum coverage mode (recommended for monthly runs)",
            "type": "boolean",
            "description": "Splits large subcategories by country and price range to bypass MachineSeeker's anonymous page cap. Adds ~20–60 min per industry but recovers 3–4× more listings. <b>Recommended ON for monthly snapshots, OFF for a fast first test.</b>",
            "default": false
          },
          "countries": {
            "title": "Country slices (override)",
            "type": "array",
            "description": "Optional. Two-letter ISO codes (e.g. <code>DE</code>, <code>IT</code>, <code>FR</code>) that the 'Maximum coverage mode' will use to split big categories. Leave empty to use the built-in EU + UK list (30 countries).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPages": {
            "title": "Max pages per slice",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "How many result pages to read per slice (25 listings per page). MachineSeeker hard-caps anonymous browsing at 8 pages. <b>0</b> = use the maximum (8). Set lower only for very quick tests.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "MachineSeeker doesn't actively block scrapers, so direct requests work fine. Only enable proxy if you experience 403 errors.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}