# US Land for Sale Listings Scraper (`nimbryxo-studio/us-land-for-sale-listings-scraper`) Actor

Search US land-for-sale listings by state, county or city: price, acres, location, coordinates, features, images and broker contact, with automatic fallback to sister sites when one is unreachable.

- **URL**: https://apify.com/nimbryxo-studio/us-land-for-sale-listings-scraper.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Land for Sale Listings Scraper

Find rural, recreational, agricultural, residential and commercial land for sale across the
United States. This actor reads three independent public land marketplaces — LandSearch,
LandHub and LandCentury — without cookies, logins, API keys or a proxy, and returns one clean
record per parcel with price, price per acre, acreage, location, GPS, features, taxes, price
history, photos, documents and broker contact.

It accepts typed locations (state, county, city, ZIP) or pasted search URLs. LandWatch and
Land.com search URLs from older tasks are mapped to the same location on the current sources, so
existing schedules keep working. There is no browser, no residential proxy and no fabricated
fallback record: if a query genuinely matches nothing, the actor says so instead of inventing a
row.

### What this actor does

- Searches by state, county, city, ZIP, keyword, land type, one of 72 land tags, sale/lease/
  auction format, status, price, acreage, price per acre, bedrooms, bathrooms, building size,
  year built and days on market.
- Sorts by newest, price, acreage, recently updated or the source's recommended order.
- Fetches specific listing URLs or numeric IDs in bulk.
- Enriches every listing with detail-page data: full description, coordinates, street address,
  property type, features, utilities, schools, taxes, legal description, deed type, parcel ID,
  listing history, owner-financing terms, auction/video/map links, attachments and agent or
  broker contact details.
- Omits empty fields at every depth. No nulls, empty strings, empty arrays or empty objects are
  pushed.
- Uses three sources for resilience: LandSearch (largest catalog and deepest filters), LandHub
  (public JSON API and broker contact block) and LandCentury (owner-financing, parcel and deed
  data). `dataSource: auto` tries them in that order.

### Output per listing

`type` is `land_listing`. Fields are present only when the source provides a real value.

- Identity: `id`, `url`, `title`, `source`, `sourceUrl`, `scrapedAt`
- Price: `price`, `priceCurrency`, `pricePerAcre`, `ownerFinancePrice`,
  `ownerFinanceTerms`, `estimatedMonthlyPayment`, `deposit`, `processingFee`
- Size/location: `acres`, `streetAddress`, `city`, `county`, `state`, `zip`, `latitude`,
  `longitude`
- Classification: `listingType`, `listingStatus`, `landType`, `propertyCategory`,
  `propertyTypes`, `tags`, `zoning`, `roadAccess`, `terrain`, `subdivision`, `showing`
- Building: `bedrooms`, `bathrooms`, `squareFeet`, `lotSizeSquareFeet`, `yearBuilt`
- Land facts: `features`, `utilities`, `schools`, `schoolDistrict`, `taxes`, `taxYear`,
  `parcelId`, `parcelIds`, `deedType`, `legalDescription`, `mls`, `propertyNumber`
- Media and files: `images`, `documents`, `videoUrl`, `mapUrl`, `auctionUrl`, `buyNowUrl`,
  `parcelBoundary` (GeoJSON Polygon/MultiPolygon; opt-in, LandHub map shares)
- Broker: `broker`, `brokerName`, `brokerPhone`, `brokerageName`, `brokeragePhone`,
  `brokerageEmail`, `brokerageWebsite`, `brokerageAddress`, `brokerageLogo`, `agentProfileUrl`
- History and flags: `priceHistory`, `listedAt`, `publishedAt`, `updatedAt`, `waterfront`,
  `hasUtilities`, `hasRoadAccess`, `surveyed`, `mineral`, `timber`, `fenced`, `wooded`,
  `isOwnerFinanced`, `isAuction`

