{
  "openapi": "3.0.1",
  "info": {
    "title": "LandWatch Scraper - Land Listings, Acreage & Agents",
    "description": "Scrape LandWatch.com land for sale across the US: price, acreage, price per acre, location, property type, photos and listing history, plus the broker or agent with phone and website. Search any state, county or city, or paste a URL. Daily runs can return only new listings and price drops.",
    "version": "0.0",
    "x-build-id": "qWeHnJrzp3gmkhfjX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~landwatch-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-landwatch-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/memo23~landwatch-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-landwatch-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/memo23~landwatch-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-landwatch-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "States, counties or cities to search, one per line, for example `Texas`, `Harris County, TX` or `Fredericksburg, TX`. Each name is matched the way the LandWatch search box matches it, and each location is searched on its own. Not needed when you paste LandWatch URLs below.",
            "items": {
              "type": "string"
            }
          },
          "propertyTypes": {
            "title": "Property types",
            "type": "array",
            "description": "LandWatch categories. Pick several to get listings in any of them. Leave empty for every type.",
            "items": {
              "type": "string",
              "enum": [
                "farms-ranches",
                "hunting-property",
                "recreational-property",
                "timberland-property",
                "waterfront-property",
                "lakefront-property",
                "riverfront-property",
                "oceanfront-property",
                "homesites",
                "homes",
                "undeveloped-land",
                "horse-property",
                "commercial-property"
              ],
              "enumTitles": [
                "Farms and ranches",
                "Hunting land",
                "Recreational",
                "Timberland",
                "Waterfront",
                "Lakefront",
                "Riverfront",
                "Oceanfront",
                "Homesites",
                "Houses",
                "Undeveloped land",
                "Horse property",
                "Commercial property"
              ]
            }
          },
          "availability": {
            "title": "Availability",
            "enum": [
              "for-sale",
              "available",
              "under-contract",
              "sold",
              "off-market",
              "any"
            ],
            "type": "string",
            "description": "Sold returns closed listings, useful for price-per-acre comparisons.",
            "default": "for-sale"
          },
          "minPrice": {
            "title": "Minimum price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no lower limit."
          },
          "maxPrice": {
            "title": "Maximum price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no upper limit."
          },
          "minAcres": {
            "title": "Minimum acres",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no lower limit."
          },
          "maxAcres": {
            "title": "Maximum acres",
            "minimum": 0,
            "type": "integer",
            "description": "Leave empty for no upper limit."
          },
          "minBeds": {
            "title": "Minimum bedrooms",
            "minimum": 0,
            "type": "integer",
            "description": "Only properties with a house of at least this many bedrooms. Leave empty for land with or without a house."
          },
          "hasHouse": {
            "title": "House on the property",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Either returns land with or without a house. Bare land only skips listings with a house.",
            "default": "any"
          },
          "mineralRights": {
            "title": "Mineral rights included",
            "type": "boolean",
            "description": "Only listings where the mineral rights come with the land.",
            "default": false
          },
          "ownerFinancing": {
            "title": "Owner financing",
            "type": "boolean",
            "description": "Only listings the seller will finance.",
            "default": false
          },
          "activities": {
            "title": "Activities",
            "type": "array",
            "description": "Land the seller tags for these uses. Pick several to get land tagged for any of them. Hunting is matched through the Hunting land category, as on LandWatch.",
            "items": {
              "type": "string",
              "enum": [
                "hunting",
                "fishing",
                "horseback-riding",
                "camping",
                "boating",
                "off-roading",
                "rving",
                "golfing",
                "beach",
                "canoeing-kayaking",
                "conservation",
                "aviation",
                "aquatic-sporting",
                "skiing"
              ],
              "enumTitles": [
                "Hunting",
                "Fishing",
                "Horseback riding",
                "Camping",
                "Boating",
                "Off-roading",
                "RVing",
                "Golfing",
                "Beach",
                "Canoeing and kayaking",
                "Conservation",
                "Aviation",
                "Aquatic sports",
                "Skiing"
              ]
            }
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional. Must be on landwatch.com. When any URL is given, the URLs are used and the search fields above are ignored. Not needed in Agent directory mode. Supported patterns:\n\n- State / county land listings, with optional category and price filters (e.g. `https://www.landwatch.com/texas-land-for-sale/price-under-6000`, `https://www.landwatch.com/nebraska-land-for-sale/farms-ranches/price-250000-499999`, `https://www.landwatch.com/south-carolina-land-for-sale/gray-court`)\n- Find an agent by location (e.g. `https://www.landwatch.com/find-agent/austin-county-t/`)\n- Find an agent by name (e.g. `https://www.landwatch.com/find-agent/name/john/`)\n- Individual property pages (`.../pid/<id>`)\n- Agent profile pages (`/profile/<slug>/<id>`)",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum number of items OR limit the results per crawl",
            "type": "integer",
            "description": "Maximum number of items that will be scraped.",
            "default": 1000
          },
          "monitoringMode": {
            "title": "Run in monitoring mode where only newly listings compared to previous runs will be scraped",
            "type": "boolean",
            "description": "If checked, it will only scrape newly listings compared to what has been scraped in previous runs.",
            "default": false
          },
          "flattenOutput": {
            "title": "Flatten output records",
            "type": "boolean",
            "description": "If checked, dataset records are flattened for easier consumption: listing-card fields are lifted to the top level (price, address, brokerName, etc.), and convenience fields (`url`, `description`, `imageUrls`, `logoUrl`, `portraitUrl`) are added with full LandWatch URLs. If unchecked, records keep the original nested API shape (`basicInfo`, `propertyData`, `brokerDetails`, etc.).",
            "default": false
          },
          "fetchSellerAgentDetails": {
            "title": "Fetch full seller / agent profile for each land listing",
            "type": "boolean",
            "description": "Off by default (fastest runs). If checked, every land listing is enriched with the full seller / agent profile (`otherListings`, `soldListings`, `sellerCarouselListings`, `sellerMedia` socials, `landStarAwards`, etc.) attached as `agentProfile`. Adds one extra request per listing — roughly doubles run time and dataset cost.",
            "default": false
          },
          "enrichEmails": {
            "title": "Enrich with contact emails (experimental)",
            "type": "boolean",
            "description": "If enabled, finds a contact email for each result from its own website (or by discovering it from the name). Adds contactEmail + contactWebsite columns plus a detailed emailEnrichment object. Best-effort. Each email found adds a separate charge (see the Pricing tab); results without an email do not.",
            "default": false
          },
          "qualifyByPayment": {
            "title": "💳 Qualify by payment (flag businesses that take money online)",
            "type": "boolean",
            "description": "Requires \"Enrich with contact emails\". Scans each business's website — reusing the pages already fetched for email discovery, so no extra cost or time — for payment processors and e-commerce platforms (Stripe, Shopify, PayPal, Paddle, Lemon Squeezy, WooCommerce, Square, Chargebee and more). Adds takesPayments (is this a real paying business?), paymentProcessors (which stack), stripeLiveKey (the public key if exposed) and paymentConfidence. Turn raw contacts into monetization-qualified leads. No extra charge — included with each enriched company.",
            "default": false
          },
          "agentDirectory": {
            "title": "Agent directory mode",
            "type": "boolean",
            "description": "Return land agents and brokers that match the filters below instead of crawling Start URLs. Each agent row carries phone numbers, company, website, licence number, office address, listing counts, price and acreage ranges and the profile link. Covers agents who list on LandWatch, Land.com and Land And Farm. Results arrive in seconds; maxItems caps the number of agents. Each agent is one result; an agent that comes with an email also bills one contact email, the same as an email found in a crawl.",
            "default": false
          },
          "agentState": {
            "title": "State",
            "type": "string",
            "description": "Two-letter code or full name, for example TX or Texas. Matches agents based in the state or with listings there."
          },
          "agentCity": {
            "title": "City",
            "type": "string",
            "description": "Office city, for example Austin."
          },
          "agentCompany": {
            "title": "Company name contains",
            "type": "string",
            "description": "For example Whitetail Properties or Keller Williams."
          },
          "agentName": {
            "title": "Agent name contains",
            "type": "string",
            "description": "Part of the agent's name, for example Smith."
          },
          "agentType": {
            "title": "Agent type",
            "enum": [
              "all",
              "land-specialists",
              "mls-agents"
            ],
            "type": "string",
            "description": "Land specialists keep their own profile on LandWatch. MLS agents reach LandWatch through their local MLS; their office phone is usually the brokerage line.",
            "default": "all"
          },
          "agentHasCellPhone": {
            "title": "Only agents with a cell phone",
            "type": "boolean",
            "description": "Skip agents without a cell phone number.",
            "default": false
          },
          "agentHasWebsite": {
            "title": "Only agents with a website",
            "type": "boolean",
            "description": "Skip agents without a website.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "type": "integer",
            "description": "Maximum number of pages that can be processed at the same time.",
            "default": 10
          },
          "minConcurrency": {
            "title": "Min Concurrency",
            "type": "integer",
            "description": "Minimum number of pages that will be processed at the same time.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max Request Retries",
            "type": "integer",
            "description": "Number of times the crawler will retry a failed request before giving up.",
            "default": 100
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave as it is unless you want to use your own proxies.<br><br>For details, see <a href='https://apify.com/apify/web-scraper#proxy-configuration' target='_blank' rel='noopener'>Proxy configuration</a> in README.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}