# Redfin Property Search Scraper - Low-cost💲🔥🏠🇺🇸 (`delectable_incubator/redfin-property-search-scraper-low-cost`) Actor

🏡🇺🇸 Extract Redfin property listings from URLs with ease. Collect listing prices, addresses, property types, bedrooms, bathrooms, living areas, listing status, brokerage details, transaction types, images, and URLs. Ideal for real estate market research, price monitoring & housing intelligence 🚀

- **URL**: https://apify.com/delectable\_incubator/redfin-property-search-scraper-low-cost.md
- **Developed by:** [Prime Scrape](https://apify.com/delectable_incubator) (community)
- **Categories:** Real estate, Travel, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

<p align="center">
  <img src="https://i.ibb.co/jkNS73wX/readme.png" alt="Redfin Property Search Scraper" width="100%">
</p>

---

## 🏠🇺🇸 Redfin Property Search Scraper | Bulk Real Estate Listings Scraper | Apify Actor

### 🚀 Extract Redfin Property Listings in Seconds (No Code)

The **Redfin Property Search Scraper** is a powerful, scalable, and SEO-optimized **Apify Actor** built to extract real estate listings directly from **Redfin search pages**.

Scrape thousands of **homes for sale, rentals, sold properties, condos, apartments, houses, and real estate listings** in bulk from one or multiple Redfin URLs. Export structured property datasets for **real estate market research, investment analysis, lead generation, AI datasets, housing analytics, and property intelligence.**

---

## 🔥 Why Choose This Redfin Scraper?

✔ Best Redfin Property Search Scraper on Apify

✔ Bulk URL scraping support (multiple Redfin search pages)

✔ Automatically handles pagination

✔ Fast & scalable extraction engine

✔ Structured JSON / CSV / Excel output

✔ Supports cities, ZIP codes, neighborhoods, counties & states

✔ Perfect for investors, brokers, researchers & data analysts

✔ No coding required

---

## 🎯 What This Redfin Scraper Does

This Apify Actor extracts structured real estate listings directly from Redfin search result pages.

### 📌 Core Features

✅ Scrape Redfin property listings

✅ Bulk URL scraping (SEO BOOST 🚀)

✅ Scrape homes for sale

✅ Scrape rental listings

✅ Scrape sold properties

✅ Automatic pagination

✅ Extract property prices

✅ Extract property addresses

✅ Extract bedrooms & bathrooms

✅ Extract square footage

✅ Extract listing status

✅ Extract property type

✅ Extract listing agency

✅ Extract listing URL

✅ Export structured datasets

✅ High-speed extraction

---

## 🌎 Supported Redfin Search Pages

The scraper works with virtually every Redfin search page including:

🏙 City pages

📮 ZIP Code pages

🗺 County pages

🏘 Neighborhood pages

🇺🇸 State pages

---

## 🏡 Supported Listing Types

• For Sale

• For Rent

• Sold (3 Months)

• Sold (6 Months)

• Sold (1 Year)

---

## ⚡ Input Configuration (Simple & Powerful)

### 🔥 BULK URL MODE (SEO BOOST 🚀)

````

{
"urls": \[
"https://www.redfin.com/city/11203/CA/Los-Angeles",
"https://www.redfin.com/state/Texas",
"https://www.redfin.com/county/6037/CA/Los-Angeles-County"
],
"listing\_type": "for\_sale",
"max\_items\_per\_url": 100
}

```

Simply provide one or multiple Redfin URLs and let the Actor collect all available property listings automatically.

---

## 📊 Extracted Property Data

| Field | Description |
|--------|-------------|
| price | Property price |
| beds | Number of bedrooms |
| baths | Number of bathrooms |
| sqft | Property size |
| address | Full property address |
| listingUrl | Direct Redfin listing URL |
| badges | Listing status |
| keyFacts | Property type |
| listingAgency | Listing brokerage |
| listingType | Sale / Rent / Sold |
| sourceUrl | Original search page |

---

## 💡 Popular Use Cases

Perfect for:

🏠 Real estate market research

📈 Housing market analysis

💰 Property investment research

🏘 Rental market intelligence

🏢 Brokerage monitoring

📊 Property price tracking

🤖 AI & Machine Learning datasets

📍 Location-based property analysis

🏗 Real estate lead generation

🌎 Housing supply monitoring

---

## 🚀 Key Features

⚡ Bulk URL scraping

⚡ Automatic pagination

⚡ Extremely fast extraction

⚡ Cloud execution on Apify

⚡ Structured datasets

⚡ Export-ready data

⚡ Enterprise scalability

⚡ Reliable extraction engine

⚡ Supports thousands of listings

---

## 📤 Export Formats

✔ JSON

✔ CSV

✔ Excel (XLSX)

✔ XML

✔ HTML

---

## 📦 Example Output

```

{
"price": "$239000",
"beds": "1 beds",
"baths": "1.0 baths",
"sqft": "750",
"address": "11813 Runnymede St #27, North Hollywood, CA 91605",
"listingUrl": "https://www.redfin.com/CA/North-Hollywood/11813-Runnymede-St-91605/unit-27/home/193153767",
"badges": "Active",
"keyFacts": "Condo/Co-op",
"listingAgency": "N/A",
"listingType": "for\_sale",
"sourceUrl": "https://www.redfin.com/city/11203/CA/Los-Angeles"
}

````

---

## 🔥 Why This is the BEST Redfin Property Scraper on Apify?

✔ Optimized for Apify marketplace SEO

✔ Supports bulk URL scraping

✔ High-speed real estate extraction

✔ Automatic pagination

✔ Structured property datasets

✔ Enterprise-ready cloud scalability

✔ Reliable large-scale scraping

✔ Ideal for investors, brokers, startups & researchers

---

## 💸 Pricing

This Actor uses a **pay-per-result** pricing model.

You only pay for successfully extracted property listings.

💳 **Price: $2.89 / 1,000 results**

---

## ❓ FAQ

#### Can I scrape multiple Redfin URLs at once?

Yes. Bulk URL mode allows you to scrape multiple Redfin search pages in one run.

#### Does the scraper automatically navigate multiple pages?

Yes. Pagination is handled automatically.

#### Can I scrape rentals?

Yes.

#### Can I scrape sold properties?

Yes.

#### Can I scrape homes for sale?

Absolutely.

#### Can I export the results?

Yes.

Supported formats include JSON, CSV, Excel, XML and HTML.

#### Is coding required?

No.

Simply paste your URLs and launch the Actor.

---

## ⚠️ Disclaimer

This tool is an independent data extraction solution and is **not affiliated with, endorsed by, or associated with Redfin**.

Property availability, pricing, and listing information may vary depending on location, personalization, listing updates, and changes on the Redfin platform.

---

## 🔗 Related Actors

We are continuously expanding the **PrimeScrape Real Estate Intelligence Suite**.

More premium real estate scrapers are coming soon. 🚀

---

## 🌍 PrimeScrape Ecosystem

Built for large-scale data extraction, automation, AI datasets, lead generation and market intelligence.

🏠 Real estate data

💼 Job market intelligence

🏢 Company datasets

📊 Market analytics

🤖 AI training datasets

⚙️ Automation pipelines

🚀 Cloud-scale scraping

---

## 📬 Support

⭐⭐⭐⭐⭐

If you enjoy using this Actor, please consider leaving a review.

📩 Need a custom scraper or enterprise solution?

Contact **PrimeScrape** for custom development and large-scale data extraction services.

# Actor input Schema

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

List of Redfin city, zipcode, county, or neighborhood base URLs (without pagination or listing-type suffixes — those are applied automatically based on 'Listing Type' below).

Examples:
• https://www.redfin.com/city/11203/CA/Los-Angeles
• https://www.redfin.com/zipcode/90017
## `listing_type` (type: `string`):

Determines which URL suffix is appended to each base URL:
• For Sale → no suffix
• For Rent → /rentals (always uses the browser path, not the fast API)
• Sold (3/6/12 months) → /filter/include=sold-Xmo|1yr
## `max_items_per_url` (type: `integer`):

Maximum number of listings to extract per URL. For 'For Sale' and 'Sold' types, the actor first tries a fast direct API call (capped at 350 listings per URL); if that's blocked or unavailable it automatically falls back to slower browser-based scraping, where pagination stops earlier if 2 consecutive pages return no new results.
## `proxyConfiguration` (type: `object`):

Recommended: use residential proxies to reduce detection risk.

## Actor input object example

```json
{
  "urls": [
    "https://www.redfin.com/city/11203/CA/Los-Angeles",
    "https://www.redfin.com/city/30794/TX/Dallas"
  ],
  "listing_type": "for_sale",
  "max_items_per_url": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
````

# Actor output Schema

## `results` (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.redfin.com/city/11203/CA/Los-Angeles",
        "https://www.redfin.com/city/30794/TX/Dallas"
    ],
    "listing_type": "for_sale",
    "max_items_per_url": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("delectable_incubator/redfin-property-search-scraper-low-cost").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.redfin.com/city/11203/CA/Los-Angeles",
        "https://www.redfin.com/city/30794/TX/Dallas",
    ],
    "listing_type": "for_sale",
    "max_items_per_url": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("delectable_incubator/redfin-property-search-scraper-low-cost").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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.redfin.com/city/11203/CA/Los-Angeles",
    "https://www.redfin.com/city/30794/TX/Dallas"
  ],
  "listing_type": "for_sale",
  "max_items_per_url": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call delectable_incubator/redfin-property-search-scraper-low-cost --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=delectable_incubator/redfin-property-search-scraper-low-cost",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Redfin Property Search Scraper - Low-cost💲🔥🏠🇺🇸",
        "description": "🏡🇺🇸 Extract Redfin property listings from URLs with ease. Collect listing prices, addresses, property types, bedrooms, bathrooms, living areas, listing status, brokerage details, transaction types, images, and URLs. Ideal for real estate market research, price monitoring & housing intelligence 🚀",
        "version": "0.0",
        "x-build-id": "mfsGwjvRBFC0IW3NZ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/delectable_incubator~redfin-property-search-scraper-low-cost/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-delectable_incubator-redfin-property-search-scraper-low-cost",
                "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/delectable_incubator~redfin-property-search-scraper-low-cost/runs": {
            "post": {
                "operationId": "runs-sync-delectable_incubator-redfin-property-search-scraper-low-cost",
                "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/delectable_incubator~redfin-property-search-scraper-low-cost/run-sync": {
            "post": {
                "operationId": "run-sync-delectable_incubator-redfin-property-search-scraper-low-cost",
                "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",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "Redfin City/Search URLs 🔗",
                        "type": "array",
                        "description": "List of Redfin city, zipcode, county, or neighborhood base URLs (without pagination or listing-type suffixes — those are applied automatically based on 'Listing Type' below).\n\nExamples:\n• https://www.redfin.com/city/11203/CA/Los-Angeles\n• https://www.redfin.com/zipcode/90017",
                        "default": [
                            "https://www.redfin.com/city/11203/CA/Los-Angeles",
                            "https://www.redfin.com/city/30794/TX/Dallas"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "listing_type": {
                        "title": "Listing Type 🏠",
                        "enum": [
                            "for_sale",
                            "for_rent",
                            "sold_3mo",
                            "sold_6mo",
                            "sold_1yr"
                        ],
                        "type": "string",
                        "description": "Determines which URL suffix is appended to each base URL:\n• For Sale → no suffix\n• For Rent → /rentals (always uses the browser path, not the fast API)\n• Sold (3/6/12 months) → /filter/include=sold-Xmo|1yr",
                        "default": "for_sale"
                    },
                    "max_items_per_url": {
                        "title": "Maximum Listings to Scrape per URL",
                        "type": "integer",
                        "description": "Maximum number of listings to extract per URL. For 'For Sale' and 'Sold' types, the actor first tries a fast direct API call (capped at 350 listings per URL); if that's blocked or unavailable it automatically falls back to slower browser-based scraping, where pagination stops earlier if 2 consecutive pages return no new results.",
                        "default": 100
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Recommended: use residential proxies to reduce detection risk.",
                        "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
