# Hobbiesville Scraper - Pokemon & MTG Cards (CAD) (`lulzasaur/hobbiesville-scraper`) Actor

Scrape Hobbiesville (hobbiesville.com), a major Canadian Pokemon & Magic: The Gathering retailer. Search singles and sealed products for name, game, set, collector number, rarity, foil/finish, price range, per-condition prices, stock, currency (CAD), image and product URL from its Shopify JSON API.

- **URL**: https://apify.com/lulzasaur/hobbiesville-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

## Hobbiesville Scraper — Pokemon & MTG Card Prices (CAD)

Scrape [Hobbiesville](https://hobbiesville.com), one of Canada's largest Pokemon and Magic: The Gathering retailers. Search by card or product name and get structured pricing, set, rarity, foil, condition and stock data in **Canadian dollars (CAD)** — straight from the store's Shopify JSON API (fast, no browser).

### What you get

For each matching product (singles or sealed):

| Field | Description |
|-------|-------------|
| `name` | Card / product name (e.g. "Charizard") |
| `game` | Game / brand (Pokemon, Magicthegathering…) |
| `setName` | Set / edition (e.g. "Base Set", "Bloomburrow Commander") |
| `collectorNumber` | Collector number when present (e.g. "4", "039/165") |
| `rarity` | Rarity (Holo Rare, UNCOMMON, RARE…) |
| `foil` | `true` for foil / holofoil printings |
| `finish` | Raw finish tag (Holofoil / Normal / nonfoil…) |
| `cardType` / `color` | MTG card type and colour when present |
| `conditions` | Array of `{condition, conditionName, price, available, sku}` per grade (best-effort) |
| `lowestPrice` | Lowest in-stock price |
| `priceMin` / `priceMax` | Price range |
| `currency` | Always `CAD` |
| `inStock` | Whether the product is in stock |
| `productType` | Single, Tin, Booster Box, etc. |
| `imageUrl` | Product image URL |
| `url` | Product page URL |

### Input

```json
{
    "searchQueries": ["charizard", "sol ring"],
    "maxListings": 50,
    "fetchConditions": true
}
```

- **searchQueries** — list of card / product names to search. Predictive search returns up to 10 top matches per query.
- **maxListings** — max products returned per query (default 50).
- **fetchConditions** — also fetch per-condition price + stock (one extra request per product). Best-effort; falls back to the tag-derived record and price range if rate-limited.
- **proxyConfiguration** — optional; the site works without a proxy. Use Residential if you hit rate limits.

### Output sample

```json
{
    "name": "Charizard",
    "game": "Pokemon",
    "setName": "Base Set (Shadowless)",
    "collectorNumber": "4",
    "rarity": "Holo Rare",
    "foil": true,
    "finish": "Holofoil",
    "lowestPrice": 2082.28,
    "priceMin": 2082.28,
    "priceMax": 3203.50,
    "currency": "CAD",
    "inStock": false,
    "productType": "Single",
    "imageUrl": "https://cdn.shopify.com/…",
    "url": "https://hobbiesville.com/products/charizard-4-holo-rare-1st-edition-holofoil",
    "searchQuery": "charizard",
    "source": "hobbiesville.com"
}
```

### Use cases

- Pokemon / MTG price comparison and arbitrage against US retailers, TCGplayer and eBay sold comps.
- Tracking singles and sealed availability and pricing for Canadian buyers.
- Feeding deck-building, collection-tracking and pricing tools with CAD data.

### Notes

- Data comes from the store's public Shopify storefront JSON (`/search/suggest.json` + product `.js`). No login required.
- Most metadata (game, set, rarity, finish) is parsed from product tags; per-condition variant prices are best-effort.
- Prices and availability reflect the moment of scraping.

# Actor input Schema

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

Card or product names to search on Hobbiesville (e.g. 'charizard', 'sol ring', 'booster box'). Each query returns matching Pokemon / Magic: The Gathering singles and sealed products with prices in CAD.

## `maxListings` (type: `integer`):

Maximum number of products to return per search query. Predictive search returns up to 10 top matches per query.

## `fetchConditions` (type: `boolean`):

Also fetch each product's variant data for per-condition prices (Near Mint / Lightly Played / etc.) and stock. Adds one request per product and is best-effort (Hobbiesville rate-limits this endpoint; it falls back to the tag-derived record and price range). Leave off for a fast, reliable scrape.

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

Proxy settings. Hobbiesville serves its Shopify JSON API directly and usually works without a proxy; enable Apify Proxy (Residential) if you hit rate limits, especially with per-condition fetching on.

## Actor input object example

```json
{
  "searchQueries": [
    "charizard"
  ],
  "maxListings": 50,
  "fetchConditions": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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": [
        "charizard"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/hobbiesville-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "charizard"
  ]
}' |
apify call lulzasaur/hobbiesville-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=lulzasaur/hobbiesville-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/OsBr0cRUQ8GpjH2zW/builds/YncTvnh81mf1071nA/openapi.json
