# Mamikos Apartment Scraper (`hvd20xx/mamikos-apartment-scraper`) Actor

Scrape apartment unit listings from Mamikos, Indonesia's rental marketplace: monthly rent in IDR, building name and address, unit type, furnishing, floor, size, facilities, photo and review count, from Mamikos' public per-city apartment sitemaps.

- **URL**: https://apify.com/hvd20xx/mamikos-apartment-scraper.md
- **Developed by:** [Nur Hadhi Sucipto](https://apify.com/hvd20xx) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 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.

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

## Mamikos Apartment Scraper

Scrape apartment unit listings from [Mamikos](https://mamikos.com), an
Indonesian rental marketplace. For each listing you get the monthly rent in
IDR (plus daily, weekly, and yearly prices when the listing offers them),
the building name and its full street address, unit type, furnishing,
floor, size, facilities, main photo, and review count, delivered as a
clean dataset.

Typical uses: tracking apartment rents per city or campus area, comparing
units across buildings before renting, and building local datasets of the
Indonesian apartment rental market.

Looking for boarding houses instead? Apartment listings only here; kos
listings are a different Mamikos category.

### How it works

Mamikos does not offer a public search API, so this Actor uses the public
routes that exist:

1. It reads listing URLs from Mamikos' official per-city apartment
   sitemaps (`sitemap-room-apartment-<city>-<n>.xml`).
2. It opens each listing page with plain HTTP requests (no headless
   browser), one at a time with a short delay, and retries failed pages
   up to 3 times.
3. It parses the structured listing data embedded in each page and pushes
   one record per listing to the dataset.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `city` | string (enum) | `depok` | City whose apartment sitemap is scraped: bali, bandung, bekasi, bogor, depok, jakarta, jogja, makassar, medan, other, solo, surabaya, tangerang. Ignored when `startUrls` is set. |
| `maxResults` | integer | `100` | Maximum number of listings to return (1–5000). Listings are collected in sitemap order. |
| `minPriceIdr` | integer | – | Optional. Only return listings with monthly rent at or above this amount (IDR). |
| `maxPriceIdr` | integer | – | Optional. Only return listings with monthly rent at or below this amount (IDR). |
| `startUrls` | array | – | Optional. Specific Mamikos apartment unit URLs to scrape instead of a city sitemap. |

With filters on, the Actor may scan more pages than the number of results
returned, because filtering happens after a page is parsed.

### Output

One dataset item per listing:

| Field | Type | Description |
|---|---|---|
| `listing_id` | integer | Mamikos listing ID. |
| `slug` | string | Unit slug (last part of the URL). |
| `project_slug` | string | Building/project slug (first part of the URL path). |
| `name` | string | Listing title, e.g. "Apartemen Margonda Residences 1 (unit B705) Beji Depok". |
| `url` | string | Listing page URL. |
| `price_idr_per_month` | integer | Monthly rent in IDR, taken from the listing's structured monthly price field (separate from its daily/weekly/yearly prices). |
| `price_idr_per_day` | integer or null | Daily price in IDR when the listing offers daily rent, otherwise null. |
| `price_idr_per_week` | integer or null | Weekly price in IDR when offered, otherwise null. |
| `price_idr_per_year` | integer or null | Yearly price in IDR when offered, otherwise null. |
| `building_name` | string | Building/project name as listed by Mamikos, e.g. "Apartemen Margonda Residence". |
| `building_address` | string | The building's full street address as listed by Mamikos. |
| `unit_code` | string | Owner's unit code, e.g. "AMR-001". |
| `unit_type` | string | Unit type as listed, e.g. "1-Room Studio" or "1 BR". |
| `bedrooms` | integer or null | Parsed from `unit_type`: 0 for studios, N for "N BR" types. Null when the type does not state bedrooms (see Limitations). |
| `furnishing` | string | Furnishing condition as listed, e.g. "Furnished". |
| `floor` | integer | Floor the unit is on, when listed. |
| `size_sqm` | integer | Unit size in square metres, when listed. |
| `min_stay` | string or null | Minimum stay as free text from the listing, e.g. "Min. 3 Bln" (minimum 3 months), when stated. |
| `available_units` | integer | Number of units the listing shows as available. |
| `city` | string | City as listed by Mamikos, e.g. "Kota Depok". |
| `area` | string | Subdistrict / area, e.g. "Beji". |
| `address` | string | Coarse address, usually subdistrict level (see Limitations). For a precise address use `building_address`. |
| `facilities` | array of strings | Facilities in Indonesian as listed by Mamikos (room, shared, bathroom, and parking facilities merged). |
| `bathroom` | string or null | `inside` (private bathroom) or `outside` (shared bathroom) when the listing states it; many apartment listings do not (see Limitations). |
| `main_photo_url` | string | URL of the listing's main photo. |
| `rating` | null | Always null: Mamikos does not publish an aggregate rating for apartment listings (see Limitations). |
| `review_count` | integer | Number of reviews. |
| `scraped_at` | string | ISO 8601 timestamp of when the listing was scraped. |

#### Example output

```json
{
  "listing_id": 90017032,
  "slug": "apartemen-margonda-residences-1-unit-b705-beji-depok-1room-studio",
  "project_slug": "apartemen-margonda-residence",
  "name": "Apartemen Margonda Residences 1 (unit B705) Beji Depok",
  "url": "https://mamikos.com/unit/apartemen-margonda-residence/apartemen-margonda-residences-1-unit-b705-beji-depok-1room-studio",
  "price_idr_per_month": 1500000,
  "price_idr_per_day": null,
  "price_idr_per_week": null,
  "price_idr_per_year": null,
  "building_name": "Apartemen Margonda Residence",
  "building_address": "Jl. Margonda Raya Kav. 462 - 465, Pondok Cina, Beji, Depok, Jawa Barat, Indonesia 16424",
  "unit_code": "AMR-001",
  "unit_type": "1-Room Studio",
  "bedrooms": 0,
  "furnishing": "Furnished",
  "floor": 7,
  "size_sqm": 20,
  "min_stay": "Min. 3 Bln",
  "available_units": 2,
  "city": "Kota Depok",
  "area": "Beji",
  "address": "Beji, Kota Depok, Indonesia",
  "facilities": ["K. Mandi Dalam", "Kloset Duduk", "Shower", "Wastafel", "Air panas", "Kasur", "Lemari / Storage", "AC", "Meja", "Kursi", "Dispenser", "Kulkas", "WiFi", "Dapur", "Penjaga Kos", "Laundry", "Parkir Mobil"],
  "bathroom": "inside",
  "main_photo_url": "https://static.mamikos.com/uploads/cache/data/style/2016-03-21/a6rMX6Pt-540x720.jpg",
  "rating": null,
  "review_count": 0,
  "scraped_at": "2026-11-18T16:11:50.464630+00:00"
}
```

(Real record from a Depok run on 18 Nov 2026. This listing has no reviews
yet, and Mamikos publishes no aggregate rating for apartments, so
`rating` is null.)

### Pricing

This Actor is priced pay-per-event: **$0.0025 per result** — one result is
one listing pushed to the dataset, so 1,000 results cost $2.50, plus Apify
platform usage where applicable. The price is configured in the Apify
Console (Monetization tab) as an event named `result`; it is not set by
any file in this repository.

### Limitations

- **No rating data.** Mamikos does not publish an aggregate rating for
  apartment listings (unlike its kos listings). `rating` is always null;
  only `review_count` is available.
- **Bathroom often unstated.** Many apartment listings do not name a
  bathroom type in their facilities (in a 15-listing Depok sample, only
  4 of 15 did). `bathroom` is null for those; it is never guessed.
- **Bedrooms is a parse, not a source field.** Mamikos publishes only the
  `unit_type` string. `bedrooms` is derived conservatively (studio = 0,
  "N BR" = N) and is null when the type does not clearly state bedrooms,
  e.g. a bare "2-Room" counts total rooms, not bedrooms.
- **Coarse `address`, precise `building_address`.** The per-listing
  `address` is usually only at subdistrict level. The building's full
  street address is in `building_address`; use that for location.
- **Headline prices per period.** Prices are the listing's structured
  price per period. Variants mentioned in free text (for example a
  different price per floor) are not captured, and deposit/fee components
  are not included in the rent fields.
- **Apartments only.** Kos (boarding house) listings on Mamikos are not
  covered.
- **Coverage follows the sitemaps.** Only cities present in Mamikos'
  apartment sitemap index are available (see the `city` input). Listing
  order is sitemap order, not sorted by price or rating.
- **Data can change.** Prices, availability, and facilities are whatever
  Mamikos shows at scrape time.

# Actor input Schema

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

City whose Mamikos apartment sitemap is scraped. Ignored when startUrls is provided.

## `maxPriceIdr` (type: `integer`):

Optional. Only return listings whose monthly rent is at most this amount, e.g. 5000000. Leave empty for no maximum.

## `maxResults` (type: `integer`):

Maximum number of listings to return. Listings are collected in sitemap order; with filters on, more pages may be scanned than results returned.

## `minPriceIdr` (type: `integer`):

Optional. Only return listings whose monthly rent is at least this amount, e.g. 2000000. Leave empty for no minimum.

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

Optional list of specific Mamikos apartment unit URLs to scrape. When provided, the city sitemap is not used.

## Actor input object example

```json
{
  "city": "depok",
  "maxResults": 100,
  "startUrls": []
}
```

# Actor output Schema

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

Dataset containing all scraped apartment listings

# 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 = {
    "startUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("hvd20xx/mamikos-apartment-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 = { "startUrls": [] }

# Run the Actor and wait for it to finish
run = client.actor("hvd20xx/mamikos-apartment-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 '{
  "startUrls": []
}' |
apify call hvd20xx/mamikos-apartment-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hvd20xx/mamikos-apartment-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/vJxqWQRk8O6UcRFc0/builds/k3Psz5IEAjB4GfSlk/openapi.json
