{
  "openapi": "3.0.1",
  "info": {
    "title": "Fastline Scraper",
    "description": "Scrape Fastline.com - a leading US farm equipment marketplace. Search by keyword, or browse by category, manufacturer, or state. Get price, manufacturer, model, year, hours, horsepower, condition, seller info, and photos for tractors, combines, and more.",
    "version": "1.0",
    "x-build-id": "Pnhr553V6FBgW0Cbj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~fastline-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-fastline-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~fastline-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-fastline-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~fastline-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-fastline-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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byManufacturer",
              "byLocation",
              "byUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "keywords": {
            "title": "Search keywords",
            "type": "string",
            "description": "Free-text keyword search, e.g. `tractor`, `combine`, `sprayer` (mode=search). Can be combined with manufacturer/state/condition to narrow results."
          },
          "category": {
            "title": "Equipment category",
            "enum": [
              "",
              "aerators",
              "air-seeders-carts",
              "animal-health",
              "augers-elevators-conveyors",
              "bale-accumulators",
              "bale-beds",
              "bale-wagons-and-retrievers",
              "bale-wrappers",
              "balers",
              "bean-harvesting-equipment",
              "bedders-and-specialty-tillage",
              "beet-harvesting-equipment",
              "carts",
              "carts-wagons",
              "chemical-applicators",
              "chisel-plows",
              "chutes-fencing-handling-equip",
              "combine-attachments",
              "combine-heads",
              "combines",
              "corn-pickers",
              "cotton-pickers-strippers",
              "cultimulchers",
              "cultivators",
              "dairy-and-dairy-equipment",
              "deep-tillage-sub-soiler",
              "disc-chisels",
              "disc-levelers",
              "disc-rippers",
              "discs",
              "drills-and-caddies",
              "drive-over-hoppers",
              "feed-grinders-mixers",
              "feeders-waterers-barn-equip",
              "fertilizer-lime-dry-equipment",
              "forage-blowers",
              "forage-boxes",
              "forage-harvesters",
              "forage-heads",
              "fruit-harvesting-equipment",
              "grain-baggers-and-retrievers",
              "grain-bins-and-equipment",
              "grain-dryers",
              "grain-handling-and-storage",
              "grain-vacuums",
              "harrow-drag",
              "harvesting",
              "hay-forage",
              "header-trailers",
              "hemp-harvesting-equipment",
              "husking-beds",
              "kernel-processors",
              "lifters-diggers",
              "livestock",
              "livestock-manure-feeders",
              "loader-attachments",
              "manure-handling-and-applicators",
              "markers",
              "mower-conditioners",
              "mowers",
              "nut-harvesters-tree",
              "packers-crumblers-pulverizers",
              "peanut-harvesting-equipment",
              "planters-row-units",
              "planting-equipment",
              "plows",
              "potato-handling-equipment",
              "precision-ag-equipment-software",
              "rakes-tedders-inverters",
              "rock-pickers",
              "rotary-hoes",
              "scales",
              "seed-handling-tenders",
              "silage-forage-dump-boxes",
              "skid-steer-loader-loaders",
              "skid-steers",
              "soil-finishers",
              "sprayers-and-liquid-equipment",
              "sugar-cane-harvesters",
              "swathers-windrowers",
              "telehandlers",
              "tile-plows-ditchers",
              "tillage",
              "tillers",
              "tractors",
              "tub-grinders-bale-processors",
              "v-rippers",
              "vertical-tillage",
              "wagons",
              "windrower-inverters"
            ],
            "type": "string",
            "description": "Equipment category to browse (mode=byCategory). Can also narrow results in other modes.",
            "default": ""
          },
          "manufacturer": {
            "title": "Manufacturer",
            "enum": [
              "",
              "John Deere",
              "Case IH",
              "New Holland",
              "Massey Ferguson",
              "Kubota",
              "Challenger",
              "CLAAS",
              "Fendt",
              "AGCO",
              "Kinze",
              "Krone",
              "Kuhn",
              "Landoll",
              "Mahindra",
              "Sunflower",
              "Vermeer",
              "Bush Hog",
              "Gehl",
              "Bobcat",
              "Great Plains",
              "Wilson",
              "Frontier"
            ],
            "type": "string",
            "description": "Manufacturer to browse or filter by (mode=byManufacturer, or narrows other modes). For a manufacturer not listed here, leave this as (none) and use `Manufacturer (other)` below instead.",
            "default": ""
          },
          "manufacturerOther": {
            "title": "Manufacturer (other)",
            "type": "string",
            "description": "Free-text manufacturer name, used only if it's not in the dropdown above (e.g. `Caterpillar`, `Deutz-Fahr`, `Hesston`, `Valtra`). Overrides the dropdown if both are set."
          },
          "state": {
            "title": "US state",
            "enum": [
              "",
              "Alabama",
              "Alaska",
              "Arizona",
              "Arkansas",
              "California",
              "Colorado",
              "Connecticut",
              "Delaware",
              "Florida",
              "Georgia",
              "Hawaii",
              "Idaho",
              "Illinois",
              "Indiana",
              "Iowa",
              "Kansas",
              "Kentucky",
              "Louisiana",
              "Maine",
              "Maryland",
              "Massachusetts",
              "Michigan",
              "Minnesota",
              "Mississippi",
              "Missouri",
              "Montana",
              "Nebraska",
              "Nevada",
              "New Hampshire",
              "New Jersey",
              "New Mexico",
              "New York",
              "North Carolina",
              "North Dakota",
              "Ohio",
              "Oklahoma",
              "Oregon",
              "Pennsylvania",
              "Rhode Island",
              "South Carolina",
              "South Dakota",
              "Tennessee",
              "Texas",
              "Utah",
              "Vermont",
              "Virginia",
              "Washington",
              "West Virginia",
              "Wisconsin",
              "Wyoming"
            ],
            "type": "string",
            "description": "US state to browse or filter by (mode=byLocation, or narrows other modes).",
            "default": ""
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "",
              "New",
              "Used"
            ],
            "type": "string",
            "description": "Keep only listings with this condition.",
            "default": ""
          },
          "driveType": {
            "title": "Drive type",
            "enum": [
              "",
              "2WD",
              "4WD",
              "MFWD",
              "MFD/FWA",
              "Track",
              "Other"
            ],
            "type": "string",
            "description": "Keep only listings with this drive type (e.g. tractors). Listings with no drive-type field are kept regardless.",
            "default": ""
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "priceLowToHigh",
              "priceHighToLow",
              "yearNewestFirst",
              "yearOldestFirst",
              "dateListedNewerFirst",
              "dateListedOlderFirst"
            ],
            "type": "string",
            "description": "Server-side sort order for search/browse modes. Matters most when `maxItems` is capped, since it determines which listings land inside the cap (e.g. cheapest-first).",
            "default": ""
          },
          "startUrls": {
            "title": "Listing URLs",
            "type": "array",
            "description": "Specific Fastline.com listing URLs to fetch directly (mode=byUrl), e.g. `https://www.fastline.com/farm-equipment/listing-detail/2014-john-deere-5085e-akrs-equipment-syracuse-nebraska/35134f90-5a4c-4668-a747-36de3d89e84e`.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Drop listings priced below this amount."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Drop listings priced above this amount."
          },
          "minYear": {
            "title": "Min model year",
            "minimum": 1950,
            "maximum": 2030,
            "type": "integer",
            "description": "Drop listings whose model year is earlier than this. Listings with no extractable year are excluded once this filter is set."
          },
          "maxYear": {
            "title": "Max model year",
            "minimum": 1950,
            "maximum": 2030,
            "type": "integer",
            "description": "Drop listings whose model year is later than this. Listings with no extractable year are excluded once this filter is set."
          },
          "minHours": {
            "title": "Min hours",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop listings with fewer hours than this. Listings with no hours field (e.g. trailers, planters) are kept regardless."
          },
          "maxHours": {
            "title": "Max hours",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop listings with more hours than this. Listings with no hours field (e.g. trailers, planters) are kept regardless."
          },
          "minHorsepower": {
            "title": "Min horsepower",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Drop listings with less engine horsepower than this. Listings with no horsepower field (e.g. trailers, planters) are kept regardless."
          },
          "maxHorsepower": {
            "title": "Max horsepower",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Drop listings with more engine horsepower than this. Listings with no horsepower field (e.g. trailers, planters) are kept regardless."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The source site has no anti-bot protection, so a proxy isn't required — this is only used as an automatic fallback if the site starts blocking requests.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}