# ShowMojo Properties and Details Scraper (`realestateapi/showmojo-properties-and-details-scraper`) Actor

ShowMojo source verification and applicable terms remain unresolved. Default runs make zero source requests; only validated rental listings may enter the dataset.

- **URL**: https://apify.com/realestateapi/showmojo-properties-and-details-scraper.md
- **Developed by:** [Real Estate API](https://apify.com/realestateapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 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.

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

## Showmojo Properties and Details Scraper

This Actor can normalize ShowMojo rental search results from the public `/search` page when the page exposes listing cards. Current source verification is inconclusive: connected Chrome showed a loading spinner with no listing cards, and the official customer Terms page returned 403. No live rows have been verified, and parser fixtures do not prove current source access or permission. Source requests are disabled by default.

### Input

- `searches`: up to ten public search centers with `address`, `latitude`, and `longitude`, plus optional `bedrooms` and `rent` query values.
- `startUrls`: optional already formed public `https://showmojo.com/search?...` URLs. If present, these are used instead of `searches`.
- `maxItems`: maximum unique listings.
- `maxSearches`: maximum public search requests.
- `includeDescription`: retain the public description section when returned.
- `timeoutMs`: per-request timeout.
- `allowSourceRequests`: default `false`; enable only after the public result page and applicable source-use terms have been reviewed. This input does not prove permission.

The checked-in smoke input searches the public New York, NY area using `https://showmojo.com/search`.

### Output

The dataset contains only validated listings with an official detail URL, title, source page, and at least one property fact. Diagnostics, request errors, and unrecognized loading shells are never dataset rows; aggregate counters go to `OUTPUT` in the key-value store. A clean empty result is `SUCCEEDED` / `COMPLETED`; a failure with no saved listing is `FAILED` / `FAILED`; failures after genuine listings are saved are `SUCCEEDED` / `PARTIAL`. The default no-request gate is `SUCCEEDED` / `SKIPPED_POLICY`.

### Local development

```text
npm test
npm run check
apify validate-schema
npm run validate-datasets
```

Do not use the live Actor until the configured source can be verified and applicable source-use terms are available. No source request or Actor run was made during the 2026-09-27 review. There was no saved local dataset or run summary to reconcile.

The code is split into input/search URL configuration, bounded HTTP, JavaScript/card parsing, record sanitation, orchestration, and Apify lifecycle modules. Local `storage/` and `node_modules/` are ignored by Git.

# Actor input Schema

## `searches` (type: `array`):

Public search centers. The Actor sends these only to ShowMojo's public /search page.

## `startUrls` (type: `array`):

Optional already formed HTTPS ShowMojo /search URLs. They are fetched as public JavaScript responses when the request headers are accepted.

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

Maximum unique public listings across searches.

## `maxSearches` (type: `integer`):

Maximum public search requests; direct startUrls are also bounded by this value.

## `includeDescription` (type: `boolean`):

Keep the public listing description when present in the returned search response.

## `timeoutMs` (type: `integer`):

Timeout for each public ShowMojo search request.

## `allowSourceRequests` (type: `boolean`):

Default off because the configured result page did not render listings and applicable terms could not be verified. Enable only after the public result page and source-use terms have been reviewed; this switch is not proof of permission.

## Actor input object example

```json
{
  "searches": [
    {
      "address": "New York, NY",
      "latitude": 40.7128,
      "longitude": -74.006
    }
  ],
  "maxItems": 100,
  "maxSearches": 5,
  "includeDescription": true,
  "timeoutMs": 60000,
  "allowSourceRequests": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `runSummary` (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 = {
    "searches": [
        {
            "address": "New York, NY",
            "latitude": 40.7128,
            "longitude": -74.006
        }
    ],
    "maxItems": 100,
    "maxSearches": 5,
    "includeDescription": true,
    "timeoutMs": 60000,
    "allowSourceRequests": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("realestateapi/showmojo-properties-and-details-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 = {
    "searches": [{
            "address": "New York, NY",
            "latitude": 40.7128,
            "longitude": -74.006,
        }],
    "maxItems": 100,
    "maxSearches": 5,
    "includeDescription": True,
    "timeoutMs": 60000,
    "allowSourceRequests": False,
}

# Run the Actor and wait for it to finish
run = client.actor("realestateapi/showmojo-properties-and-details-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 '{
  "searches": [
    {
      "address": "New York, NY",
      "latitude": 40.7128,
      "longitude": -74.006
    }
  ],
  "maxItems": 100,
  "maxSearches": 5,
  "includeDescription": true,
  "timeoutMs": 60000,
  "allowSourceRequests": false
}' |
apify call realestateapi/showmojo-properties-and-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,realestateapi/showmojo-properties-and-details-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/9bdNwghhZN8FoZkgZ/builds/UX11i7dHeNRFeewwv/openapi.json
