# Landandfarm.com Property Scraper 🚜 (`shahidirfan/landandfarm-com-property-scraper`) Actor

Extract land, farms, ranches, and rural real estate listings from LandAndFarm.com. Gather property prices, acreage, locations, descriptions, and listing URLs for real estate market research, investment analysis, lead generation, and tracking rural property trends.

- **URL**: https://apify.com/shahidirfan/landandfarm-com-property-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

### What does Landandfarm.com Property Scraper do?

Landandfarm.com Property Scraper collects land, farm, ranch, hunting and recreational property listings from Landandfarm.com search pages. Paste any Landandfarm search URL, including state, county, city or property type searches, and the Actor returns prices, acreage, price per acre, location, coordinates, broker contact details, land types and every photo URL, with the full seller description when detail collection is on.

The Actor is built for land brokers, investors, appraisers and researchers who need a clean, exportable dataset of US land listings instead of copying listings by hand.

### Why use Landandfarm.com Property Scraper?

- **One row per property** - Get a structured record for every listing: price, acreage, location, land types, broker, images and description.
- **Filters come from the URL** - If you can build a search on Landandfarm.com, you can scrape it. State, county, city, property type and paging all work.
- **Broker contact data for lead work** - Name, company, phone and broker page URL are included when the listing publishes them.
- **Ready for analysis** - Export to CSV, Excel, JSON or XML, or pull the dataset from the Apify API into a sheet, database or CRM.
- **Runs on a schedule** - Track new listings, price cuts and status changes by running the same searches daily or weekly.

### What data can you extract from Landandfarm.com?

| Field                                                     | Description                                                             |
| --------------------------------------------------------- | ----------------------------------------------------------------------- |
| `id`                                                      | Landandfarm listing id                                                  |
| `title`                                                   | Listing title, for example the property or tract name                   |
| `url`                                                     | Direct listing page URL                                                 |
| `status`                                                  | `Available` or `Under Contract`                                         |
| `price`                                                   | Asking price in USD                                                     |
| `pricePerAcre`                                            | Price per acre in USD                                                   |
| `acres`                                                   | Lot size in acres                                                       |
| `propertyTypes`                                           | Land types such as Hunting Land, Timberland, Farms, Ranches             |
| `address`                                                 | Street address when the seller published one                            |
| `city`, `county`, `state`, `stateAbbreviation`, `zip`     | Location details                                                        |
| `latitude`, `longitude`                                   | Property coordinates                                                    |
| `beds`, `baths`, `homesqft`                               | House details, filled only for properties with a home                   |
| `brokerName`, `brokerCompany`, `brokerPhone`, `brokerUrl` | Listing broker contact data                                             |
| `description`                                             | Full seller description                                                 |
| `amenities`                                               | Grouped amenities such as Activities, Present Use, Street and Utilities |
| `documents`                                               | Attached files such as plats, aerials and surveys                       |
| `directions`                                              | Driving directions when the seller added them                           |
| `imageCount`, `thumbnailUrl`, `imageUrls`                 | Photo count and direct photo links, every photo the source exposes      |
| `dateListed`, `dateUpdated`                               | Listing dates from the site                                             |
| `searchUrl`                                               | The search URL that produced the row                                    |

### How to use Landandfarm.com Property Scraper

1. Open the Actor on Apify Store.
2. Paste one or more Landandfarm.com search URLs into **Search URLs**.
3. Set **Maximum listings** and **Maximum pages per search**.
4. Leave **Include full property details** off for fast runs, or turn it on for full descriptions, amenities, documents and broker phone numbers.
5. Run the Actor and open the dataset, or export it.

#### How do I get a search URL?

Open Landandfarm.com, set the state, county, city, property type, price or acreage filters you need, then copy the URL from the address bar. Every filter the site supports is kept in that URL, and the Actor follows it.

### Input Parameters

