# TCGplayer Scraper: Card Prices, Sales & Price History (`scrapebench/tcgplayer-card-prices-scraper`) Actor

TCGplayer card prices for Pokemon, Magic, Yu-Gi-Oh, Lorcana, One Piece and more: price by condition and printing, latest sales and 90-day history, by card name, set or URL. $2.10 per 1,000 cards.

- **URL**: https://apify.com/scrapebench/tcgplayer-card-prices-scraper.md
- **Developed by:** [ScrapeBench](https://apify.com/scrapebench) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0021 / card price

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/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: Card Prices, Sales & Price History

### Pain points

- One market price per card is not enough to price a shop: Near Mint and Lightly Played, Normal and Foil sell for very different amounts.
- TCGplayer closed its developer API to new users, so there is no key to apply for.
- What a card actually sold for, and when, sits in a pop-up on each product page; copying it for a whole set by hand takes hours.
- A search for a card name brings up booster boxes, tins and playmats mixed in with the cards.

### What we solve

- Searches by card name, exports whole sets, or reads product URLs and ids, with game, rarity and price filters.
- Every card row carries the market price per condition, printing and language, with quantity sold and the low and high sale over the last 30 days, plus the market price per printing.
- Latest sales come back as their own rows: date, condition, printing, language, quantity, price and shipping.
- Price history: 90 days in 3-day steps per condition and printing.
- Cards only by default; turn it off to include sealed product.
- Compare with the previous run: previous price and percentage change on every card.

### Summary

Price a card, a set or a whole game from TCGplayer in one run. Give card names, set names, product URLs or just a game, and each product comes back as one row: market, lowest and median price, live listing and seller counts, the market price for every condition, printing and language with what sold in the last 30 days, the market price per printing, the three cheapest live listings with their sellers, card number, rarity, type, image and every card attribute TCGplayer shows. Turn on Latest sales for one row per sale, and Price history for 90 days of prices in 3-day steps. Searches are cards only unless you say otherwise. A card that has not sold recently has an empty market price, never a made-up zero. A search with no match, a set name TCGplayer does not know, or a refused request returns a free notice row, not a silent empty result.

### Who it's for

- Card shops repricing inventory by condition and printing
- Flippers and collectors pulling sold prices before they buy
- Developers of collection, deck-price and portfolio apps
- Analysts tracking set and card price movement on a schedule
- AI agents answering what a card is worth

### How to use

Set the input, run the actor, and collect results from the run's dataset (export to JSON/CSV/Excel, or pull via the Apify API). Example input:

```json
{
  "queries": [
    "Charizard ex"
  ],
  "game": "pokemon",
  "maxResults": 20
}
```

See **Inputs** below for every available field.

### What you get

One row per record:

| Field | Description |
|---|---|
| `product_id, name, game, set_name, set_code, card_number, rarity, card_type` | What the product is, as TCGplayer lists it |
| `market_price, lowest_price, lowest_price_with_shipping, median_price` | TCGplayer's market price (from recent sales) and live listing prices, USD |
| `total_listings, sellers` | Live listings and sellers |
| `prices_by_condition` | Per condition x printing x language: market price, quantity sold, low and high sale, daily averages |
| `prices_by_printing` | Per printing (Normal, Foil): market price, listed median, buylist market price |
| `lowest_listings` | The three cheapest live listings: price, shipping, condition, printing, seller and rating |
| `previous_price, price_change_pct` | Compare on: the price on the last run and the change |
| `image_url, url, search_query` | Product image, page and the search that found it |
| `extras` | Every other field TCGplayer shows: card text, attacks, HP, cost, artist, release date, SKUs and ids |
| `sale rows` | condition, printing, language, quantity, price, shipping_price, listing_type, title, sold_at |
| `price_history rows` | Per condition and printing: daily averages, totals, and buckets of date, market price, quantity sold, low and high sale |

Sample:

```json
{
  "row_type": "card",
  "product_id": 124024,
  "name": "Charizard EX",
  "game": "Pokemon",
  "set_name": "XY - Evolutions",
  "card_number": "12/108",
  "rarity": "Ultra Rare",
  "market_price": 20.04,
  "lowest_price": 4.9,
  "total_listings": 212,
  "prices_by_condition": [
    {
      "condition": "Near Mint",
      "printing": "Holofoil",
      "language": "English",
      "market_price": 20.04,
      "sold_qty": 52,
      "low_sale_price": 12.0,
      "high_sale_price": 28.99,
      "period_days": 30
    },
    {
      "condition": "Lightly Played",
      "printing": "Holofoil",
      "language": "English",
      "market_price": 12.1,
      "sold_qty": 35,
      "low_sale_price": 9.5,
      "high_sale_price": 18.51,
      "period_days": 30
    }
  ],
  "url": "https://www.tcgplayer.com/product/124024/pokemon-xy-evolutions-charizard-ex"
}
```

### Inputs

| Field | Required | Type | Default | Description |
|---|---|---|---|---|
| `queries` | no | array | `["Charizard ex"]` | Card or product names to search, one per line (Charizard ex, Sol Ring, Dark Magician). Each search returns up to Maximum results products; a product found twice is returned and charged once. |
| `query` | no | string | — | One card name, for saved tasks and API calls that send a single value. Use Card names above for several. |
| `sets` | no | array | `[]` | Whole sets to export, one per line, by the name TCGplayer shows (Commander Legends, Scarlet & Violet 151). With a card name too, the name is searched inside each set. Pick the game below for the surest match. |
| `set` | no | string | — | One set name, for saved tasks and API calls that send a single value. |
| `productUrls` | no | array | `[]` | Product pages (https://www.tcgplayer.com/product/219058/...) or bare product ids, one per line. A TCGplayer search page URL works too: its words, game and set are used as the search. |
| `game` | no | string | — | Only this game: pokemon, magic, yugioh, lorcana, one-piece, pokemon-japan, digimon, flesh-and-blood, star-wars-unlimited, or any other TCGplayer product line. Empty means any game. With no name or set, returns the game's most valuable cards. |
| `cardsOnly` | no | boolean | `true` | Leave on to skip sealed product (booster boxes, packs, tins) and supplies. Turn off to include them. |
| `rarity` | no | string | — | Only this rarity, as TCGplayer words it (Mythic, Secret Rare, Double Rare, Ultra Rare). |
| `minPrice` | no | integer | — | Only products whose market price is at least this. |
| `maxPrice` | no | integer | — | Only products whose market price is at most this. |
| `sort` | no | string | `"auto"` | auto: best match for a card name, most valuable first for a set or game. |
| `maxResults` | no | integer | `20` | Cap on products for EACH card name or set. TCGplayer shows 10,000 results per search; a game-wide export above that is walked set by set. |
| `includeSales` | no | boolean | `false` | Also return each product's latest sales as rows: date, condition, printing, language, quantity, price and shipping. Charged per sale. |
| `maxSalesPerCard` | no | integer | `25` | Cap on sale rows per product, newest first (up to about 5 per condition). |
| `includeHistory` | no | boolean | `false` | Also return 90 days of price history per condition and printing, in 3-day steps: market price, quantity sold, low and high sale. Charged once per product. |
| `compareWithPreviousRun` | no | boolean | `false` | Fill previous_price and price_change_pct from the last run that saw each product. The first run only saves prices. |
| `proxyConfiguration` | no | object | `{"useApifyProxy": false}` | Not needed: leave off. Turn on a proxy only if your runs are refused. |

### Pricing (Pay Per Event)

You pay per result (`card-price`) — **no charge for empty runs**. Example: **1000 cards** at *$0.0021/result* ≈ **$2.10**.

Cards are $0.0021 each with no start fee. Latest sales add $0.002 per sale, price history $0.0025 per card. Compute is included. Notice rows are never charged.

### Use cases

- Reprice a shop's inventory: market price per condition and printing for every card in a set.
- Export a whole set ranked by market price.
- Pull sold comps (the latest sales) before buying a collection.
- Spot movers: run it daily with Compare on and sort by price_change_pct.
- Feed a collection-value app with market prices and images.
- Compare Foil against Normal, and Near Mint against Lightly Played.
- Track sealed product prices with Cards only turned off.

### Why this actor

- Price by condition, printing and language on every card row, with 30-day quantity sold and low and high sale.
- Latest sales as rows you can filter and chart, plus 90-day price history in 3-day steps.
- Cards only by default, so a name search returns cards, not booster boxes.
- Whole-set and whole-game exports, walked set by set past TCGplayer's 10,000-results-per-search limit.
- A card TCGplayer could not price is not charged, and every empty result is a free notice row.

### Limitations & updates

Public TCGplayer data only, in US dollars: no seller inventory beyond the three cheapest listings, no buylist offers beyond the buylist market price, and no account data. Latest sales are limited to what TCGplayer shows (about 5 per condition). TCGplayer shows 10,000 results per search; a game-wide export is walked set by set. Prices are as of the run.

### FAQ

**TCGplayer's API is closed. What does this give me instead?**

TCGplayer stopped granting new API access. This actor reads the same prices the public product pages show: market, lowest and median price, the price for each condition and printing, latest sales and price history, with no account or key.

**Why is market_price empty on some cards?**

TCGplayer's market price comes from recent sales. A card that has not sold recently (an Alpha Black Lotus, say) has none, so the row shows an empty value rather than a zero. lowest_price still shows what it is listed for.

**How many sales and how much history do I get?**

Latest sales: up to about 5 per condition, newest first, capped by Maximum sales per product (25 by default). Price history: 90 days in 3-day steps for each condition and printing that sold.

**Which games, and does it include sealed product?**

Every TCGplayer product line: Pokemon, Pokemon Japan, Magic, Yu-Gi-Oh, Lorcana, One Piece, Digimon, Flesh and Blood, Star Wars Unlimited and more. Cards only is on by default; turn it off to include booster boxes, packs and other sealed product. Sports cards are not sold on TCGplayer.

**What does a run cost?**

$0.0021 per card, $0.002 per sale and $0.0025 per card's price history. A 300-card set costs $0.63; a second run on its 50 top cards (maxResults 50) with 25 latest sales and price history each adds about $2.63. Notice rows (no match, a set name TCGplayer does not know, a refused request) are free.

**Can I track price changes on a schedule?**

Yes. Turn on Compare with the previous run and schedule the actor. Each card gets previous_price and price_change_pct from the last run that saw it; the first run only saves prices.

### Which actor to choose

Related tools:

- **PriceCharting Scraper: Graded & Sports Card Prices, Sold Comps** — You need graded prices (PSA 10, BGS, CGC, SGC), population, sold comps by grade, or sports cards; join on its tcgplayer_product_id.

### Guides & use cases

Written up on **[scrapebench.dev](https://scrapebench.dev)** — the bench that runs and verifies this actor against the live source every night:

- **How-to:** [How to run TCGplayer Scraper: Card Prices, Sales & Price History](https://scrapebench.dev/guides/how-to-tcgplayer-card-prices-scraper/)
- **Use case:** [Reprice a Card Shop's Pokemon Singles by Condition](https://scrapebench.dev/use-cases/reprice-pokemon-singles-by-condition/)

More actors, coverage and nightly verification results: **[scrapebench.dev](https://scrapebench.dev)**

### Works with AI assistants (MCP)

Callable as an MCP tool, so Claude, Cursor, VS Code Copilot and other MCP clients can run it directly. Grab the config from the [MCP tab](https://apify.com/scrapebench/tcgplayer-card-prices-scraper/api/mcp) on this page — Apify hosts the server and keeps that snippet current, and OAuth signs you in on first connect, so no API token goes in your config file.

Then just ask:

> "What are the TCGplayer prices for 'Charizard ex' Pokemon cards? Give me the 20 cards with the market price for each condition."

Run as {"queries":\["Charizard ex"],"game":"pokemon","maxResults":20}: 20 cards, about $0.04. Runs started this way bill exactly like any other run.

### Data & lawful use

This actor collects publicly available information that TCGplayer, Inc. (an eBay company) publishes for public
lookup — licence records, business listings and the contact details professionals list there.
Some of it identifies individuals (sole proprietors, licence holders, agents), so treat any
names, phone numbers and emails in your results as personal data.

When you run this actor, you decide what is collected and what it is used for, so you are the
controller of that data and we act only as your processor (Apify Standard Actor Contract).
You need a lawful basis for your use, must honour opt-out and deletion requests, and must
follow the marketing rules that apply to you (CAN-SPAM, TCPA, GDPR, CCPA and similar).
Don't use the output for unsolicited bulk messaging, for screening covered by the FCRA, or
for anything the source's own terms forbid.

Your results are stored in your own Apify account. We don't keep a copy of your results and
don't sell or share them.

### Disclaimer

This is an independent tool. It is not affiliated with, endorsed by or sponsored by
TCGplayer, Inc. (an eBay company). Names and marks are used only to describe the data source. Records are
provided as published by the source and may be out of date or incomplete. For anything
consequential (hiring, a permit, a legal decision), confirm the record with the issuing
agency. You are responsible for making sure your use complies with applicable law and the
source's terms.

### Need help?

Open an issue on this actor's **Issues** tab and we'll respond there. Bug reports, missing
fields and feature requests are all welcome. Guides and examples: [scrapebench.dev](https://scrapebench.dev).

If you are a person named in this data and want your record removed from our copy, email
apify-help@scrapebench.dev; the source agency remains the official record.

Your run may be used to improve our services. If something looks off, or you want this actor to fit your use better, please share your run data with us: [Apify Console → Settings → Security → Share run data with developers](https://console.apify.com/settings/security). It lets us see exactly what went wrong and keep improving the actor.

If this actor saved you time, a short review on its Store page helps other buyers find it.

# Actor input Schema

## `queries` (type: `array`):

Card or product names to search, one per line (Charizard ex, Sol Ring, Dark Magician). Each search returns up to Maximum results products; a product found twice is returned and charged once.

## `query` (type: `string`):

One card name, for saved tasks and API calls that send a single value. Use Card names above for several.

## `sets` (type: `array`):

Whole sets to export, one per line, by the name TCGplayer shows (Commander Legends, Scarlet & Violet 151). With a card name too, the name is searched inside each set. Pick the game below for the surest match.

## `set` (type: `string`):

One set name, for saved tasks and API calls that send a single value.

## `productUrls` (type: `array`):

Product pages (https://www.tcgplayer.com/product/219058/...) or bare product ids, one per line. A TCGplayer search page URL works too: its words, game and set are used as the search.

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

Only this game: pokemon, magic, yugioh, lorcana, one-piece, pokemon-japan, digimon, flesh-and-blood, star-wars-unlimited, or any other TCGplayer product line. Empty means any game. With no name or set, returns the game's most valuable cards.

## `cardsOnly` (type: `boolean`):

Leave on to skip sealed product (booster boxes, packs, tins) and supplies. Turn off to include them.

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

Only this rarity, as TCGplayer words it (Mythic, Secret Rare, Double Rare, Ultra Rare).

## `minPrice` (type: `integer`):

Only products whose market price is at least this.

## `maxPrice` (type: `integer`):

Only products whose market price is at most this.

## `sort` (type: `string`):

auto: best match for a card name, most valuable first for a set or game.

## `maxResults` (type: `integer`):

Cap on products for EACH card name or set. TCGplayer shows 10,000 results per search; a game-wide export above that is walked set by set.

## `includeSales` (type: `boolean`):

Also return each product's latest sales as rows: date, condition, printing, language, quantity, price and shipping. Charged per sale.

## `maxSalesPerCard` (type: `integer`):

Cap on sale rows per product, newest first (up to about 5 per condition).

## `includeHistory` (type: `boolean`):

Also return 90 days of price history per condition and printing, in 3-day steps: market price, quantity sold, low and high sale. Charged once per product.

## `compareWithPreviousRun` (type: `boolean`):

Fill previous_price and price_change_pct from the last run that saw each product. The first run only saves prices.

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

Not needed: leave off. Turn on a proxy only if your runs are refused.

## Actor input object example

```json
{
  "queries": [
    "Charizard ex"
  ],
  "sets": [],
  "productUrls": [],
  "cardsOnly": true,
  "sort": "auto",
  "maxResults": 20,
  "includeSales": false,
  "maxSalesPerCard": 25,
  "includeHistory": false,
  "compareWithPreviousRun": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Card prices, sales and price history from your run.

# 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 = {
    "queries": [
        "Charizard ex"
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapebench/tcgplayer-card-prices-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 = {
    "queries": ["Charizard ex"],
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapebench/tcgplayer-card-prices-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 '{
  "queries": [
    "Charizard ex"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scrapebench/tcgplayer-card-prices-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapebench/tcgplayer-card-prices-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/agiAWH7oyQyJLYIfZ/builds/DNm1OYQp3zzQSgbIj/openapi.json
