# Oto.com Indonesia Car Prices & Used Cars Scraper (`fauzimatakupan/oto-indonesia-auto-scraper`) Actor

Scrape new car model variant prices and used car listings from Oto.com Indonesia. Fast and structured data including OTR IDR prices, variant specs, and city locations.

- **URL**: https://apify.com/fauzimatakupan/oto-indonesia-auto-scraper.md
- **Developed by:** [Fauzi Matakupan](https://apify.com/fauzimatakupan) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Oto.com Indonesia Car Prices & Used Cars Scraper — OTR Prices from oto.com

Extract on-the-road (OTR) variant prices and used-car listings from
[Oto.com](https://www.oto.com) — one of Indonesia's leading automotive marketplaces,
covering **tens of thousands of model-price pages across 40,000+ URLs** (new-car prices
per variant, per city) plus a live used-car feed with asking prices in IDR.
The **Oto Indonesia scraper** normalizes everything into queryable integers
(`Rp 244,2 Juta` → `244200000`) so price analytics just work.

**Tested in the wild:** one run recovered **5/5 listings (100%)** from the live used-car
feed with ranks, prices in IDR, and cities (Cloud Runner, $0 proxy, Oct 2026).

### Pricing

Pay per event — you only pay for items actually returned. Platform usage is included.

| Items | Cost |
|---|---|
| 100 | ~$0.10 |
| 1,000 | $1.00 |
| 10,000 | $10.00 |

Failed pages and empty runs cost almost nothing (a tiny $0.0005 start fee).

### Example tasks

Try it without configuring anything — pre-configured runs against live data:

- [Car Prices — Toyota & Honda per Variant](https://apify.com/fauzimatakupan/harga-mobil-toyota-honda)
- [SUV Prices — Mitsubishi, Mazda, Hyundai](https://apify.com/fauzimatakupan/harga-suv-mitsubishi-mazda)
- [Used Cars — Nationwide Listing Feed](https://apify.com/fauzimatakupan/mobil-bekas-listing)

Open one, press *Start*, and inspect the output before writing your own input.

### Features

- **New-car variant pricing (`model-prices`)** — official variant-level OTR prices
  (e.g. `1.3E MT`, `1.5 G CVT`) with normalized integer IDR (`priceIdr`), display
  strings, per-city localization, and model links.
- **Used-car listings (`used-car-listing`)** — the live feed from
  `oto.com/mobil-bekas`: vehicle title, asking price in IDR, and seller city.
- **Normalized IDR currency** — Indonesian abbreviations translate automatically:
  `Rp 244,2 Juta` → `244200000`, `Rp 1,35 Milyar` → `1350000000`.
- **robots.txt compliant by design** — only sitemap-owned model-price pages and the
  root used-car directory are crawled; detail pages (`/detail-mobil-bekas/*`,
  `/carlist/*`) are disallowed by the site and never touched.
- **Budget-aware** — stops gracefully when your per-run spending limit is reached.

### Use with AI agents (MCP)

Expose this Actor as a tool to Claude, Cursor, Codex, or any MCP client:

```
https://mcp.apify.com/?tools=fauzimatakupan/oto-indonesia-auto-scraper
```

The Actor is also discoverable through the official Apify MCP server — AI agents can
search Apify Store and run it automatically. Keywords: Oto.com scraper, Indonesia car
prices, harga mobil Indonesia, used car Indonesia, mobil bekas, automotive data
Indonesia, OTR price list.

### Related Actors

Building an Indonesian market-data pipeline? Check our other Actors:

- [OLX Indonesia Listings Scraper](https://apify.com/fauzimatakupan/olx-indonesia-listings-scraper) —
  classified ads & products from olx.co.id with IDR prices, locations, and seller info.
- [Indonetwork B2B Directory Scraper](https://apify.com/fauzimatakupan/indonetwork-b2b-directory-scraper) —
  Indonesian B2B suppliers and products with company profiles.
- [Halodoc Pharmacy Scraper](https://apify.com/fauzimatakupan/halodoc-pharmacy-scraper) —
  Indonesian medicine & supplement catalog with BPOM numbers and prescription status.
- [Indonesia Tech Jobs Scraper](https://apify.com/fauzimatakupan/indonesia-tech-jobs-scraper) —
  unified Glints + Kalibrr job listings.

### Example input

```json
{
    "mode": "model-prices",
    "modelUrls": [
        "https://www.oto.com/mobil-baru/toyota/avanza/harga",
        "https://www.oto.com/mobil-baru/honda/brio/harga"
    ],
    "maxItems": 100
}
```

### Example output

```json
{
    "modelSlug": "honda-brio",
    "brand": "Honda",
    "model": "Brio",
    "variantName": "2024 Honda Brio RS CVT",
    "priceIdr": 220000000,
    "cityName": "Jember",
    "priceDisplay": "Rp 220 Juta",
    "modelUrl": "https://www.oto.com/mobil-baru/honda/brio/harga",
    "scrapedAt": "2026-10-23T18:14:09.893Z"
}
```

### Output fields

Each dataset item is one variant price or used-car listing:

| Field | Description |
|---|---|
| `modelSlug`, `brand`, `model` | Model identification |
| `variantName` | Full variant label (e.g. `2024 Honda Brio RS CVT`) |
| `priceIdr` | Normalized integer IDR price |
| `priceDisplay` | The raw display string (e.g. `Rp 220 Juta`) |
| `cityName` | Price-city / seller city |
| `modelUrl` | Source page URL |
| `scrapedAt` | ISO 8601 extraction timestamp |

### FAQ

**Does this Oto.com scraper need a login or proxy?** No login, no proxy. Oto.com serves
public model-price pages to standard datacenter IPs; all crawled URLs come from the
site's own sitemaps.

**Which URLs work?** New-car model price pages (`/mobil-baru/<brand>/<model>/harga`,
including `/<kota>` variants) and the used-car root listing
(`https://www.oto.com/mobil-bekas`).

**Can I get 40,000+ price pages?** Yes — the price sitemap exposes the full URL
universe; sweep it in batches with `modelUrls` or target only the models you track.

**Can I use it as a car price monitor?** Yes. Schedule recurring runs to track OTR
price changes, discount seasons, and used-car market movement over time.

### Usage notes

- Prices are OTR (on-the-road) estimates as displayed by Oto.com; dealer pricing may
  differ. Respect Oto.com's terms of service — this Actor reads public pages only.

# Actor input Schema

## `mode` (type: `string`):

Pilih mode scraping: 'model-prices' untuk daftar harga varian mobil baru, atau 'used-car-listing' untuk listing mobil bekas.

## `modelUrls` (type: `array`):

Daftar URL halaman harga model mobil baru dari Oto.com (hanya digunakan saat mode = model-prices).

## `usedCarPageUrl` (type: `string`):

URL halaman listing mobil bekas Oto.com (hanya digunakan saat mode = used-car-listing). Patuhi robots.txt (halaman root listing diizinkan).

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

Batas maksimum item yang dikumpulkan.

## Actor input object example

```json
{
  "mode": "model-prices",
  "modelUrls": [
    "https://www.oto.com/mobil-baru/toyota/avanza/harga",
    "https://www.oto.com/mobil-baru/honda/brio/harga",
    "https://www.oto.com/mobil-baru/honda/hr-v/harga",
    "https://www.oto.com/mobil-baru/mitsubishi/xpander/harga",
    "https://www.oto.com/mobil-baru/mitsubishi/pajero-sport/harga",
    "https://www.oto.com/mobil-baru/daihatsu/xenia/harga",
    "https://www.oto.com/mobil-baru/daihatsu/terios/harga",
    "https://www.oto.com/mobil-baru/hyundai/creta/harga",
    "https://www.oto.com/mobil-baru/suzuki/ertiga/harga",
    "https://www.oto.com/mobil-baru/mazda/cx-5/harga"
  ],
  "usedCarPageUrl": "https://www.oto.com/mobil-bekas",
  "maxItems": 100
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("fauzimatakupan/oto-indonesia-auto-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("fauzimatakupan/oto-indonesia-auto-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 fauzimatakupan/oto-indonesia-auto-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fauzimatakupan/oto-indonesia-auto-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/clhpQiL8Sk7JFhove/builds/y3t1t9eQ1is9dW3Lw/openapi.json