| Parameter            | Type    | Required | Default                 | Description                                                                                                                                |
| -------------------- | ------- | -------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `urls`               | Array   | Yes      | South Carolina land URL | One or more Landandfarm search URLs                                                                                                        |
| `maxResults`         | Integer | No       | `20`                    | Stop after this many listings across all URLs. Large searches are split into price bands, so 1000+ works                                   |
| `maxPages`           | Integer | No       | `50`                    | Safety cap on result pages per search URL, 25 listings per page. Raise it for runs above 1200 listings                                     |
| `includeDetails`     | Boolean | No       | `false`                 | Open each listing for the full description, amenities, documents and broker phone. Photo URLs, price, acreage and location come without it |
| `proxyConfiguration` | Object  | No       | Off                     | Turn Apify Proxy on only if runs return access denied                                                                                      |

### Output Data

| Field               | Type    | Description                                                                                      |
| ------------------- | ------- | ------------------------------------------------------------------------------------------------ |
| `id`                | Integer | Listing id                                                                                       |
| `title`             | String  | Listing title                                                                                    |
| `url`               | String  | Listing page URL                                                                                 |
| `status`            | String  | Available or Under Contract                                                                      |
| `price`             | Integer | Asking price in USD                                                                              |
| `pricePerAcre`      | Number  | Price per acre                                                                                   |
| `acres`             | Number  | Acreage                                                                                          |
| `propertyTypes`     | Array   | Land type labels                                                                                 |
| `address`           | String  | Street address when published                                                                    |
| `city`              | String  | City                                                                                             |
| `county`            | String  | County                                                                                           |
| `state`             | String  | State name                                                                                       |
| `stateAbbreviation` | String  | Two letter state code                                                                            |
| `zip`               | String  | ZIP code                                                                                         |
| `latitude`          | Number  | Latitude                                                                                         |
| `longitude`         | Number  | Longitude                                                                                        |
| `beds`              | Integer | Bedrooms, null for bare land                                                                     |
| `baths`             | Number  | Bathrooms, null for bare land                                                                    |
| `homesqft`          | Integer | Home size, null for bare land                                                                    |
| `brokerName`        | String  | Listing broker                                                                                   |
| `brokerCompany`     | String  | Brokerage                                                                                        |
| `brokerPhone`       | String  | Contact phone                                                                                    |
| `brokerUrl`         | String  | Broker profile URL                                                                               |
| `description`       | String  | Full seller description                                                                          |
| `amenities`         | Array   | Grouped amenities                                                                                |
| `documents`         | Array   | Attached PDF files                                                                               |
| `directions`        | String  | Driving directions                                                                               |
| `imageCount`        | Integer | Number of photos                                                                                 |
| `thumbnailUrl`      | String  | Main photo URL                                                                                   |
| `imageUrls`         | Array   | Photo URLs. The main photo when the source omits the album; the full album with `includeDetails` |
| `dateListed`        | String  | Listing date                                                                                     |
| `dateUpdated`       | String  | Last update date                                                                                 |
| `searchUrl`         | String  | Input URL that produced the row                                                                  |

### Usage Examples

#### Scrape a state search

Collect the first 100 South Carolina land listings, fast, without opening each listing:

```json
{
    "urls": ["https://www.landandfarm.com/search/South-Carolina-land-for-sale/"],
    "maxResults": 100,
    "maxPages": 4,
    "includeDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
```

#### Scrape several counties in one run

Combine county searches for one dataset. Duplicate listings across URLs are saved once:

```json
{
    "urls": [
        "https://www.landandfarm.com/search/kershaw-county-sc-land-for-sale/",
        "https://www.landandfarm.com/search/allendale-county-sc-land-for-sale/",
        "https://www.landandfarm.com/search/texas-land-for-sale/"
    ],
    "maxResults": 300,
    "maxPages": 1,
    "includeDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
```

#### Start from a specific results page

Begin on page 3 of a large search and collect the next batches:

```json
{
    "urls": ["https://www.landandfarm.com/search/texas-land-for-sale/page-3/"],
    "maxResults": 125,
    "maxPages": 5,
    "includeDetails": true,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
```

