# Goo-net Japan Used Cars — Carros Usados do Japão (`fruitful_quintessence/goo-net-car-scraper-pt`) Actor

Extraia listagens de carros usados do goo-net.com, um dos maiores portais de carros usados do Japão. Obtenha preços, fabricante, concessionária e links de detalhes.

- **URL**: https://apify.com/fruitful\_quintessence/goo-net-car-scraper-pt.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 — Carros Usados do Japão

Extraia listagens de carros usados do **[goo-net.com](https://www.goo-net.com/)**, um dos maiores portais de carros usados do Japão, com preços, fabricante e informações da concessionária.

### Por que estes dados

- O Japão exportou um recorde de **1.71 milhão de veículos usados em 2025** (JUMVEA): um mercado global enorme
- Exportadores de carros usados (BE FORWARD, carused.jp, SBT Japan, etc.) precisam constantemente de inventário e dados de preços atualizados
- Os modelos **JDM (Mercado Doméstico Japonês)** são altamente valorizados no mundo todo
- Sem concorrente dedicado de listagens cruzadas na Apify Store

### Recursos

- ✅ Páginas renderizadas no servidor (sem navegador — rápido e barato)
- ✅ Inventário nacional (47 prefeituras) com paginação
- ✅ Nome do modelo, preço (JPY), fabricante, imagem, concessionária e URL de detalhes por listagem
- ✅ Filtro por prefeitura (ex. `01` = Hokkaido, `13` = Tóquio, `47` = Okinawa)
- ✅ Codificação EUC-JP tratada automaticamente
- ✅ Funciona com proxy da Apify — sem problemas de bloqueio por IP

### Entrada

| Campo | Tipo | Padrão | Descrição |
|---|---|---|---|
| `searchKeyword` | string | vazio | Palavra-chave de modelo/marca (ex. `ハイエース`, `アクア`). Vazio = varredura completa |
| `statsMode` | boolean | false | true = retorna estatísticas de preços agregadas em vez de listagens |
| `statsKeyword` | string | vazio | Nome do modelo para agregar (ex. `N-BOX`, `ハイエース`) |
| `prefecture` | string | vazio | Código da prefeitura `01`–`47`. Vazio = todo o Japão |
| `maxItems` | integer | 100 | Número máximo de listagens para coletar |
| `maxPages` | integer | 5 | Número máximo de páginas para rastrear |
| `proxyConfiguration` | object | auto | Proxy da Apify (auto) |

### Saída

Cada item contém: `itemId`, `title`, `maker`, `price` (JPY), `imageUrl`, `detailUrl`, `shop`, `source`, `scrapedAt`.

Exemplo:

```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 carros usados (monitoramento de inventário, pesquisa de preços)
- 📊 Pesquisadores de mercado (tendências do mercado JDM, análise de preços)
- 🔍 Entusiastas JDM procurando modelos específicos

### Modo API de Estatísticas de Preços (相場統計API)

O mesmo Actor funciona como uma **API de estatísticas de preços** para pesquisa de mercado — retorna estatísticas de preços agregadas para um modelo de carro sem baixar todos os dados de listagem.

**Solicitação** (API síncrona da 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}'
```

**Resposta** (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`: nome do modelo (ex. `N-BOX`, `ハイエース`). Correspondência de largura total/meia tratada automaticamente
- Combine com `bodyType` para restringir (ex. `KEI`, `SUV`)
- Casos de uso: pesquisa de mercado, referência de preços de concessionárias, avaliação de exportação

### Preço

Pague por resultado: **$0.002 por item** ($2 por 1.000 listagens).

### Legal

- Respeita o robots.txt do goo-net (endpoints de busca excluídos; páginas de categoria permitidas)
- Para pesquisa e uso comercial legítimo. Verifique os termos do goo-net antes do uso comercial
- Limitado por design (3 tentativas, backoff exponencial)

### Tecnologia

- Python 3.11 + httpx + BeautifulSoup
- Apify Actor SDK v3
- Suporte de decodificação 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-pt").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-pt").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-pt --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-pt"
        }
    }
}

```

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/ksRNLhw7sjdmoVbVt/builds/7B1oKl7iNtqX86Bmf/openapi.json
