# Mamikos Kost Scraper | Indonesia Boarding House Rentals (`quivery_phase/mamikos-kost-scraper`) Actor

Mamikos Kost Scraper for Indonesian boarding-house (kost) rentals. Extract monthly IDR prices, city, facilities, room size, gender type, photos, and coordinates from public Mamikos.com listings. No login, no phone numbers, works from datacenter IPs.

- **URL**: https://apify.com/quivery_phase/mamikos-kost-scraper.md
- **Developed by:** [Quivery Data](https://apify.com/quivery_phase) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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.

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 Kost Scraper | Indonesia Boarding House Rentals

Extract public kost (boarding house) listings from [Mamikos.com](https://mamikos.com/), Indonesia's leading kost marketplace, as clean structured data. No login, no browser, and no residential proxy. Phone numbers and owner identities are never stored.

Use it to:

- Watch monthly IDR rents in Jakarta, Bandung, Surabaya, Yogyakarta, Bali, and other cities
- Compare facilities, room size, and gender type (putra, putri, campur)
- Build a research or lead-generation pipeline for student and worker housing
- Follow new listings from Mamikos's public sitemaps

### What you get

Each dataset row is one kost listing, with fields such as:

| Field | Description |
| --- | --- |
| `title`, `url`, `listingId` | Listing title, public room URL, and Mamikos id |
| `city`, `subdistrict` | For example Kota Bandung, Sukajadi |
| `gender` | `putra`, `putri`, or `campur` |
| `priceMonthly`, `priceWeekly`, `priceYearly`, `priceText` | Advertised rent in IDR |
| `roomSize`, `availableRooms`, `minStayMonths` | Room size (for example 3x3) and availability |
| `facilitiesRoom`, `facilitiesShared`, `facilitiesBath`, `facilitiesParking`, `facilitiesNearby` | Amenities and nearby places |
| `latitude`, `longitude` | Public map coordinates |
| `photos` | Public photo URLs |
| `isBookingAvailable`, `isVerified`, `updatedAt` | Booking flag, verification, last update |

Owner names, phone numbers, WhatsApp IDs, and emails are dropped on purpose (Indonesian personal-data rules, UU PDP).

### How to use

1. Open the Actor in [Apify Console](https://console.apify.com/) and click **Start**, or call it through the API.
2. Pick one or more **Cities** (Jakarta is prefilled) or paste:
   - A room URL such as `https://mamikos.com/room/kost-bandung-kost-campur-murah-kost-sukagalih-no-139-sukajadi-bandung`
   - A public sitemap URL from [Mamikos sitemaps](https://mamikos.com/sitemaps/sitemap.xml)
3. Optionally set a gender type and a monthly price range in rupiah.
4. Set **Max listings** (default 50) and export the dataset as JSON, CSV, or Excel.

Room URLs are discovered from Mamikos's public kost sitemaps (allowed in their robots.txt), then each public detail page is parsed. Landing pages such as `/kost/kost-jakarta-murah` are used only as a hint — listings themselves come from the sitemap for that city.

#### Input example

```json
{
  "cities": ["jakarta"],
  "gender": "all",
  "maxListings": 50,
  "maxPriceMonthly": 3000000,
  "requestDelaySecs": 1
}
```

#### Output example

```json
{
  "listingId": 98569443,
  "title": "Kost Sukagalih No. 139 Sukajadi Bandung",
  "url": "https://mamikos.com/room/kost-bandung-kost-campur-murah-kost-sukagalih-no-139-sukajadi-bandung",
  "city": "Kota Bandung",
  "subdistrict": "Sukajadi",
  "gender": "putra",
  "priceMonthly": 500000,
  "priceWeekly": 330000,
  "priceText": "500.000 / bulan",
  "currency": "IDR",
  "roomSize": "3x3",
  "facilitiesRoom": ["Kasur", "Lemari / Storage"],
  "facilitiesShared": ["Dapur", "R. Jemur", "K. Mandi Luar"],
  "latitude": -6.88993237752107,
  "longitude": 107.594068050385,
  "isBookingAvailable": true,
  "source": "mamikos.com"
}
```

### Pricing

Pay per event, charged only for unique kost listings delivered:

- **$2.00 per 1,000 listings** ($0.002 per result)
- **$0.0005** Actor start fee
- Runs on 512 MB memory, HTTP only, no proxy and no browser

A 50-listing run is one sitemap plus 50 detail pages and costs well under a cent in Actor events, plus a small amount of compute inside your Apify free credit.

### Usage notes

- Be polite: keep `requestDelaySecs` at 1 or higher for larger crawls, and set `maxListings` to what you actually need.
- Mamikos robots.txt allows public room pages and sitemaps, and sets `Content-Signal: search=yes, ai-input=yes`. Use the data for legitimate research or your own analysis and respect their terms of service.
- Some older listings may have been last updated years ago; `updatedAt` is included so you can filter them.

### Changelog

- **0.1** — First version: city sitemaps, room-page structured data, gender and price filters, no personal contact fields.

# Actor input Schema

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

Mamikos room pages (https://mamikos.com/room/...), city landing pages (https://mamikos.com/kost/kost-jakarta-murah), or public sitemap URLs. Room URLs are scraped directly. Landing and sitemap URLs are used to discover room URLs.

## `cities` (type: `array`):

Indonesian cities to collect kost listings from, using Mamikos public sitemaps. Combined with any Start URLs. Leave empty only if you pasted Start URLs.

## `gender` (type: `string`):

Optional filter on the kost gender type advertised on the listing.

## `maxPriceMonthly` (type: `integer`):

Optional maximum monthly rent in rupiah. Example: 2000000 for Rp 2 juta per month.

## `minPriceMonthly` (type: `integer`):

Optional minimum monthly rent in rupiah.

## `maxListings` (type: `integer`):

Stop after this many unique kost listings have been saved.

## `requestDelaySecs` (type: `number`):

Polite delay between page requests.

## Actor input object example

```json
{
  "cities": [
    "jakarta"
  ],
  "gender": "all",
  "maxListings": 50,
  "requestDelaySecs": 1
}
```

# 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 = {
    "maxListings": 50,
    "requestDelaySecs": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("quivery_phase/mamikos-kost-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 = {
    "maxListings": 50,
    "requestDelaySecs": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("quivery_phase/mamikos-kost-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 '{
  "maxListings": 50,
  "requestDelaySecs": 1
}' |
apify call quivery_phase/mamikos-kost-scraper --silent --output-dataset

```

## MCP server setup

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