Feature flags are included only when true, which means "not stated" rather than "false".

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `search` | `search` uses locations/filters, `byUrls` reads `listingUrls`, `byIds` reads `listingIds`. |
| `searchUrls` | string list | `[]` | Optional legacy search URLs. LandWatch/Land.com category or state URLs are mapped to LandSearch; LandSearch/LandHub/LandCentury search or listing URLs are used directly. |
| `searchQuery` | string | - | Free-text keyword matched against title, description, features, location and tags. |
| `state` | select | - | US state; `(Any state)` searches nationwide. |
| `county` | string | - | County name, with or without the word County. |
| `city` | string | - | City name. Use with a state for an exact city page. |
| `zipCode` | string | - | 5-digit ZIP; overrides city/county/state. |
| `landType` | select | `any` | Agricultural, commercial, recreational or residential. |
| `tag` | select | `any` | One of 72 land tags such as hunting, waterfront, timberland or owner financing. |
| `listingFormat` | select | `any` | For sale, lease or auction. |
| `listingStatus` | select | `any` | Active, under contract or sold, when the source reports it. |
| `minPrice` | integer | - | Minimum asking price in USD. |
| `maxPrice` | integer | - | Maximum asking price in USD. |
| `minAcres` | number | - | Minimum acreage. |
| `maxAcres` | number | - | Maximum acreage. |
| `minPricePerAcre` | number | - | Minimum price per acre. |
| `maxPricePerAcre` | number | - | Maximum price per acre. |
| `minBedrooms` | integer | - | Minimum bedrooms on the property. |
| `minBathrooms` | number | - | Minimum bathrooms; decimals allowed. |
| `minBuildingSqft` | integer | - | Minimum house/building square footage. |
| `maxBuildingSqft` | integer | - | Maximum house/building square footage. |
| `minYearBuilt` | integer | - | Earliest house/building year. |
| `maxYearBuilt` | integer | - | Latest house/building year. |
| `maxDaysOnMarket` | integer | - | Maximum days since the listing was first seen. |
| `hasStructure` | select | `any` | Any, with house/building, or land only. |
| `requireImages` | boolean | `false` | Drop listings without photo URLs. |
| `sortBy` | select | `forYou` | Recommended, newest, price high/low, acreage large/small, recently updated. |
| `dataSource` | select | `auto` | Automatic or force LandSearch, LandHub or LandCentury. |
| `includeDetails` | boolean | `true` | Visit each detail page for the full record. |
| `includeParcelBoundary` | boolean | `false` | Opt-in: fetch LandHub/id.land map-share GeoJSON and add `parcelBoundary` when available. |
| `maxItems` | integer | `20` | Hard cap on emitted listings (1–5,000). |
| `listingUrls` | string list | `[]` | Direct listing URLs for `mode=byUrls`. |
| `listingIds` | string list | `[]` | LandSearch or LandHub numeric IDs for `mode=byIds`. |

The daily prefill is the cheapest output-producing run:
`{"mode":"search","searchUrls":["https://www.landwatch.com/all-land-for-sale"],"maxItems":3,"includeDetails":true}`.
The legacy `proxyConfiguration` key from old tasks is accepted but ignored, because no proxy is
needed.

#### Examples

Nationwide, three records:

```json
{
  "mode": "search",
  "maxItems": 3
}
```

Hunting land in Texas, at least 20 acres, under $500,000, cheapest first:

```json
{
  "mode": "search",
  "state": "Texas",
  "tag": "hunting",
  "minAcres": 20,
  "maxPrice": 500000,
  "sortBy": "priceLowToHigh",
  "maxItems": 50
}
```

Owner-financed land in Arizona:

```json
{
  "mode": "search",
  "state": "Arizona",
  "tag": "owner-financing",
  "maxItems": 25
}
```

Specific listing URLs:

```json
{
  "mode": "byUrls",
  "listingUrls": [
    "https://www.landsearch.com/properties/120-fabelhaft-cir-fredericksburg-tx-78624/4145054"
  ],
  "maxItems": 1
}
```

Specific LandHub or LandSearch IDs:

```json
{
  "mode": "byIds",
  "dataSource": "landhub",
  "listingIds": ["5357"],
  "maxItems": 1
}
```

### Use cases

- Land investors screen acreage, price per acre and owner-financing terms by county or state.
- Hunting and recreational buyers shortlist parcels by tag, water, timber or road access.
- Rural brokers monitor competing listings, price changes and broker contacts.
- Agricultural researchers track farmland and ranch inventory across markets.
- Data teams merge three land marketplaces into one normalized dataset without proxy costs.

### FAQ

**Is this affiliated with any listing site?**
No. It is an independent reader of publicly available listing pages and APIs.

**Do I need a proxy or login?**
No. The actor uses cookieless public sources and needs no proxy, cookies, account or API key.

**What happens to my old LandWatch or Land.com search URLs?**
State and nationwide search URLs are mapped to the equivalent location on the current sources.
Old direct LandWatch/Land.com listing URLs cannot be fetched without a browser; the actor logs
that and continues with any other search fields you supplied.

