# TCGplayer Scraper — Card Prices, Market Value & Sales (`hipersoft/tcgplayer-scraper`) Actor

Scrape TCGplayer trading-card prices: market price, median, lowest price, listings, set, rarity and number for Pokémon, Magic, Yu-Gi-Oh!, Lorcana, One Piece and more, plus optional 3-month sales history. Export CSV/JSON.

- **URL**: https://apify.com/hipersoft/tcgplayer-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00075 / product

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

## TCGplayer Scraper: Trading Card Prices, Market Value & Sales History

**TCGplayer Scraper** extracts trading-card prices from **TCGplayer (tcgplayer.com)**, the biggest US marketplace for **Pokémon, Magic: The Gathering, Yu-Gi-Oh!, Disney Lorcana, One Piece, Flesh and Blood, Digimon, Dragon Ball Super and Star Wars: Unlimited** cards and sealed products. Every product includes the **TCGplayer market price, median price, lowest price, lowest price with shipping, number of listings, game, set, set code, card number, rarity, card type, release date, image and link**. Optionally add **3-month sales history** with average daily sales, total sold and recent market-price points per condition. Export to **CSV, Excel or JSON**.

### What does TCGplayer Scraper do?

- 🃏 **Search any card or product** across all major trading-card games.
- 💵 **Prices**: market price, median, lowest and lowest-with-shipping in USD.
- 📦 **Supply**: number of active listings.
- 🏷️ **Card details**: set, set code, number, rarity, card type and release date.
- 📈 **Sales history (optional)**: average daily sales, total sold in 3 months and market-price trend per variant and condition.
- 🎯 **Filters**: game, set, rarity, sealed products only and minimum market price.
- 🔃 **Sort** by best match or market price (high or low).
- 🖼️ **Card images** in high resolution.

### What data can you scrape from TCGplayer?

| Field | Description |
|---|---|
| Product ID, name, link | TCGplayer product |
| Image | High-resolution product image |
| Game, set, set code | Product line and set |
| Number, rarity, card type | Card details |
| Sealed, foil only | Product flags |
| Release date | Set release date |
| Market price | TCGplayer market price (USD) |
| Median, lowest | Median and lowest listing prices |
| Lowest with shipping | Cheapest delivered price |
| Listings | Active listing count |
| Sales history | Daily sales, 3-month volume, price points |

### Use cases for TCGplayer price data

- **Collectors**: value your collection and track card prices over time.
- **Card shops and resellers**: set buy and sell prices from real market data.
- **Investors**: find sealed products and chase cards with rising prices and strong sales.
- **Price-tracking apps and Discord bots**: feed live card prices into your tools.
- **Content creators**: publish "most valuable cards" and set-value lists.

### How to scrape TCGplayer

1. Click **Try for free** to open TCGplayer Scraper in Apify Console.
2. Enter **search terms** and pick a **game**.
3. Optionally set **set**, **rarity**, **sealed only**, **sort** or **minimum market price**.
4. Turn on **Include 3-month sales history** if you need sales data.
5. Click **Start** and download the data as **CSV, Excel or JSON**.

### Input

#### Example input

```json
{
  "searchTerms": ["charizard"],
  "productLine": "pokemon",
  "sortBy": "priceHigh",
  "minMarketPrice": 50,
  "includeSalesHistory": true,
  "maxItems": 200
}
```

| Field | Description |
|---|---|
| **Search terms** | Card or product names. Empty = browse the whole game. |
| **Game** | Pokémon, Magic, Yu-Gi-Oh!, Lorcana, One Piece and more. |
| **Set**, **Rarity** | Optional filters. |
| **Sealed products only** | Booster boxes, ETBs, tins… |
| **Sort by** | Best match or market price. |
| **Minimum market price** | Price floor in USD. |
| **Include 3-month sales history** | Adds sales data. |
| **Max products** | Stop after this many (0 = up to 10,000 per search). |

### Output

#### Product example

