# Cardmarket Scraper (`tortuga/cardmarket-scraper`) Actor

Cardmarket daily price guide for 23 trading card games as JSON: trend, low, average and 1/7/30-day prices in EUR, foil variants, product id, name, expansion id and guide date. Filter by game, name or set. Singles and sealed products. No login, no proxy.

- **URL**: https://apify.com/tortuga/cardmarket-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.52 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Cardmarket Scraper

Cardmarket Scraper reads Cardmarket's official daily price guide for 23 trading card games and returns one clean row per product: trend price, lowest listing, average, 1, 7 and 30 day averages and the foil variants, all in EUR, with the product id, name, expansion id and the date of the guide. It covers single cards and sealed products (boosters, displays, decks, boxes). No login, no proxy, no browser.

The data comes from the public daily files Cardmarket publishes for download, not from the listing pages, so it is fast and stable: a full Pokemon or Magic guide loads in seconds.

### What you get

| Field | Meaning |
|---|---|
| `game`, `gameId`, `gameKey` | Game name, Cardmarket game id and short key (pokemon, magic, ...) |
| `idProduct`, `id` | Cardmarket product id, and a unique `gameId:idProduct` id |
| `name`, `productType`, `category` | Product name, `single` or `sealed`, Cardmarket category (for example "Pokémon Single") |
| `idExpansion`, `idMetacard` | Expansion (set) id and, for Magic, the oracle card id shared by all printings |
| `dateAdded` | Date the product was added to Cardmarket |
| `trend`, `low`, `avg`, `avg1`, `avg7`, `avg30` | Trend price, lowest listing, average sell price and 1/7/30-day averages (EUR) |
| `trendFoil`, `lowFoil`, `avgFoil`, `avg1Foil`, `avg7Foil`, `avg30Foil` | The same for foil or holo versions (null when none) |
| `currency`, `priceGuideDate` | Always EUR; the date the guide was generated (Cardmarket updates it once a day) |

Rarity, expansion names, images and per-seller offers are not in the published files, so they are not part of the output. Use `idExpansion` to group or filter by set.

### Input example

```json
{
  "games": ["pokemon"],
  "searchTerms": ["charizard"],
  "maxItems": 20
}
```

Other inputs: `expansionIds` (set ids), `productTypes` (`singles`, `sealed`), `minTrend` (EUR), `sortBy` (`trendDesc` for the most valuable first), `onlyNewOrChanged` with `monitoringKey`. `games` accepts names, abbreviations such as `mtg` or `ygo`, Cardmarket game ids, or `all`.

### Output example

```json
{
  "id": "6:273699",
  "game": "Pokemon",
  "gameKey": "pokemon",
  "gameId": 6,
  "idProduct": 273699,
  "name": "Charizard [Energy Burn | Fire Spin]",
  "productType": "single",
  "category": "Pokémon Single",
  "idCategory": 51,
  "idExpansion": 1523,
  "idMetacard": 211560,
  "dateAdded": null,
  "currency": "EUR",
  "priceGuideDate": "2026-11-20",
  "avg": 453.87,
  "low": 89.95,
  "trend": 441.79,
  "avg1": 404.82,
  "avg7": 559.08,
  "avg30": 473.74,
  "avgFoil": null,
  "lowFoil": null,
  "trendFoil": null,
  "avg1Foil": null,
  "avg7Foil": null,
  "avg30Foil": null
}
```

### Games

pokemon, magic, yugioh, onepiece, lorcana, fleshandblood, digimon, dragonballsuper, starwarsunlimited, weissschwarz, vanguard, riftbound, gundam, sorcery, finalfantasy, forceofwill, cyberpunk, battlespiritssaga, starwarsdestiny, wow, spoils, dragoborne, mylittlepony.

### Pricing

| Event | Price |
|---|---|
| Product (one row) | $0.00065 ($0.65 per 1,000), volume tiers 10 to 20 percent lower |
| Actor start | $0.00005 per run |

Platform compute and storage are included for you; there is no proxy to pay for.

### Monitor changes on a schedule

Turn on `onlyNewOrChanged` and schedule a saved task in Apify (daily fits, because Cardmarket updates the guide once a day). The Actor remembers the trend, low and 7-day average of each product and outputs only new products and products whose price changed; unchanged products are not charged. Changed rows carry `changeType` (`new` or `changed`) and `previousValues`. Set `monitoringKey` to keep several watches separate.

### FAQ

**Where does the data come from?** From the daily price guide and product list files that Cardmarket publishes for public download. No page scraping, no login and no API key.

**Does it include live seller offers or condition and language prices?** No. The guide holds aggregate prices per product (trend, low, averages), not individual offers.

**How often does the data change?** Once a day; `priceGuideDate` tells you which day you got.

**How do I get a card's price by name?** Set `games` and `searchTerms`, for example `["lightning bolt"]` for Magic. All words must appear in the product name.

**Why is there no product link?** The files carry numeric ids only, and Cardmarket's product page addresses need set and card slugs that are not in them.

**Is this legal?** The Actor reads files that Cardmarket publishes for public download and returns market prices only. Check Cardmarket's terms for your own use of the data.

### Proxy note

No proxy is used or needed. The files load directly.

# Actor input Schema

## `games` (type: `array`):

Trading card games to read: pokemon, magic, yugioh, onepiece, lorcana, fleshandblood, digimon and 16 more (names, common abbreviations such as mtg, or Cardmarket game ids work). Use all for every game.

## `searchTerms` (type: `array`):

Keep only products whose name contains all words of an entry (case and accent insensitive). Several entries match any of them. Empty means no name filter.

## `expansionIds` (type: `array`):

Keep only products from these Cardmarket expansion (set) ids, for example 45. Empty means all expansions. The id is the idExpansion value in each output row.

## `productTypes` (type: `array`):

singles for single cards, sealed for boosters, displays, decks and boxes. Default is both.

## `minTrend` (type: `number`):

Keep only products whose trend price is at least this many euros.

## `sortBy` (type: `string`):

File order (default) or highest trend price first, across all selected games.

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

Stop after this many products. Keeps cost predictable.

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this search returned and output only new items or items whose price/status changed. Use with a Schedule; unchanged items are not charged.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input.

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

Not needed: the price guide files are public static files that load without a proxy.

## Actor input object example

```json
{
  "games": [
    "pokemon"
  ],
  "searchTerms": [
    "charizard"
  ],
  "productTypes": [
    "singles",
    "sealed"
  ],
  "sortBy": "default",
  "maxItems": 100,
  "onlyNewOrChanged": 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 = {
    "games": [
        "pokemon"
    ],
    "searchTerms": [
        "charizard"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/cardmarket-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 = {
    "games": ["pokemon"],
    "searchTerms": ["charizard"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/cardmarket-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 '{
  "games": [
    "pokemon"
  ],
  "searchTerms": [
    "charizard"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call tortuga/cardmarket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tortuga/cardmarket-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/rBO5Lpq37fwlrwXsY/builds/dXRh2CJ6lBWAFe2F5/openapi.json
