# Property Finder Bahrain Scraper (`datascrapers/propertyfinder-bahrain`) Actor

Extract apartment and property listings from Property Finder Bahrain, with optional full property details and agent WhatsApp contact.

- **URL**: https://apify.com/datascrapers/propertyfinder-bahrain.md
- **Developed by:** [Data Scrapers](https://apify.com/datascrapers) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 property listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

**Property Finder Bahrain Scraper** creates a structured dataset of property listings collected from Property Finder Bahrain. Each dataset item can include the listing id, title, area, property type, and price. Query the source with a Property Finder search URL, control the result limit with maxItems, and retrieve records through the Apify Dataset API or export them as JSON, CSV, Excel, XML, or another supported format.

[![propertyfinder-bahrain — input to structured data](https://raw.githubusercontent.com/faizanalii/apify-actor-assets/main/propertyfinder-bahrain/propertyfinder-bahrain-value-demo.gif)](https://apify.com/datascrapers/propertyfinder-bahrain)

### Dataset at a glance

| Property | Value |
|---|---|
| Source | propertyfinder.bh |
| Record unit | One property listing |
| Input methods | search URL |
| Main identifiers | id |
| Delivery | Apify Dataset and API |
| Export formats | JSON, CSV, Excel, XML |
| Update model | Fresh records per Actor run |
| Pricing | $1.50 per 1,000 listings on the free plan |

### Coverage and available records

A search URL returns the listings Property Finder sends. The stored sale search includes a flat in Al Qadam, Northern Governorate, type Apartment, price 65000 BHD. id is 994713.

Set includePropertyDetails to charge property-details. Set includeAgentInformation to charge agent-information. The example does not copy an agent name or phone. maxItems limits listings. The Actor does not enquire.

### Data dictionary

| Field | Type | Nullable | Description | Example |
|---|---|---:|---|---|
| id | number | no | Listing id. Use this field to deduplicate. | 994713 |
| title | string | yes | Listing title. | Flat for sale in Al Qadam |
| property_type | string | yes | Property type. | Apartment |
| price.value | number | yes | Price amount. | 65000 |
| price.currency | string | yes | Currency code. | BHD |
| price.period | string | yes | sell or a rent period. | sell |
| location.name | string | yes | Area name. | Al Qadam |
| location.full_name | string | yes | Area and governorate. | Al Qadam, Northern Governorate |
| is_available | boolean | yes | Availability flag. | true |

### Example dataset record

```json
{
  "id": 994713,
  "title": "Flat for sale in Al Qadam",
  "property_type": "Apartment",
  "price": {"value": 65000, "currency": "BHD", "period": "sell"},
  "location": {"name": "Al Qadam", "full_name": "Al Qadam, Northern Governorate"},
  "is_available": true
}
```

This is a stored Bahrain sale listing. Agent names are not copied into this example.

### Query and input reference

| Input | Type | Required | Default | Accepted values | Description |
|---|---|---:|---|---|---|
| url | string | no | empty | Property Finder search URL | Search to run. |
| includePropertyDetails | boolean | no | false | true or false | Charge property-details. |
| includeAgentInformation | boolean | no | false | true or false | Charge agent-information. |
| maxItems | integer | no | schema default | integer | Listing cap. |
| maxConcurrency | integer | no | schema default | positive integer | Parallel reads. |
| proxyConfiguration | object | no | Apify residential | Apify proxy input | Optional proxy. |

Minimal request:

```json
{"url": "https://www.propertyfinder.bh/en/search?c=1&t=1", "maxItems": 5}
```

### Retrieve the data through the API

Start the Actor with JSON input, wait for the run, then read the default dataset.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("datascrapers/propertyfinder-bahrain").call(run_input={
    "url": "https://www.propertyfinder.bh/en/search?c=1&t=1",
    "maxItems": 5,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("id"), (item.get("price") or {}).get("value"))
```

### Data quality and record handling

Deduplicate on id. price.value is the amount in price.currency. price.period is sell on a sale listing. A later run can show a new price for the same id.

### Pricing and cost examples

Pay per event. property, property-details, and agent-information are $1.50 per 1,000 on Free, $1.40 on Bronze, $1.30 on Silver, and $1.20 on Gold. Platinum and Diamond use the Gold price. Platform usage is included. Saving 1,000 listings without extras costs $1.50 on Free.

### Limitations and responsible data use

The Actor reads public listings. It does not contact an agent. Property Finder can change a price or withhold a search. Use the data in line with Property Finder terms.

### Dataset questions

#### What is one record?

One listing, keyed by id.

#### Which field should I use to deduplicate?

id.

#### When is agent-information charged?

When includeAgentInformation is true and the agent record is saved.

### Related datasets from Data Scrapers

- [Bayut Scraper](https://apify.com/datascrapers/bayut-sa-scraper)
- [Wasalt Scraper](https://apify.com/datascrapers/wasalt-sa-scraper)
- [Housing.com Scraper](https://apify.com/datascrapers/housing-com-scraper)
- [Savills Property Scraper](https://apify.com/datascrapers/savills-scraper)

### Data Scrapers support

Questions about this dataset: stardustspotlight@gmail.com.

# Actor input Schema

## `url` (type: `string`):

Full Property Finder Bahrain search URL, including filters and the locale path such as /en/search or /ar/search.

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

Maximum number of property listings to extract. Use 0 for no limit.

## `maxConcurrency` (type: `integer`):

Maximum number of result pages, property pages, and agent requests to run at the same time.

## `includePropertyDetails` (type: `boolean`):

Fetch the full property page for each listing. Charged separately as property-details. Off by default.

## `includeAgentInformation` (type: `boolean`):

Fetch each listing agent's profile and revealed WhatsApp contact. Charged separately as agent-information. Off by default.

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

Select proxy groups or use your custom proxies.

## Actor input object example

```json
{
  "url": "https://www.propertyfinder.bh/en/search?c=1&fu=0&ob=mr&t=1",
  "maxItems": 50,
  "maxConcurrency": 5,
  "includePropertyDetails": false,
  "includeAgentInformation": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Link to the default dataset containing scraped property listings

## `runStats` (type: `string`):

Run statistics stored in the key-value store

# 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 = {
    "url": "https://www.propertyfinder.bh/en/search?c=1&fu=0&ob=mr&t=1",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascrapers/propertyfinder-bahrain").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 = {
    "url": "https://www.propertyfinder.bh/en/search?c=1&fu=0&ob=mr&t=1",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("datascrapers/propertyfinder-bahrain").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 '{
  "url": "https://www.propertyfinder.bh/en/search?c=1&fu=0&ob=mr&t=1",
  "maxItems": 50
}' |
apify call datascrapers/propertyfinder-bahrain --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascrapers/propertyfinder-bahrain"
        }
    }
}
```

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/OCOCbhPb4Z2Cj9UBW/builds/BAFfss4cw4SKte3Ku/openapi.json
