# BigWeb Scraper - Japanese MTG & TCG Singles Prices (JPY) (`lulzasaur/bigweb-scraper`) Actor

Scrape BigWeb (bigweb.co.jp), one of Japan's largest MTG/TCG singles retailers. Get JPY prices, stock, rarity, condition, foil status, language and images for MTG, Pokemon, Yu-Gi-Oh, One Piece and 25+ games. Search by card name (English works for MTG) or dump entire sets by cardset ID.

- **URL**: https://apify.com/lulzasaur/bigweb-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.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

## BigWeb Scraper — Japanese MTG & TCG Singles Prices (JPY)

Scrape **BigWeb (bigweb.co.jp)**, one of Japan's largest trading card singles retailers, for real-time **JPY prices, stock, rarity, condition, foil status and language** across Magic: The Gathering, Pokemon, Yu-Gi-Oh, One Piece, Duel Masters and 25+ other card games.

Japanese singles frequently trade well below Western market prices — BigWeb data is a goldmine for arbitrage tracking, market research and price comparison against TCGPlayer, Cardmarket or Hareruya.

### What it does

- Search any supported game by **card name** — MTG works in **English** ("ragavan", "lightning bolt") or Japanese; Japanese-origin games (Pokemon, One Piece, Yu-Gi-Oh...) use Japanese names (ピカチュウ)
- Dump **entire sets** by BigWeb cardset ID (find IDs at `https://api.bigweb.co.jp/cardsets?game_id=1`)
- Each result is a distinct listing per **condition / foil / language** variant with its own price and stock
- Optional in-stock-only filter (BigWeb keeps sold-out listings with their last price — useful for price history)

### Output example

```json
{
    "listingId": 3180393,
    "name": "Ragavan, Nimble Pilferer",
    "nameJa": "敏捷なこそ泥、ラガバン",
    "game": "mtg",
    "setName": "モダンホライゾン2_ブースターファン",
    "setCode": "MH2_BF",
    "cardsetId": 6987,
    "rarity": "M",
    "rarityJa": "神話レア",
    "condition": "NM",
    "conditionJa": "FOILニアミント",
    "isFoil": true,
    "language": "Japanese",
    "languageCode": "JP",
    "priceJpy": 8500,
    "currency": "JPY",
    "stock": 2,
    "availability": "In Stock",
    "imageUrl": "https://image.bigweb.co.jp/new/imgc/031/803/3180393.jpg",
    "url": "https://www.bigweb.co.jp/ja/products/mtg/cardViewer/3180393",
    "searchQuery": "ragavan",
    "scrapedAt": "2026-08-09T12:00:00.000Z"
}
```

### Input

| Field | Description |
|---|---|
| `game` | Game section (MTG, Pokemon, Yu-Gi-Oh, One Piece, Lorcana, ...) |
| `searchQueries` | Card names — English works for MTG, Japanese for JP-origin games |
| `cardsetIds` | Optional: dump whole sets by numeric cardset ID |
| `inStockOnly` | Skip sold-out listings |
| `maxItems` | Cap total records (default 300) |

### Use cases

- **Arbitrage**: compare Japanese singles prices vs TCGPlayer / Cardmarket in real time
- **Price tracking**: schedule runs to build JPY price history per card/condition/foil
- **Inventory sourcing**: find in-stock Japanese-language copies for import
- **Market research**: rarity/price distribution across sets and games

### Notes

- Sold-out listings are included by default (with `availability: "Sold Out"`) since their last price is valuable signal; set `inStockOnly` to skip them
- Foil status is derived from BigWeb's condition label (e.g. `FOILニアミント`)
- Prices are JPY integers, no tax/shipping included

# Actor input Schema

## `game` (type: `string`):

BigWeb game section. MTG card names can be searched in ENGLISH or Japanese; most other games are Japanese-name only (e.g. ピカチュウ for Pikachu).

## `searchQueries` (type: `array`):

Card names to search. For MTG both English ("ragavan", "lightning bolt") and Japanese names work. For Japanese-origin games (Pokemon, One Piece, Yu-Gi-Oh...) use Japanese card names.

## `cardsetIds` (type: `array`):

Dump entire sets by BigWeb numeric cardset ID instead of (or in addition to) keyword search — e.g. 6986 = Modern Horizons 2. Get IDs from https://api.bigweb.co.jp/cardsets?game\_id=1 (name + code + id per set).

## `inStockOnly` (type: `boolean`):

Skip sold-out listings (BigWeb keeps sold-out cards in search results with their last price).

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

Maximum number of card records to push across all queries and sets.

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

BigWeb's JSON API is open and works without a proxy. Only set this if your runs start getting blocked.

## Actor input object example

```json
{
  "game": "1",
  "searchQueries": [
    "ragavan"
  ],
  "cardsetIds": [],
  "inStockOnly": false,
  "maxItems": 300
}
```

# 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 = {
    "searchQueries": [
        "ragavan"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/bigweb-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 = { "searchQueries": ["ragavan"] }

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/bigweb-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 '{
  "searchQueries": [
    "ragavan"
  ]
}' |
apify call lulzasaur/bigweb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lulzasaur/bigweb-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/ub2m35sl4q6PiyK2j/builds/6tTURqqThdvPnXcDS/openapi.json