### Sample Output

One record from a run with **Include full property details** on. A run without it returns the same fields minus `description`, `amenities`, `documents` and `directions`; `brokerPhone` stays when the search result already carries it.

```json
{
    "id": 43012571,
    "title": "Robwood Plantation",
    "url": "https://www.landandfarm.com/property/robwood-plantation-43012571/",
    "status": "Available",
    "price": 1550000,
    "pricePerAcre": 15637.61,
    "acres": 99.12,
    "propertyTypes": ["Farms", "Residential Land", "Horse Property"],
    "address": "1792 Appleton Road",
    "city": "Allendale",
    "county": "Allendale County",
    "state": "South Carolina",
    "stateAbbreviation": "SC",
    "zip": "29810",
    "latitude": 33.041638,
    "longitude": -81.365441,
    "beds": 5,
    "baths": 4,
    "homesqft": 7500,
    "brokerName": "Stan Swofford",
    "brokerCompany": "True South Properties",
    "brokerPhone": "(803) 386-2712",
    "brokerUrl": "https://www.landandfarm.com/broker/stan-swofford-365405/",
    "description": "PRICE REDUCED!! Robwood Plantation, circa 1853, is a beautiful historic local landmark located in Appleton, Allendale County, SC. The historic home and associated outbuildings are being offered on 99.12 or a separate option for 27.44 acres.",
    "amenities": [{ "group": "Other Utilities", "items": ["Gas Avail. On Site"] }],
    "documents": [
        {
            "title": "Aerial Map 99 Ac Robwood Plantation",
            "url": "https://files.realstack.com/uploads/user/3100/listing-aerial-map/6515291606a7e87e.pdf"
        }
    ],
    "directions": "From Allendale: Turn left onto SC-125 N and travel for approximately 4 miles.",
    "imageCount": 219,
    "thumbnailUrl": "https://assets.landandfarm.com/resizedimages/394/0/h/80/1-6656950491",
    "imageUrls": ["https://assets.landandfarm.com/resizedimages/10000/0/h/80/w/1-6656950491"],
    "dateListed": "2026-10-01",
    "dateUpdated": "2026-11-19",
    "searchUrl": "https://www.landandfarm.com/search/South-Carolina-land-for-sale/"
}
```

### Tips for Best Results

- **Ask for volume, the Actor deepens the search.** One search request is capped at 20 pages of 25 listings, so the Actor splits a large search into price bands (under 25k, 25k-50k, and so on) and keeps collecting. `maxPages` is the safety cap, 50 pages by default, which covers 1000 listings plus overlap between bands. Raise it when you need more, and use county or city URLs for very large states.
- **Turn on detail collection for lead work.** Broker phone numbers, full descriptions, amenities and document links come from the listing page, so they are missing when `includeDetails` is off. Photo URLs, price, acreage, coordinates and broker name and company are always included.
- **Add a proxy only if you see access denied.** Most runs reach the site directly. If a run stops with `403`, enable Apify Proxy in the input.
- **Test with a small limit first.** Set `maxResults` to 10 or 20 to check the output fields before a large run.
- **Run it on a schedule.** The same URLs on a daily schedule give you new listings, price changes and status changes without manual work.
- **Expect empty optional fields.** Bare land has no bedrooms or square footage, and some sellers publish no address, phone or directions.

### Integrations

- **Google Sheets** - Send each run to a spreadsheet for sorting and sharing.
- **Webhooks** - Trigger your own workflow when a run finishes.
- **Make or Zapier** - Push new listings into a CRM or lead pipeline.
- **Apify API** - Read the dataset programmatically for apps and dashboards.
- **CSV, Excel, JSON, XML** - Download the dataset in the format your tools already accept.

### Frequently Asked Questions

#### Can I export Landandfarm.com data to CSV or Excel?

Yes. Every Apify dataset can be downloaded as CSV, Excel, JSON, XML and more, or read directly through the Apify API.

#### How many listings can one run return?

