# Digimart Japan Used Instruments Scraper (`fruitful_quintessence/digimart-japan-used-instrument-scraper`) Actor

Scrape used instrument listings from Digimart, Japan's largest used-instrument marketplace (2,000+ shops). Price vs list price, condition rank, shop, stock. For cross-shop comparison with Ishibashi, see Japan Used Instrument Market Scraper.

- **URL**: https://apify.com/fruitful\_quintessence/digimart-japan-used-instrument-scraper.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

## Digimart Japan Used Instruments Scraper — デジマート 中古楽器スクレイパー

**Full instrument listings & prices from Digimart (デジマート), Japan's largest used-instrument marketplace (~2,000 shops).**

Scrape complete product data — not just stats — for guitars, basses, keyboards, drums, wind instruments and more. Get every listing with brand, category, condition rank, price vs. list price, shop name, stock status and images. Perfect for resale arbitrage, price monitoring, and Japanese used-gear market research.

### 🚀 Quick Start

1. Open [Digimart Japan Used Instruments Scraper on Apify Store](https://apify.com/fruitful_quintessence/digimart-japan-used-instrument-scraper)
2. Enter a keyword (e.g. "Fender", "ギター", "Martin") — comma-separated for batch search
3. Run and export as JSON, CSV, or XLSX

**Pricing:** Pay per event — $0.002/result + start fee.

### 📋 Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `productId` | string | Digimart product ID |
| `title` | string | Instrument title |
| `brand` | string | Brand (Fender, Gibson, Ibanez, Yamaha...) |
| `category` | string | Product category |
| `price` | int | **Selling price** in JPY |
| `listPrice` | int|null | **Original list price** in JPY (arbitrage signal) |
| `condition` | string | Condition rank (S/A/B/C/D...) |
| `instruTypeLabel` | string | 新品 / 中古 / ビンテージ / 新品アウトレット / B-stock |
| `inStock` | bool | In-stock status |
| `shopName` | string | Selling shop (~2,000 shops across Japan) |
| `registeredAt` | string | Listing date |
| `imageUrl` | string | Product image |
| `productUrl` | string | Product page URL |
| `scrapedAt` | string | Scrape timestamp |

### 🎯 Use Cases

1. **Resale arbitrage** — find instruments priced below list price or below market
2. **Price trend tracking** — monitor specific models (e.g. a Gibson Les Paul model) over time
3. **Import/export research** — Japanese gear demand analysis for overseas resellers
4. **Shop comparison** — compare the same instrument across 2,000+ Japanese shops
5. **AI/ML datasets** — training data for price prediction models

### ⚙️ Input

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchKeyword` | string | Fender | Keyword(s), comma-separated for batch |
| `maxItems` | int | 100 | Max items per keyword |
| `maxPages` | int | 3 | Max pages per keyword (20 items/page) |
| `proxyConfiguration` | proxy | auto | Apify proxy (recommended) |

### 📊 Example Output

```json
{
  "productId": "DS10679421",
  "title": "Limited Edition Acoustasonic Standard Telecaster",
  "brand": "Fender",
  "category": "アコースティックギター",
  "price": 89800,
  "listPrice": 104500,
  "condition": "S",
  "instruTypeLabel": "新品",
  "inStock": true,
  "shopName": "ロッキン 岐阜店 イオンモール各務原店",
  "imageUrl": "https://img.digimart.net/prdimg/s/50/323d...",
  "productUrl": "https://www.digimart.net/cat2/shop4978/DS10679421/",
  "scrapedAt": "2026-08-10T06:00:00Z"
}
```

### ⚠️ Notes

- Data is scraped from public search pages only (factual listing data: names, prices, stock, shop).
- Digimart search index contains 170,000+ items for popular keywords.
- Polite scraping: 0.5–1.5s delay between requests.

### 🔧 Development

```bash
pip install httpx beautifulsoup4
python3 src/main.py   # local mode, prints JSON
```

MIT License. Please respect Digimart's terms of service.

# Actor input Schema

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

キーワード（カンマ区切りで複数対応）

## `maxItems` (type: `number`):

取得する最大商品数

## `maxPages` (type: `number`):

キーワードごとの最大ページ数（1ページ20件）

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

Use Apify proxy

## Actor input object example

```json
{
  "searchKeyword": "Fender",
  "maxItems": 100,
  "maxPages": 3,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `productId` (type: `string`):

Digimart product ID

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

Instrument title

## `brand` (type: `string`):

Brand (e.g. Fender, Gibson, Ibanez)

## `category` (type: `string`):

Product category

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

Selling price in JPY

## `listPrice` (type: `string`):

Original list price in JPY

## `condition` (type: `string`):

Condition rank (S/A/B/C/D)

## `instruType` (type: `string`):

Instrument type code (1=new, 2=used, 3=vintage, 4=outlet, 5=B-stock)

## `instruTypeLabel` (type: `string`):

Instrument type label in Japanese

## `inStock` (type: `string`):

In-stock status

## `shopName` (type: `string`):

Selling shop name

## `registeredAt` (type: `string`):

Listing registration timestamp

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

Product image URL

## `productUrl` (type: `string`):

Product page URL

## `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": "Fender",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fruitful_quintessence/digimart-japan-used-instrument-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": "Fender",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fruitful_quintessence/digimart-japan-used-instrument-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": "Fender",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fruitful_quintessence/digimart-japan-used-instrument-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fruitful_quintessence/digimart-japan-used-instrument-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/FSuoQiX8OG4KuIQ9c/builds/3WSnjV09P1U6jG8Hj/openapi.json
