# Goo-net Japan Used Cars — Подержанные автомобили из Японии (`fruitful_quintessence/goo-net-car-scraper-ru`) Actor

Extract used car listings and price statistics from goo-net.com (Japan).

- **URL**: https://apify.com/fruitful\_quintessence/goo-net-car-scraper-ru.md
- **Developed by:** [atushi ino](https://apify.com/fruitful_quintessence) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## 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

## Goo-net Japan Used Cars Scraper — Подержанные автомобили из Японии

Сбор объявлений о подержанных автомобилях с **[goo-net.com](https://www.goo-net.com/)**, одного из крупнейших порталов подержанных автомобилей Японии, с ценами, производителем и информацией о дилере.

### Почему эти данные

- Япония экспортировала рекордные **1,71 млн подержанных автомобилей в 2025 году** (JUMVEA): огромный мировой рынок
- Экспортёрам подержанных автомобилей (BE FORWARD, carused.jp, SBT Japan и др.) нужны постоянно обновляемые инвентарь и данные о ценах
- Модели **JDM (Japanese Domestic Market)** высоко ценятся по всему миру
- Нет выделенного конкурента кросс-листингов в Apify Store

### Возможности

- ✅ Страницы с серверным рендерингом (без браузера — быстро и дёшево)
- ✅ Национальный инвентарь (47 префектур) с пагинацией
- ✅ Название модели, цена (JPY), производитель, изображение, дилер и URL деталей по каждому объявлению
- ✅ Фильтр по префектуре (например, `01` = Хоккайдо, `13` = Токио, `47` = Окинава)
- ✅ Кодировка EUC-JP обрабатывается автоматически
- ✅ Работает с прокси Apify — без проблем с блокировкой по IP

### Вход

| Поле | Тип | Default | Описание |
|---|---|---|---|
| `searchKeyword` | string | пусто | Ключевое слово модели/марки (напр. `ハイエース`, `アクア`). Пусто = полный скан |
| `statsMode` | boolean | false | true = возвращает агрегированную статистику цен вместо объявлений |
| `statsKeyword` | string | пусто | Название модели для агрегации (напр. `N-BOX`, `ハイエース`) |
| `prefecture` | string | пусто | Код префектуры `01`–`47`. Пусто = вся Япония |
| `maxItems` | integer | 100 | Максимальное число объявлений |
| `maxPages` | integer | 5 | Максимальное число страниц |
| `proxyConfiguration` | object | auto | Прокси Apify (auto) |

### Выход

Каждый элемент содержит: `itemId`, `title`, `maker`, `price` (JPY), `imageUrl`, `detailUrl`, `shop`, `source`, `scrapedAt`.

### Режим API ценовой статистики (相場統計API)

Тот же Actor работает как **API ценовой статистики** для исследования рынка — возвращает агрегированную статистику цен по модели автомобиля без загрузки всех объявлений.

```bash
curl -X POST "https://api.apify.com/v2/acts/bgm5Gxn4BeBmoO7xD/run-sync-get-dataset-items?token=YOUR_TOKEN&timeout=120" \
  -H "Content-Type: application/json" \
  -d '{"statsMode": true, "statsKeyword": "N-BOX", "maxItems": 30, "maxPages": 1}'
```

Ответ (JSON): `statsType`, `keyword`, `count`, `priceMin`, `priceMax`, `priceAvg`, `priceMedian`, `sampleItems`.

### Сценарии использования

- 🚗 Экспортёры и импортёры подержанных автомобилей (отслеживание инвентаря, исследование цен)
- 📊 Исследователи рынка (тенденции рынка JDM, анализ цен)
- 🔍 Энтузиасты JDM в поиске конкретных моделей

### Цена

Оплата за результат: **$0,002 за элемент** ($2 за 1 000 объявлений).

### Технологии

- Python 3.11 + httpx + BeautifulSoup
- Apify Actor SDK v3
- Поддержка декодирования EUC-JP

# Actor input Schema

## `searchKeyword` (type: `string`):

車種名・ブランド名を指定（例: ハイエース, アクア）。空欄で全車種スキャン

## `prefecture` (type: `string`):

pref-01(北海道)〜pref-47(沖縄)。空欄で全国

## `bodyType` (type: `string`):

SUV, SEDAN, MINIVAN, KEI, WAGON, COUPE, COMPACT, OPEN, BUS, KEITRUCK のいずれか。空欄=全車種

## `statsMode` (type: `boolean`):

trueでキーワード別の価格相場統計のみを返す（検索+集計APIモード）

## `statsKeyword` (type: `string`):

モデル名（例: N-BOX, ハイエース）。このキーワードを含む車両のみを集計

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

取得する最大台数

## `maxPages` (type: `integer`):

巡回する最大ページ数

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

Apifyプロキシ設定（自動）

## Actor input object example

```json
{
  "statsMode": false,
  "maxItems": 100,
  "maxPages": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `itemId` (type: `string`):

Stock ID at goo-net

## `title` (type: `string`):

Car model name

## `maker` (type: `string`):

Car maker (Toyota, Honda, etc.)

## `price` (type: `string`):

Total price in yen

## `currency` (type: `string`):

JPY

## `imageUrl` (type: `string`):

Car image URL

## `detailUrl` (type: `string`):

Listing page URL

## `year` (type: `string`):

Model year

## `mileage` (type: `string`):

Mileage in km

## `shop` (type: `string`):

Dealer shop name

## `source` (type: `string`):

goo-net

## `scrapedAt` (type: `string`):

Scrape timestamp

# 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 = {
    "searchKeyword": "",
    "prefecture": "",
    "bodyType": "",
    "statsKeyword": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("fruitful_quintessence/goo-net-car-scraper-ru").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 = {
    "searchKeyword": "",
    "prefecture": "",
    "bodyType": "",
    "statsKeyword": "",
}

# Run the Actor and wait for it to finish
run = client.actor("fruitful_quintessence/goo-net-car-scraper-ru").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 '{
  "searchKeyword": "",
  "prefecture": "",
  "bodyType": "",
  "statsKeyword": ""
}' |
apify call fruitful_quintessence/goo-net-car-scraper-ru --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fruitful_quintessence/goo-net-car-scraper-ru"
        }
    }
}

```

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/L0xYjvLZT8aYUKjKQ/builds/IoQgVyzOaXNYuoNX1/openapi.json