**Why do I get fewer rows than the source count?**
LandSearch is read through its public JSON API in 100-listing pages, so the former 5,000-row
query ceiling no longer applies; `maxItems` is the only cap. LandHub is read 1,000 listings at a
time (about 25,000 available), and LandCentury about 3,000.

**How do I choose a source?**
Leave `dataSource` at `auto` for the best coverage. Force `landsearch`, `landhub` or
`landcentury` when you need a specific site's fields or want to compare sources.

**Does this actor show sold or under-contract listings?**
Yes when a source publishes them. LandSearch is active-sale only; automatic mode routes
under-contract and sold searches to LandHub and LandCentury, which expose those statuses.

**Why are some fields missing on some rows?**
Sources disclose different data. Missing means the source did not state it; fields are never
filled with guesses, nulls or empty values.

**Are images and documents hotlinkable?**
Yes. The actor returns the source CDN URLs directly; they were verified without cookies during
the revamp.

**Can I get boundary polygons?**
Yes for listings whose LandHub record includes a public id.land map share. Set
`includeParcelBoundary` to `true`; the actor reads the map-share GeoJSON and adds
`parcelBoundary` as a GeoJSON Polygon/MultiPolygon. LandSearch/LandCentury do not publish
geometry, and `mapUrl` is still returned where available.

### Data source and honest limits

- LandSearch is read through `api.landsearch.com/v1/listings` (100 per page, filters and detail
  included). The translate HTML mirror and a Chromium fallback cover API/page failures; the
  canonical listing URL remains in `url`.
- LandHub is read through its public JSON search API and Next.js detail pages.
- LandCentury is read through its server-rendered search and detail pages. Its prices are
  stored in cents by the source and are converted to dollars.
- LandHub and LandCentury cannot apply every filter server-side; the actor filters the fetched
  rows locally, so a highly selective filter can require more pages. LandCentury sort orders are
  applied to the fetched page set (at most five pages) because its public pages have no sort axis.
- Listing status and sold data are limited to what each source publishes. There is no complete
  historical sold archive or agent-directory record type. Parcel polygons are available only
  when the LandHub/id.land map share contains a public Polygon and `includeParcelBoundary` is on.
- All fields are omit-empty; there are no sentinel records.

# Actor input Schema

## `mode` (type: `string`):

What to fetch. `search` uses the location/filter fields below; `byUrls` reads listingUrls; `byIds` reads listingIds.

## `searchUrls` (type: `array`):

Optional legacy search URLs. LandWatch/Land.com category or state URLs are mapped to the equivalent LandSearch location; LandSearch, LandHub and LandCentury search URLs are used directly. Direct listing URLs are also accepted. Leave empty to use the location and filter fields.

## `searchQuery` (type: `string`):

Free-text keyword matched against title, description, features, county, city and tags, e.g. `hunting`, `creek`, `owner financing`.

## `state` (type: `string`):

US state to search. Leave as Any state for nationwide results.

## `county` (type: `string`):

County name, with or without the word County, e.g. `Gillespie` or `Gillespie County`. Use with a state for an exact LandSearch county page.

## `city` (type: `string`):

City name, e.g. `Fredericksburg`. Use with a state for an exact LandSearch city page.

## `zipCode` (type: `string`):

5-digit US ZIP code, e.g. `78624`. Overrides city/county/state when set.

## `landType` (type: `string`):

Broad land classification. `any` leaves it unset.

## `tag` (type: `string`):

One of the 70 land tags LandSearch publishes (hunting, waterfront, owner financing, timberland, …). `any` leaves it unset.

## `listingFormat` (type: `string`):

Sale, lease or auction listings. `any` includes every format.

## `listingStatus` (type: `string`):

Filter by reported status: active, under contract or sold. Availability depends on the source.

## `minPrice` (type: `integer`):

Drop listings priced below this amount.

## `maxPrice` (type: `integer`):

Drop listings priced above this amount.

## `minAcres` (type: `number`):

Drop listings smaller than this acreage.

## `maxAcres` (type: `number`):

Drop listings larger than this acreage.

## `minPricePerAcre` (type: `number`):

Drop listings below this price per acre.

## `maxPricePerAcre` (type: `number`):

Drop listings above this price per acre.

## `minBedrooms` (type: `integer`):

Only listings with at least this many bedrooms.

## `minBathrooms` (type: `number`):

Only listings with at least this many bathrooms. Decimals allowed (e.g. 1.5).

