Go to example tasks

Real-estate listing to JSON (example)

Turn a messy rental or for-sale listing into clean JSON: address, price, beds, baths, size, availability and pets.

Try for free
spruce_the_data: messy HTML and text to clean JSON
spruce_the_data: messy HTML and text to clean JSONsprucethedata/clean-json
Index
URL
Status
Data
+2 fields
Text
Number
Boolean
List
Object

Input

Texts to clean:<article class="listing"><div class="badge">FOR RENT</div><h1>Bright 2BR near the park</h1><div class="addr">48 Elm Street, Apt 3B, Portland, OR 97205</div><div class="price">$2,350<small>/mo</small></div><ul class="facts"><li>2 bd</li><li>1.5 ba</li><li>1,050 sqft</li></ul><p>Pets OK (cats only). Available Nov 1. In-unit laundry, no parking.</p><aside>Sponsored: get pre-approved today!</aside></article>
Output JSON Schema:{3 fields}

Output fields

Index
URL
Status
Data
Dropped fields
Error

How it works

Sign up on Apify or log in

The spruce_the_data: messy HTML and text to clean JSON Actor is ready to run with the inputs already set for "Real-estate listing to JSON (example)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Real-estate listing to JSON (example)" task

The spruce_the_data: messy HTML and text to clean JSON Actor will start running based on the input automatically. You can also change all the input fields, like texts to clean and output json schema, to match your specific use case.

Receive the "Real-estate listing to JSON (example)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as index, URL, status, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Real-estate listing to JSON (example)" task via API.

Image

Integrate "Real-estate listing to JSON (example)" into your workflow

Connect "Real-estate listing to JSON (example)" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay