# Goo-net Japan Used Cars — Autos Usados de Japón (`fruitful_quintessence/goo-net-car-scraper-es`) Actor

Extrae listados de autos usados de goo-net.com, uno de los portales de autos usados más grandes de Japón. Obtén precios, fabricante, concesionario y enlaces de detalle.

- **URL**: https://apify.com/fruitful\_quintessence/goo-net-car-scraper-es.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

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/platform/actors/running/actors-in-store#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

## Goo-net Japan Used Cars Scraper — Autos Usados de Japón

Extrae listados de autos usados de **[goo-net.com](https://www.goo-net.com/)**, uno de los portales de autos usados más grandes de Japón, con precios, fabricante e información del concesionario.

### Por qué estos datos

- Japón exportó un récord de **1.71 millones de vehículos usados en 2025** (JUMVEA): un mercado global enorme
- Exportadores de autos usados (BE FORWARD, carused.jp, SBT Japan, etc.) necesitan inventario y datos de precios actualizados constantemente
- Los modelos **JDM (Mercado Doméstico Japonés)** son muy valorados en todo el mundo
- Sin competidor dedicado de listados cruzados en Apify Store

### Características

- ✅ Páginas renderizadas en servidor (sin navegador — rápido y económico)
- ✅ Inventario nacional (47 prefecturas) con paginación
- ✅ Nombre del modelo, precio (JPY), fabricante, imagen, concesionario y URL de detalle por listado
- ✅ Filtro por prefectura (ej. `01` = Hokkaido, `13` = Tokio, `47` = Okinawa)
- ✅ Codificación EUC-JP manejada automáticamente
- ✅ Funciona con proxy de Apify — sin problemas de bloqueo por IP

### Entrada

| Campo | Tipo | Default | Descripción |
|---|---|---|---|
| `searchKeyword` | string | vacío | Palabra clave de modelo/marca (ej. `ハイエース`, `アクア`). Vacío = escaneo completo |
| `statsMode` | boolean | false | true = devuelve estadísticas de precios agregadas en lugar de listados |
| `statsKeyword` | string | vacío | Nombre del modelo para agregar (ej. `N-BOX`, `ハイエース`) |
| `prefecture` | string | vacío | Código de prefectura `01`–`47`. Vacío = todo Japón |
| `maxItems` | integer | 100 | Número máximo de listados a recopilar |
| `maxPages` | integer | 5 | Número máximo de páginas a rastrear |
| `proxyConfiguration` | object | auto | Proxy de Apify (auto) |

### Salida

Cada elemento contiene: `itemId`, `title`, `maker`, `price` (JPY), `imageUrl`, `detailUrl`, `shop`, `source`, `scrapedAt`.

Ejemplo:

```json
{
  "itemId": "988026080400207235003",
  "title": "ハイエースバン スーパーGL",
  "maker": "トヨタ",
  "price": 2796000,
  "detailUrl": "https://www.goo-net.com/usedcar/spread/goo/15/988026080400207235003.html",
  "shop": "ハイエース／キャラバン専門店 ファイントラスト土岐店",
  "source": "goo-net"
}
```

### Casos de uso

- 🚗 Exportadores e importadores de autos usados (seguimiento de inventario, investigación de precios)
- 📊 Investigadores de mercado (tendencias del mercado JDM, análisis de precios)
- 🔍 Entusiastas JDM que buscan modelos específicos

### Modo API de Estadísticas de Precios (相場統計API)

El mismo Actor funciona como **API de estadísticas de precios** para investigación de mercado — devuelve estadísticas de precios agregadas para un modelo de auto sin descargar todos los listados.

**Solicitud** (API síncrona de Apify):

```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}'
```

**Respuesta** (JSON):

```json
{
  "statsType": "goo-net-car-price",
  "keyword": "N-BOX",
  "count": 5,
  "priceMin": 230000,
  "priceMax": 1907000,
  "priceAvg": 974400,
  "priceMedian": 596000,
  "sampleItems": [{"title": "...", "price": 230000, "detailUrl": "...", "shop": "..."}]
}
```

- `statsKeyword`: nombre del modelo (ej. `N-BOX`, `ハイエース`). Coincidencia de ancho completo/medio manejada automáticamente
- Combínalo con `bodyType` para acotar (ej. `KEI`, `SUV`)
- Casos de uso: investigación de mercado, referencia de precios de concesionarios, valoración de exportación

### Precio

Pago por resultado: **$0.002 por artículo** ($2 por 1,000 listados).

### Legal

- Respeta el robots.txt de goo-net (endpoints de búsqueda excluidos; páginas de categoría permitidas)
- Para investigación y uso comercial legítimo. Consulta los términos de goo-net antes del uso comercial
- Limitado por diseño (3 reintentos, backoff exponencial)

### Tecnología

- Python 3.11 + httpx + BeautifulSoup
- Apify Actor SDK v3
- Soporte de decodificación 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-es").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-es").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-es --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-es"
        }
    }
}

```

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/pcSpFWK2A2HWRE2mx/builds/o4owor2MCuUD3YX7L/openapi.json
