{
  "openapi": "3.0.1",
  "info": {
    "title": "MachineryPete Equipment Price Scraper",
    "description": "Scrape used ag and construction equipment listings from MachineryPete.com - tractors, combines, planters, tillage, hay & forage, construction equipment, trucks & trailers, and more. Get title, make, model, year, price, condition, hours, seller location, and images for equipment price benchmarking.",
    "version": "1.0",
    "x-build-id": "DxMWrtrcZII49TQlq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~machinerypete-equipment-price-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-machinerypete-equipment-price-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/crawlerbros~machinerypete-equipment-price-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-machinerypete-equipment-price-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/crawlerbros~machinerypete-equipment-price-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-machinerypete-equipment-price-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",
        "required": [
          "category",
          "subcategory"
        ],
        "properties": {
          "category": {
            "title": "Category",
            "enum": [
              "applicators",
              "construction",
              "grain-handling",
              "harvesting",
              "hay-and-forage",
              "lawn-and-garden",
              "livestock-equipment",
              "loaders-and-lifts",
              "other",
              "planting",
              "specialty-crops",
              "tillage",
              "tractors",
              "trucks-and-trailers"
            ],
            "type": "string",
            "description": "Top-level equipment category to browse.",
            "default": "tractors"
          },
          "subcategory": {
            "title": "Subcategory",
            "enum": [
              "applicators/fertilizer-spreaders",
              "applicators/manure-pumps",
              "applicators/manure-spreaders",
              "applicators/pull-type-fertilizer-spreaders",
              "applicators/pull-type-sprayers",
              "applicators/self-propelled-fertilizer-spreaders",
              "applicators/self-propelled-sprayers",
              "applicators/sprayers",
              "applicators/toolbars",
              "construction/backhoe-and-excavator-attachments",
              "construction/backhoes",
              "construction/compacting-and-paving",
              "construction/cranes",
              "construction/crawlers",
              "construction/dozers",
              "construction/excavators",
              "construction/mini-excavators",
              "construction/scissor-boom-lifts",
              "construction/scrapers",
              "construction/trenchers",
              "grain-handling/augers-and-conveyors",
              "grain-handling/grain-bag-unloaders",
              "grain-handling/grain-baggers",
              "grain-handling/grain-bins",
              "grain-handling/grain-carts",
              "grain-handling/grain-cleaners",
              "grain-handling/grain-dryers",
              "grain-handling/grain-trailers",
              "grain-handling/grain-vacs",
              "grain-handling/gravity-wagons",
              "harvesting/combines",
              "harvesting/corn-heads",
              "harvesting/corn-pickers",
              "harvesting/forage-harvester-heads",
              "harvesting/forage-harvesters",
              "harvesting/harvesting-attachments",
              "harvesting/headers",
              "harvesting/platforms",
              "harvesting/pull-type-forage-harvesters",
              "harvesting/self-propelled-forage-harvesters",
              "hay-and-forage/bale-processors",
              "hay-and-forage/bale-wagons-and-trailers",
              "hay-and-forage/bale-wrappers",
              "hay-and-forage/balers",
              "hay-and-forage/batwing-mowers",
              "hay-and-forage/big-square-balers",
              "hay-and-forage/disk-mowers",
              "hay-and-forage/forage-baggers",
              "hay-and-forage/forage-blowers",
              "hay-and-forage/forage-wagons",
              "hay-and-forage/hay-racks",
              "hay-and-forage/hay-stacking-equipment",
              "hay-and-forage/hay-tools",
              "hay-and-forage/inverters",
              "hay-and-forage/mergers",
              "hay-and-forage/mower-conditioners",
              "hay-and-forage/mowers",
              "hay-and-forage/pull-type-windrowers-and-swathers",
              "hay-and-forage/rakes",
              "hay-and-forage/rotary-cutters",
              "hay-and-forage/round-balers",
              "hay-and-forage/self-propelled-windrowers-and-swathers",
              "hay-and-forage/sickle-mowers",
              "hay-and-forage/small-square-balers",
              "hay-and-forage/tedders",
              "hay-and-forage/windrowers-and-swathers",
              "lawn-and-garden/accessories-and-attachments",
              "lawn-and-garden/lawn-mowers",
              "livestock-equipment/cattle-equipment",
              "livestock-equipment/feed-bins",
              "livestock-equipment/feed-wagons",
              "livestock-equipment/grinders-and-mixers",
              "livestock-equipment/hog-equipment",
              "livestock-equipment/horse-equipment",
              "livestock-equipment/livestock-trailers",
              "livestock-equipment/milking-equipment",
              "livestock-equipment/roller-mills",
              "loaders-and-lifts/forklifts",
              "loaders-and-lifts/front-end-loaders",
              "loaders-and-lifts/loader-and-skid-steer-attachments",
              "loaders-and-lifts/skid-steers",
              "loaders-and-lifts/telehandlers",
              "loaders-and-lifts/wheel-loaders",
              "other/agricultural-drones",
              "other/atvs-and-utility-vehicles",
              "other/blades",
              "other/cars",
              "other/field-drainage-equipment",
              "other/forestry-and-mining",
              "other/generators",
              "other/irrigation",
              "other/miscellaneous",
              "other/post-hole-diggers",
              "other/precision-ag",
              "other/rock-pickers",
              "other/snow-blowers",
              "other/tanks",
              "other/wheels-tires-tracks",
              "planting/air-seeders",
              "planting/drill-fills",
              "planting/drills",
              "planting/planter-and-drill-attachments",
              "planting/planters",
              "planting/seed-tenders",
              "specialty-crops/bean-bars",
              "specialty-crops/beets",
              "specialty-crops/cotton",
              "specialty-crops/orchard-vineyard",
              "specialty-crops/peanuts",
              "specialty-crops/potato",
              "specialty-crops/sugar-cane",
              "specialty-crops/tobacco",
              "specialty-crops/vegetables",
              "tillage/chisel-plows",
              "tillage/cultivators",
              "tillage/disk-chisels",
              "tillage/disks",
              "tillage/field-cultivators",
              "tillage/flail-choppers-stalk-choppers",
              "tillage/harrows",
              "tillage/in-line-rippers",
              "tillage/land-rollers",
              "tillage/mulchers-cultipackers",
              "tillage/plows",
              "tillage/rotary-hoes",
              "tillage/soil-finishers",
              "tillage/strip-till",
              "tillage/v-rippers",
              "tillage/vertical-tillage",
              "tractors/100-174-hp",
              "tractors/175-299-hp",
              "tractors/300-hp",
              "tractors/40-99-hp",
              "tractors/under-40-hp",
              "trucks-and-trailers/belt-trailers",
              "trucks-and-trailers/box-trucks-trailers",
              "trucks-and-trailers/bucket-service-trucks",
              "trucks-and-trailers/construction-trucks-trailers",
              "trucks-and-trailers/dump-trucks-trailers",
              "trucks-and-trailers/flatbed-trucks-trailers",
              "trucks-and-trailers/fuel-trucks-trailers",
              "trucks-and-trailers/grain-trucks",
              "trucks-and-trailers/header-trailers",
              "trucks-and-trailers/implement-caddies",
              "trucks-and-trailers/pickups",
              "trucks-and-trailers/semi-trucks-trailers",
              "trucks-and-trailers/truck-beds"
            ],
            "type": "string",
            "description": "Equipment type within the category (e.g. Combines, Excavators, HP range for tractors). Must belong to the selected category.",
            "default": "tractors/175-299-hp"
          },
          "customSubcategory": {
            "title": "Custom subcategory override (advanced)",
            "type": "string",
            "description": "Override `subcategory` with a raw `category/subcategory-slug` pair not in the dropdown (e.g. a newly added MachineryPete subcategory). Takes precedence over `subcategory` when set."
          },
          "make": {
            "title": "Make / manufacturer",
            "enum": [
              "john-deere",
              "case-ih",
              "new-holland",
              "caterpillar",
              "kubota",
              "agco",
              "claas",
              "vermeer",
              "bobcat",
              "komatsu",
              "massey-ferguson",
              "kinze",
              "krone",
              "jcb",
              "gehl",
              "bush-hog",
              "land-pride",
              "great-plains",
              "sunflower",
              "fendt",
              "challenger",
              "ford",
              "international",
              "kenworth",
              "peterbilt",
              "freightliner",
              "mack",
              "volvo",
              "hesston",
              "gleaner",
              "deutz-fahr",
              "kverneland",
              "mccormick",
              "bourgault",
              "salford",
              "unverferth",
              "mahindra",
              "kioti",
              "yanmar"
            ],
            "type": "string",
            "description": "Filter listings to a specific equipment make. Leave blank to include all makes in the category/subcategory."
          },
          "customMake": {
            "title": "Custom make override (advanced)",
            "type": "string",
            "description": "Override `make` with any manufacturer slug not in the dropdown (lowercase, hyphenated, e.g. `versatile`, `hesston`, `bourgault`). Takes precedence over `make` when set."
          },
          "model": {
            "title": "Model contains",
            "type": "string",
            "description": "Only keep listings whose model/title contains this text (case-insensitive, e.g. `8320` or `Magnum`)."
          },
          "yearMin": {
            "title": "Year (min)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop listings manufactured before this year."
          },
          "yearMax": {
            "title": "Year (max)",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Drop listings manufactured after this year."
          },
          "priceMin": {
            "title": "Price (min, USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Drop listings priced below this amount. Listings without a public price (e.g. \"Call for price\") always pass through."
          },
          "priceMax": {
            "title": "Price (max, USD)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Drop listings priced above this amount. Listings without a public price (e.g. \"Call for price\") always pass through."
          },
          "sellerType": {
            "title": "Seller type",
            "enum": [
              "any",
              "dealer",
              "privateSeller",
              "auction"
            ],
            "type": "string",
            "description": "Filter by who's selling the equipment.",
            "default": "any"
          },
          "includeDetails": {
            "title": "Fetch full listing details",
            "type": "boolean",
            "description": "Fetch each listing's detail page for location, hours of use, condition, serial number, and full specs. Adds one extra request per listing (capped at 200 listings per run for runtime).",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}