## `minBuildingSqft` (type: `integer`):

Only listings whose house/building is at least this large.

## `maxBuildingSqft` (type: `integer`):

Only listings whose house/building is at most this large.

## `minYearBuilt` (type: `integer`):

Only listings with a house/building built in or after this year.

## `maxYearBuilt` (type: `integer`):

Only listings with a house/building built in or before this year.

## `maxDaysOnMarket` (type: `integer`):

Drop listings first seen longer ago than this many days.

## `hasStructure` (type: `string`):

Filter listings by whether they include a house or building.

## `requireImages` (type: `boolean`):

Drop listings with no photo URLs.

## `sortBy` (type: `string`):

Sort results. Sources that cannot sort server-side are sorted locally over the fetched page set.

## `dataSource` (type: `string`):

`auto` tries LandSearch, then LandHub, then LandCentury until it finds matching listings. Choose a source to force it.

## `includeDetails` (type: `boolean`):

Visit each listing's detail page for description, coordinates, features, taxes, history and broker contact. Turn off for a faster list-only run.

## `includeParcelBoundary` (type: `boolean`):

Opt-in: fetch the public LandHub/id.land map-share GeoJSON and add the parcel Polygon/MultiPolygon as `parcelBoundary` when available. Adds one request per LandHub listing.

## `maxItems` (type: `integer`):

Hard cap on emitted listings (1-5000).

## `listingUrls` (type: `array`):

Direct listing URLs from LandSearch, LandHub or LandCentury, e.g. `https://www.landsearch.com/properties/.../4145054`. LandWatch/Land.com detail URLs are accepted by the schema but cannot be fetched cookielessly.

## `listingIds` (type: `array`):

LandSearch or LandHub numeric listing IDs. LandCentury IDs need a slug; use byUrls for those.

## Actor input object example

```json
{
  "mode": "search",
  "searchUrls": [
    "https://www.landwatch.com/all-land-for-sale"
  ],
  "searchQuery": "",
  "state": "",
  "county": "",
  "city": "",
  "zipCode": "",
  "landType": "any",
  "tag": "any",
  "listingFormat": "any",
  "listingStatus": "any",
  "hasStructure": "any",
  "requireImages": false,
  "sortBy": "forYou",
  "dataSource": "auto",
  "includeDetails": true,
  "includeParcelBoundary": false,
  "maxItems": 3,
  "listingUrls": [],
  "listingIds": []
}
```

# Actor output Schema

## `listings` (type: `string`):

Dataset containing all scraped land-for-sale listings.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchUrls": [
        "https://www.landwatch.com/all-land-for-sale"
    ],
    "searchQuery": "",
    "state": "",
    "county": "",
    "city": "",
    "zipCode": "",
    "landType": "any",
    "tag": "any",
    "listingFormat": "any",
    "listingStatus": "any",
    "hasStructure": "any",
    "requireImages": false,
    "sortBy": "forYou",
    "dataSource": "auto",
    "includeDetails": true,
    "includeParcelBoundary": false,
    "maxItems": 3,
    "listingUrls": [],
    "listingIds": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/us-land-for-sale-listings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchUrls": ["https://www.landwatch.com/all-land-for-sale"],
    "searchQuery": "",
    "state": "",
    "county": "",
    "city": "",
    "zipCode": "",
    "landType": "any",
    "tag": "any",
    "listingFormat": "any",
    "listingStatus": "any",
    "hasStructure": "any",
    "requireImages": False,
    "sortBy": "forYou",
    "dataSource": "auto",
    "includeDetails": True,
    "includeParcelBoundary": False,
    "maxItems": 3,
    "listingUrls": [],
    "listingIds": [],
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/us-land-for-sale-listings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchUrls": [
    "https://www.landwatch.com/all-land-for-sale"
  ],
  "searchQuery": "",
  "state": "",
  "county": "",
  "city": "",
  "zipCode": "",
  "landType": "any",
  "tag": "any",
  "listingFormat": "any",
  "listingStatus": "any",
  "hasStructure": "any",
  "requireImages": false,
  "sortBy": "forYou",
  "dataSource": "auto",
  "includeDetails": true,
  "includeParcelBoundary": false,
  "maxItems": 3,
  "listingUrls": [],
  "listingIds": []
}' |
apify call nimbryxo-studio/us-land-for-sale-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/us-land-for-sale-listings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5lCvNux7spaf3IjUc/builds/UX5D6nyGHXwDzoFJi/openapi.json