```json
{
  "productId": 635609,
  "name": "Paldean Fates Booster Bundle Display Case",
  "url": "https://www.tcgplayer.com/product/635609/pokemon-sv-paldean-fates-paldean-fates-booster-bundle-display-case",
  "imageUrl": "https://tcgplayer-cdn.tcgplayer.com/product/635609_in_1000x1000.jpg",
  "game": "Pokemon",
  "set": "SV: Paldean Fates",
  "setCode": "PAF",
  "rarity": null,
  "releaseDate": "2024-01-26T00:00:00Z",
  "marketPrice": 8999.99,
  "medianPrice": 11499.99,
  "lowestPrice": 10500,
  "lowestPriceWithShipping": 10500,
  "totalListings": 5,
  "currency": "USD",
  "salesHistory": [
    {
      "variant": "Normal",
      "condition": "Unopened",
      "language": "English",
      "avgDailySold": 0,
      "totalSold3Months": 0,
      "recentMarketPrices": [{ "date": "2026-10-06", "marketPrice": 8952.21, "sold": 0 }]
    }
  ]
}
```

#### Output schema

| Field | Type | Description |
|---|---|---|
| `productId`, `name`, `url`, `imageUrl` | mixed | Product. |
| `game`, `set`, `setCode`, `number`, `rarity`, `cardType` | string | Card details. |
| `sealed`, `foilOnly`, `releaseDate` | mixed | Flags and date. |
| `marketPrice`, `medianPrice`, `lowestPrice`, `lowestPriceWithShipping` | number | Prices (USD). |
| `totalListings` | number | Active listings. |
| `description` | string | Product description. |
| `salesHistory` | array | 3-month sales data (optional). |
| `search`, `scrapedAt` | string | Source info. |

### How much does it cost to scrape TCGplayer?

TCGplayer Scraper uses **pay-per-product** pricing: a small fixed price per product, with automatic discounts on higher Apify plans. See the **Pricing** tab for the exact price.

### More collectibles and marketplace data

- [eBay Scraper](https://apify.com/hipersoft/ebay-scraper): eBay listings and sold prices.

### FAQ

**What is the market price?**
TCGplayer's market price is based on recent completed sales, the standard reference price for trading cards.

**Can I get prices for every card in a set?**
Yes. Leave **Search terms** empty, choose the **Game** and enter the **Set**.

**How many products can I get?**
Up to 10,000 per search. Use several searches or set filters for more.

**What formats can I export?**
CSV, Excel, JSON, XML, HTML and RSS, or read the results through the Apify API.

**Can I integrate TCGplayer Scraper with other apps?**
TCGplayer Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JS/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

**Is it legal to scrape TCGplayer?**
The scraper only collects publicly displayed product and price information. You are responsible for using the data in line with TCGplayer's terms.

### Related Actors

- [eBay Scraper](https://apify.com/hipersoft/ebay-scraper)

### Notes

Original clean-room implementation. Returns only public data. Not affiliated with TCGplayer or any card publisher.

# Actor input Schema

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

Card or product names, e.g. charizard, black lotus, blue-eyes white dragon, booster box. Leave empty to browse the whole game.

## `productLine` (type: `string`):

Only products from this game.

## `setName` (type: `string`):

Optional set name, e.g. SV: Paldean Fates, Base Set, Alpha Edition.

## `rarity` (type: `string`):

Optional rarity as shown on TCGplayer, e.g. Special Illustration Rare, Mythic, Secret Rare.

## `sealedOnly` (type: `boolean`):

Only sealed products (booster boxes, ETBs, tins…).

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

Result order.

## `minMarketPrice` (type: `integer`):

Only products worth at least this much.

## `includeSalesHistory` (type: `boolean`):

Add average daily sales, total sold in the last 3 months and recent market-price points per variant and condition.

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

Stop after this many products. 0 means no limit (up to 10,000 per search).

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

Not required for normal use.

## Actor input object example

```json
{
  "searchTerms": [
    "charizard"
  ],
  "productLine": "pokemon",
  "sealedOnly": false,
  "sortBy": "relevance",
  "minMarketPrice": 0,
  "includeSalesHistory": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

The results as dataset items.

# 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 = {
    "searchTerms": [
        "charizard"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/tcgplayer-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 = {
    "searchTerms": ["charizard"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/tcgplayer-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 '{
  "searchTerms": [
    "charizard"
  ],
  "maxItems": 50
}' |
apify call hipersoft/tcgplayer-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/tcgplayer-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/8qftDi2lS9stOu8bO/builds/7hnVZ8TQpDalsZc8W/openapi.json