One search request stops at 20 result pages, so the Actor splits larger searches into price bands and collects across them. A run returns up to `maxPages` pages of 25 listings per search URL, 1250 listings with the default of 50 pages. Raise `maxPages` for more, and add county or city URLs for very large states.

#### Why did the run stop before my maximum?

The site caps one search request at 20 pages, 500 listings. The Actor splits large searches into price bands to go past that, but a search that already carries its own price or acreage filter cannot be split further, and a band where hundreds of listings share one price has the same limit. Use a state or county URL without price filters and raise `maxPages` when you need more.

#### Why are bedrooms and square footage empty?

Those fields only exist for properties with a house. Land, farm and hunting tracts are usually listed without a building, so the fields stay null.

#### Why is broker phone empty on some listings?

The phone is only saved when the listing page publishes it. Listings from some feeds hide contact details, and those rows keep the broker name and company instead.

#### Can I scrape a single property page?

No. The input accepts Landandfarm search URLs. To collect one property, use the search it appears in and set `maxResults` to 1.

#### Can I run this Actor on a schedule?

Yes. Save the Actor as a task with your search URLs and schedule it hourly, daily or weekly in Apify Console.

#### Does it work for other countries?

No. Landandfarm.com lists US land, farms and ranches only.

#### Is it legal to scrape Landandfarm.com?

The Actor collects publicly visible listing data. You are responsible for complying with applicable laws, the site terms and privacy rules, and for how you use broker contact details.

### Related Actors

- [Land.com Scraper](https://apify.com/shahidirfan/land-com-scraper) - Land listings from the same network of US land marketplaces.
- [Zoopla Property Scraper](https://apify.com/shahidirfan/zoopla-scraper) - UK property listings, prices and agent details.
- [Domain.com.au Property Scraper](https://apify.com/shahidirfan/domain-com-au-property-scraper) - Australian property listings and prices.

### Support

For issues, feature requests or custom Actor work, use the Issues tab on the Actor page or contact the developer through Apify.

### Legal Notice

This Actor is designed for legitimate collection of publicly available property data. Users are responsible for using the data responsibly and complying with applicable laws, website terms and privacy rules.

# Actor input Schema

## `urls` (type: `array`):

Landandfarm search URLs, one per line. Any filter you set on the site (state, county, city, property type, price or acreage range) is carried by the URL. Example: https://www.landandfarm.com/search/south-carolina-land-for-sale/

## `maxResults` (type: `integer`):

Stop after this many listings. Searches larger than 500 listings are split into price bands automatically, so 1000 or more can be collected; raise maxPages when asking for more pages than the pages limit.

## `maxPages` (type: `integer`):

Safety cap on result pages per search URL, 25 listings per page. Deep runs continue past page 20 by splitting the search into price bands automatically. 50 pages leaves room for 1000 listings plus overlap between bands.

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

Off by default. Search results already give price, acreage, location, coordinates, broker, land types and all photo URLs. Turn this on to also open each listing and add the full description, amenities, attached documents and broker phone. Slower, one extra request per listing.

## `proxyConfiguration` (type: `object`):

Off by default. Turn Apify Proxy on if runs return access denied, which happens from some networks and datacenter IPs.

## Actor input object example

```json
{
  "urls": [
    "https://www.landandfarm.com/search/South-Carolina-land-for-sale/"
  ],
  "maxResults": 20,
  "maxPages": 50,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "urls": [
        "https://www.landandfarm.com/search/South-Carolina-land-for-sale/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/landandfarm-com-property-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 = { "urls": ["https://www.landandfarm.com/search/South-Carolina-land-for-sale/"] }

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/landandfarm-com-property-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 '{
  "urls": [
    "https://www.landandfarm.com/search/South-Carolina-land-for-sale/"
  ]
}' |
apify call shahidirfan/landandfarm-com-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shahidirfan/landandfarm-com-property-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/pQLXAoabNVpaVIGMy/builds/gyIWtuAX8YaoQk9cq/openapi.json
