# Goo-net Cars Scraper — Japan Used & Resale Market Data API (`fruitful_quintessence/goo-net-car-scraper`) Actor

Scrape Goo-net used car and motorcycle listings. Returns structured pricing, mileage, condition, and specification data from Japan's largest auto marketplace.

- **URL**: https://apify.com/fruitful_quintessence/goo-net-car-scraper.md
- **Developed by:** [atushi ino](https://apify.com/fruitful_quintessence) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Security:** 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

## Goo-net Japan Used Cars Scraper

Scrape used car listings from **[goo-net.com](https://www.goo-net.com/)** — one of Japan's largest used car portals — with prices, maker, and dealer information.

### Why This Data

- Japan exported a record **1.71 million used vehicles in 2025** (JUMVEA) — a massive global market
- Used car exporters (BE FORWARD, carused.jp, SBT Japan, etc.) constantly need fresh inventory and pricing data
- **JDM (Japanese Domestic Market)** models are highly valued worldwide
- Zero dedicated cross-listing competitor on Apify Store at launch

### Features

- ✅ Server-side rendered pages (no browser needed — fast & cheap)
- ✅ Nationwide inventory (47 prefectures) with pagination
- ✅ Model name, price (JPY), maker, image, dealer shop, and detail URL per listing
- ✅ Prefecture filter (e.g. `01` = Hokkaido, `13` = Tokyo, `47` = Okinawa)
- ✅ EUC-JP encoding handled automatically
- ✅ Runs on Apify proxy — no IP blocking issues

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `searchKeyword` | string | empty | Car model / brand keyword (e.g. `ハイエース`, `アクア`). Empty = full scan |
| `statsMode` | boolean | false | true = return aggregated price stats instead of listings |
| `statsKeyword` | string | empty | Model name to aggregate (e.g. `N-BOX`, `ハイエース`) |
| `prefecture` | string | empty | Prefecture code `01`–`47`. Empty = all Japan |
| `maxItems` | integer | 100 | Maximum number of listings to collect |
| `maxPages` | integer | 5 | Maximum number of pages to crawl |
| `proxyConfiguration` | object | auto | Apify proxy (auto) |

### Output

Each item contains: `itemId`, `title`, `maker`, `price` (JPY), `imageUrl`, `detailUrl`, `shop`, `source`, `scrapedAt`.

Example:

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

### Use Cases

- 🚗 Used car exporters & importers (inventory tracking, pricing research)
- 📊 Market researchers (JDM market trends, price analysis)
- 🔍 JDM enthusiasts hunting specific models

### Price Stats API Mode (相場統計API)

Same Actor doubles as a **price stats API** for market research — returns aggregated price statistics for a car model without downloading the full listing data.

**Request** (Apify synchronous 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}'
```

**Response** (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`: model name (e.g. `N-BOX`, `ハイエース`). Full-width/half-width matching handled automatically
- Combine with `bodyType` to narrow (e.g. `KEI`, `SUV`)
- Use cases: market research, dealer pricing benchmarks, export valuation

### Pricing

Pay per result: **$0.002 per item** ($2 per 1,000 listings).

### Legal

- Respects goo-net's robots.txt (search endpoints excluded; category pages allowed)
- For research and legitimate business use. Check goo-net's terms before commercial use.
- Rate-limited by design (3 retries, exponential backoff).

### Tech

- Python 3.11 + httpx + BeautifulSoup
- Apify Actor SDK v3
- EUC-JP decode support

# 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
{
  "searchKeyword": "",
  "prefecture": "",
  "bodyType": "",
  "statsMode": false,
  "statsKeyword": "",
  "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").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").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 --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"
        }
    }
}
```

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/bgm5Gxn4BeBmoO7xD/builds/m1mELUWZefE6tSlGz/openapi.json
