# Nigeria Property Centre Scraper (`dadhalfdev/nigeriapropertycentre-scraper`) Actor

Scrape property listings from nigeriapropertycentre.com. Use filters or paste a URL — the URL wins when set.

- **URL**: https://apify.com/dadhalfdev/nigeriapropertycentre-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## 🇳🇬 Nigeria Property Centre Scraper

Want [Nigeria Property Centre](https://nigeriapropertycentre.com/for-sale) listings in a spreadsheet? This scraper makes it easy.

Use **structured filters** (purpose, type, state, bedrooms, price) — better for AI agents — **or** paste an **`input_url`**. When `input_url` is set it overrides the filters.

NPC lists more than 100,000 properties for sale. This actor returns up to 2000 rows per run.

### 💡 Perfect for...

- **Agents:** Export Lagos and Abuja sale or rent ads with price and bedrooms.
- **Dashboards:** Track houses, flats, land, and commercial stock.
- **Market research:** Slice by state, subtype, furnishing, or recency.
- **Data analysts:** Export structured NPC rows with public listing URLs.
- **🤖 AI Agents:** Power Claude, Cursor, Codex, the Hermes Agent, and OpenClaw workflows with live NPC results.
- **📚 RAG Systems:** Feed titles, locations, and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste a search URL, or use the dropdowns. `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Same purpose, type, subtype, state, area, bedrooms, price, furnishing, serviced, shared, keywords, added date, and sort as the site.
- 🌐 **Nationwide:** All 36 states plus Abuja.

### 📦 What's inside the data?

Every row can include:

- **Listing:** id, url, title, purpose, category, description
- **Price:** price, currency (NGN), price period for rent or short let
- **Specs:** bedrooms, bathrooms, toilets, parking, area
- **Location / agent:** location, added date, agent, featured, verified photos, image

### 🚀 Quick start

**Option A — Input URL**

1. Open [Nigeria Property Centre](https://nigeriapropertycentre.com/for-sale), apply filters, copy the URL.
2. Paste it into `input_url`.
3. Set `max_results` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Pick sale or rent, a property type, and a state.
3. Set `max_results` (up to 2000) and click **Start**.

***

#### Tech details for developers 🧑‍💻

**Input Example (filters):**

```json
{
  "purpose": "for-sale",
  "property_type": "houses",
  "location": "lagos",
  "bedrooms": "4",
  "price_max": 200000000,
  "max_results": 100
}
```

**Input Example (URL override):**

```json
{
  "input_url": "https://nigeriapropertycentre.com/for-rent/flats-apartments/lagos/lekki",
  "max_results": 50
}
```

**Output Example:**

```json
{
  "id": "3660344",
  "url": "https://nigeriapropertycentre.com/for-sale/houses/block-of-flats/lagos/ipaja/3660344-newly-built-3-bedroom-flat-for-sale",
  "title": "Newly Built 3-Bedroom Flat for Sale",
  "purpose": "for-sale",
  "category": "Block of flats for sale",
  "price": 64000000,
  "currency": "NGN",
  "price_period": null,
  "bedrooms": 3,
  "bathrooms": 4,
  "toilets": 4,
  "parking": null,
  "area_sqm": null,
  "location": "Command Ipaja Lagos, Ipaja, Lagos",
  "added": "Added today",
  "agent": "Pacelink Property",
  "featured": true,
  "verified_photos": true,
  "image_url": "https://images.nigeriapropertycentre.com/properties/images/thumbs/3660344/...",
  "image_count": 16
}
```

**Output fields:**

| Field | Description |
|-------|-------------|
| `id` | Nigeria Property Centre listing id. |
| `url` | Public listing page. |
| `title` | Listing title. |
| `purpose` | For sale, for rent, short let, or joint venture. |
| `category` | Card type, such as detached duplex for sale. |
| `price` | Asking price when shown. |
| `currency` | Always `NGN`. |
| `price_period` | Rent or short-let period when shown, such as `/yr` or `/day`. |
| `bedrooms` | Bedroom count. |
| `bathrooms` | Bathroom count. |
| `toilets` | Toilet count. |
| `parking` | Parking spaces. |
| `area_sqm` | Land or floor area in square metres. |
| `location` | Area string from the card. |
| `added` | Relative posted time, such as Added today. |
| `agent` | Agent or agency name when shown. |
| `description` | Short description from the card. |
| `featured` | Whether NPC marked the ad Premium. |
| `verified_photos` | Whether the card shows verified photos. |
| `image_url` | First photo. |
| `image_count` | Number of photos on the card. |

### 📋 Input reference (detailed)

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `input_url` | string | No | — | Paste an NPC search URL; overrides every filter when set. |
| `purpose` | string enum | No | `for-sale` | For sale, for rent, short let, or joint venture. |
| `property_type` | string enum | No | all | Houses, flats & apartments, land, or commercial. |
| `property_subtype` | string enum | No | any | Detached duplex, mini flat, residential land, offices, and the other site subtypes. |
| `location` | string enum | No | all Nigeria | All 36 states plus Abuja. |
| `city` | string | No | — | Neighbourhood or city inside the state, such as Lekki. |
| `bedrooms` | string enum | No | any | Exact bedroom count. 6 means 6 or more. |
| `price_min` | integer | No | — | Lowest price in naira. |
| `price_max` | integer | No | — | Highest price in naira. |
| `furnishing` | string enum | No | any | Furnished or unfurnished. |
| `serviced` | boolean | No | `false` | Only serviced listings. |
| `shared` | boolean | No | `false` | Only shared rentals. |
| `keywords` | string | No | — | Words to search, such as pool or BQ. |
| `added` | string enum | No | any | Today, last 7 days, last 14 days, or last 30 days. |
| `sort` | string enum | No | Default | Default, most recent, highest price, lowest price, or verification status. |
| `max_results` | integer | No | `50` | Maximum rows (`1`–`2000`). |

#### Notes on filters

- Prefer the Apify input dropdowns — they use the same labels as Nigeria Property Centre.
- `input_url` always wins over the other filters when provided.
- Short let is under rent on the site. Joint venture is its own section.
- City only applies when a state is selected.

# Actor input Schema

## `input_url` (type: `string`):

Paste a Nigeria Property Centre search URL. Overrides every filter when set.

## `purpose` (type: `string`):

For sale, for rent, short let, or joint venture.

## `property_type` (type: `string`):

Houses, flats, land, or commercial.

## `property_subtype` (type: `string`):

Same subtypes as the site, such as detached duplex or mini flat.

## `location` (type: `string`):

Nigerian state or Abuja.

## `city` (type: `string`):

Neighbourhood or city inside the state, such as Lekki or Ikeja.

## `bedrooms` (type: `string`):

Exact bedroom count. 6 means 6 or more.

## `price_min` (type: `integer`):

Lowest price in naira.

## `price_max` (type: `integer`):

Highest price in naira.

## `furnishing` (type: `string`):

Furnished or unfurnished.

## `serviced` (type: `boolean`):

Only keep serviced listings.

## `shared` (type: `boolean`):

Only keep shared rentals.

## `keywords` (type: `string`):

Words to search, such as pool, BQ, or gym.

## `added` (type: `string`):

How recently the listing was posted.

## `sort` (type: `string`):

How to order the results.

## `max_results` (type: `integer`):

How many rows to return (1–2000).

## Actor input object example

```json
{
  "purpose": "for-sale",
  "property_type": "",
  "property_subtype": "",
  "location": "",
  "bedrooms": "",
  "furnishing": "",
  "serviced": false,
  "shared": false,
  "added": "",
  "sort": "1",
  "max_results": 50
}
```

# Actor output Schema

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

Table view of scraped listings using the dataset overview view.

## `results` (type: `string`):

All scraped listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/nigeriapropertycentre-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("dadhalfdev/nigeriapropertycentre-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 '{}' |
apify call dadhalfdev/nigeriapropertycentre-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dadhalfdev/nigeriapropertycentre-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/aOnPrLhuKt6QFgguw/builds/hEoYMkbcgAdKeQ2QA/openapi.json
