{
  "openapi": "3.0.1",
  "info": {
    "title": "Land And Farm Scraper",
    "description": "[💰 $1.1 / 1K] Extract US farm, ranch, hunting land, timberland and rural property listings from Land And Farm. Filter by state, county, acreage, price and property type. Get prices, acreage, price history, broker contacts, photos and GPS coordinates.",
    "version": "1.0",
    "x-build-id": "hVUCdaPfmMmTJ5BDO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~landandfarm-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-landandfarm-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/solidcode~landandfarm-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-landandfarm-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/solidcode~landandfarm-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-landandfarm-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Paste Land And Farm URLs directly — either a search page (e.g. https://www.landandfarm.com/search/texas/ranches-for-sale/) or a single property page (e.g. https://www.landandfarm.com/property/rmr-ranch-36955247/). Any filters already in the URL are kept. The filter settings below do NOT apply to these URLs — everything comes from the URL itself.",
            "items": {
              "type": "string"
            }
          },
          "searchLocations": {
            "title": "Search Locations",
            "type": "array",
            "description": "Search by typing a place instead of building a URL. Works with a state ('Texas'), a county ('Travis County, TX') or a city ('Austin, TX'). Each location becomes its own search using the filters below.",
            "items": {
              "type": "string"
            }
          },
          "propertyType": {
            "title": "Property Type",
            "enum": [
              "all",
              "farms",
              "ranches",
              "hunting-land",
              "timberland",
              "recreational-land",
              "undeveloped-land",
              "residential-land",
              "commercial-land",
              "horse-property",
              "waterfront",
              "lakefront",
              "riverfront",
              "beachfront"
            ],
            "type": "string",
            "description": "Narrow results to one kind of property. Only applies to Search Locations — URLs above bring their own property type."
          },
          "minAcres": {
            "title": "Minimum Acres",
            "minimum": 0,
            "type": "integer",
            "description": "Only show properties of at least this many acres. Leave empty for no minimum."
          },
          "maxAcres": {
            "title": "Maximum Acres",
            "minimum": 0,
            "type": "integer",
            "description": "Only show properties up to this many acres. Leave empty for no maximum."
          },
          "minPrice": {
            "title": "Minimum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only show properties priced at or above this amount. Leave empty for no minimum."
          },
          "maxPrice": {
            "title": "Maximum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only show properties priced at or below this amount. Leave empty for no maximum."
          },
          "minBeds": {
            "title": "Minimum Bedrooms",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Only show properties with a home of at least this many bedrooms. Choose 'Any' for land with or without a house."
          },
          "minBaths": {
            "title": "Minimum Bathrooms",
            "enum": [
              "0",
              "1",
              "2",
              "3",
              "4"
            ],
            "type": "string",
            "description": "Only show properties with a home of at least this many bathrooms. Choose 'Any' for land with or without a house."
          },
          "availability": {
            "title": "Availability",
            "enum": [
              "active",
              "available",
              "under_contract",
              "include_sold",
              "sold_only",
              "off_market"
            ],
            "type": "string",
            "description": "Which listings to include. The sold archive is useful for comparable-sales research — 'Sold only' returns past sales with their final sale price and sale date."
          },
          "saleType": {
            "title": "Sale Type",
            "enum": [
              "any",
              "for_sale",
              "auction"
            ],
            "type": "string",
            "description": "Include everything, only standard listings, or only properties going to auction."
          },
          "sortBy": {
            "title": "Sort Results By",
            "enum": [
              "default",
              "price_low_high",
              "price_high_low",
              "price_per_acre_low_high",
              "price_per_acre_high_low",
              "acres_low_high",
              "acres_high_low",
              "newest",
              "recently_changed"
            ],
            "type": "string",
            "description": "Order of the results. Because each search caps out at 500 properties, sorting decides WHICH 500 you get — run the same search sorted low-to-high and high-to-low to capture both ends of the market."
          },
          "activities": {
            "title": "Recreational Activities",
            "uniqueItems": true,
            "type": "array",
            "description": "Only show properties suited to these activities. Selecting several narrows the search further.",
            "items": {
              "type": "string",
              "enum": [
                "fishing",
                "horseback-riding",
                "boating",
                "canoeing-kayaking",
                "aquatic-sporting",
                "beach",
                "camping",
                "rving",
                "off-roading",
                "golfing",
                "skiing",
                "aviation",
                "conservation"
              ],
              "enumTitles": [
                "Fishing",
                "Horseback riding",
                "Boating",
                "Canoeing / kayaking",
                "Aquatic sports",
                "Beach",
                "Camping",
                "RVing",
                "Off-roading",
                "Golfing",
                "Skiing",
                "Aviation",
                "Conservation"
              ]
            }
          },
          "geography": {
            "title": "Terrain & Setting",
            "uniqueItems": true,
            "type": "array",
            "description": "Only show properties in these kinds of settings.",
            "items": {
              "type": "string",
              "enum": [
                "rural",
                "mountain",
                "riverfront",
                "lakefront",
                "beachfront",
                "island",
                "desert",
                "resort",
                "off-grid"
              ],
              "enumTitles": [
                "Rural",
                "Mountain",
                "Riverfront",
                "Lakefront",
                "Beachfront",
                "Island",
                "Desert",
                "Resort",
                "Off grid"
              ]
            }
          },
          "landUses": {
            "title": "Current Land Use",
            "uniqueItems": true,
            "type": "array",
            "description": "Only show properties currently used this way.",
            "items": {
              "type": "string",
              "enum": [
                "homestead",
                "pasture",
                "hobby-farm",
                "vineyard",
                "orchard",
                "poultry"
              ],
              "enumTitles": [
                "Homestead",
                "Pasture",
                "Hobby farm",
                "Vineyard",
                "Orchard",
                "Poultry farm"
              ]
            }
          },
          "housingTypes": {
            "title": "Type of Home on the Land",
            "uniqueItems": true,
            "type": "array",
            "description": "Only show properties with one of these kinds of dwelling on them.",
            "items": {
              "type": "string",
              "enum": [
                "barndominium",
                "log-cabin",
                "cottage",
                "lake-house",
                "guest-house",
                "mobile-home",
                "tiny-home"
              ],
              "enumTitles": [
                "Barndominium",
                "Log cabin",
                "Cottage",
                "Lake house",
                "Guest house",
                "Mobile home",
                "Tiny home"
              ]
            }
          },
          "features": {
            "title": "Must-Have Features",
            "uniqueItems": true,
            "type": "array",
            "description": "Only show properties offering these. 'Owner financing' and 'Mineral rights' are especially useful for investors.",
            "items": {
              "type": "string",
              "enum": [
                "owner-financing",
                "mineral-rights",
                "video",
                "virtual-tour",
                "exterior-tour",
                "custom-map"
              ],
              "enumTitles": [
                "Owner financing available",
                "Mineral rights included",
                "Has a property video",
                "Has a virtual tour",
                "Has an exterior 3D tour",
                "Has a custom parcel map"
              ]
            }
          },
          "residence": {
            "title": "Has a House",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Whether the land must include a residence."
          },
          "hoa": {
            "title": "Homeowners Association",
            "enum": [
              "any",
              "mandatory",
              "voluntary",
              "none"
            ],
            "type": "string",
            "description": "Filter by whether the property belongs to an HOA."
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of properties to collect across every URL and location. Set to 0 to collect everything each search can return. Tip: start with 10-50 to check the output, then increase. Note: Land And Farm itself only serves the first 500 properties of any one search, so to go beyond 500 split the work into several narrower searches (by county, acreage band or price band) or add more locations. As a safety limit, no single run will ever collect more than 100,000 properties in total, no matter how many searches or locations you combine."
          },
          "includePropertyDetails": {
            "title": "Include Full Property Details",
            "type": "boolean",
            "description": "Open each property page to also collect the full description, amenities, price history, all photos, documents, MLS and parcel numbers, and the broker's address and license number. Slower, but far richer data. Turn off for a fast overview."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}