# PriceCharting Scraper - Card Prices, History & Sold Comps (`s-r/pricecharting-scraper`) Actor

Extract PriceCharting and SportsCardsPro product prices, monthly price history and completed sales for Pokémon, MTG, sports cards, video games, comics and LEGO. Search by keyword, UPC, product URL or set.

- **URL**: https://apify.com/s-r/pricecharting-scraper.md
- **Developed by:** [SR](https://apify.com/s-r) (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

$10.00 / 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.

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

## PriceCharting Scraper

PriceCharting Scraper extracts collectible prices, monthly price history and completed sales from PriceCharting and SportsCardsPro. Find products by keyword or UPC, supply product URLs, or collect an entire set. Each dataset row describes one collectible with its current guide prices and the available evidence behind them.

Use the data to compare collection values, prepare resale inventory, monitor card prices, or review comparable sales. The actor covers Pokémon and other trading cards, Magic: The Gathering, sports cards, video games, comics, LEGO and Funko products supported by these sources. Sports-card searches use SportsCardsPro. Direct product URLs can come from either website in the same run.

### PriceCharting Scraper input

Provide at least one of `searchQueries`, `productUrls` or `setUrls`. Lists can be combined. Duplicate products are returned once, even when several searches or URLs find them. A product URL must point to a product page on PriceCharting or SportsCardsPro. Numeric PriceCharting IDs are also accepted in `productUrls`.

This input retrieves the actual Charizard Base Set product page:

```json
{
  "productUrls": [
    "https://www.pricecharting.com/game/pokemon-base-set/charizard-4"
  ],
  "includePriceHistory": true,
  "includeSales": true,
  "maxSalesPerProduct": 100
}
```

For search, use `searchQueries` with terms such as `super mario 64` and set `category` to `video-games`. For sports cards, search for `mike trout 2011 topps update` with `category` set to `sports-cards`. For a complete card set, supply `https://www.pricecharting.com/console/pokemon-base-set` in `setUrls`.

`maxItems` limits the total number of unique products, from 1 to 200, with a default of 20. Each source search exposes up to 100 products per term. Use narrower searches, multiple terms, or set URLs when you need broader coverage. The category filter applies to searches; it does not replace the category of a product supplied by URL.

`includePriceHistory` and `includeSales` default to true. Turn either off when you only need current guide prices. `maxSalesPerProduct` defaults to 100 and allows values from 0 to 1,000. Sales are selected by newest date across all available conditions. A higher limit cannot reveal sales that the source does not publish on the product page.

### Output and field meanings

The default dataset contains one row per unique product. Core fields include `entry_id`, `platform`, `entry_type`, `title`, `url`, `fetched_at`, `position`, `gtin` and `image_url`. The set name, set slug and available source identifiers help connect products to other catalogs. UPCs preserve leading zeros; the separate `gtin` field removes barcode punctuation when a suitable value exists.

`prices` contains six stable slots: `loose`, `cib`, `new`, `graded`, `box_only` and `manual_only`. Always read `price_labels` alongside these values. For video games, the slots describe completeness and condition. For cards, the same slots describe grades: the Charizard fixture labels the final slot `PSA 10`. Funko pages may expose only three slots, leaving the others null. All monetary values are numeric USD amounts. Missing guide prices remain null.

`full_prices` lists every condition or grade from the full guide, including labels with no published price. `price_changes` preserves signed changes and `sales_volume` preserves the source frequency text. Population information is included when published, together with available publisher, release date, card or model number, ASIN, eBay product ID, TCGPlayer ID and comic identifiers.

Monthly history appears in `price_history`. Its series use the original source slot names, including `used`, `boxonly` and `manualonly`. Each point has a calendar date and a USD price. A source zero represents missing history and becomes null. Missing months are not interpolated. Guide values are estimates for a condition, rather than guarantees of a future selling price.

Completed sales appear in `sales`, with the sale date, original listing title, venue, sale ID, condition and available listing link. For accepted offers, `price` is the accepted sale amount and `list_price` is the separate asking amount shown by the source. Some historical sales have no link; their URL remains null. Sales can include venues other than eBay when the source publishes them.

The `PRICE_POINTS` record in the run's key-value store contains a flat list of guide, history and sale observations for delivered products. Join it to dataset rows using `entry_key`, or platform plus entry ID. `kind` distinguishes `guide`, `history` and `sale`. Unknown prices produce no observation. These observations repeat information from the product row in a format convenient for analysis.

### Pricing and limits

The billable event is one delivered product. Monthly history and completed sales included in that product do not create additional billable product events. Empty searches and missing products create no product charge. Consult the actor's current Pricing tab for the applicable rate and any platform usage charges.

Non-paying accounts receive up to 10 products per run. Paying accounts can request larger collections, up to the `maxItems` limit. Large requests are collected in successive batches automatically by the actor. Split collections larger than 200 products into separate runs using different searches, sets or groups of product URLs. Partial source failures can still leave useful delivered products; review the run output and warnings before treating a collection as complete.

### Frequently asked questions

#### Can I use this for sports cards as well as Pokémon?

Yes. Select `sports-cards` for sports-card searches, or provide SportsCardsPro product URLs directly. Pokémon, MTG and other supported trading-card categories use PriceCharting. The platform field identifies the website that supplied each row.

#### Why does box_only contain a card grade?

The source reuses the same six price positions for different collectible categories. The slot name stays stable, while `price_labels` supplies its category-specific meaning. Use the label when comparing grades or building a report.

#### Does the actor return every historical sale?

It returns the completed sales visible on the public product page, subject to your `maxSalesPerProduct` limit. Older sales and restricted sale photographs are outside this output. The actor does not create missing sales, infer sale prices, or fill gaps in history.

#### How do I export prices for analysis?

Export the dataset as JSON, CSV or another format supported by Apify. JSON preserves nested price history and sales. For a flat observation table, download `PRICE_POINTS` from the run's key-value store and join it to the dataset with `entry_key`.

# Actor input Schema

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

Search terms or UPCs. Each search returns at most 100 source products.

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

HTTPS product URLs on PriceCharting or SportsCardsPro, or numeric PriceCharting IDs.

## `setUrls` (type: `array`):

HTTPS /console/ set URLs. All set pages are followed through the continuation cursor.

## `category` (type: `string`):

Search filter. sports-cards searches SportsCardsPro. Direct URLs keep their own category.

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

Maximum unique products across the entire cursor sequence.

## `includePriceHistory` (type: `boolean`):

Include monthly history in product rows and the flat price_points list.

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

Include completed sales in product rows and price_points.

## `maxSalesPerProduct` (type: `integer`):

Maximum sales per product, newest date first across all conditions; zero disables delivery of sales.

## `cursor` (type: `string`):

Opaque next_cursor from the preceding response; keep all other input fields identical.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.pricecharting.com/game/pokemon-base-set/charizard-4"
  ],
  "category": "all",
  "maxItems": 20,
  "includePriceHistory": true,
  "includeSales": true,
  "maxSalesPerProduct": 100
}
```

# Actor output Schema

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

One billable row per unique product.

## `price_points` (type: `string`):

Unbilled guide, history and sale rows for delivered products.

## `output` (type: `string`):

Counts, errors and continuation status.

# 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 = {
    "productUrls": [
        "https://www.pricecharting.com/game/pokemon-base-set/charizard-4"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/pricecharting-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 = { "productUrls": ["https://www.pricecharting.com/game/pokemon-base-set/charizard-4"] }

# Run the Actor and wait for it to finish
run = client.actor("s-r/pricecharting-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 '{
  "productUrls": [
    "https://www.pricecharting.com/game/pokemon-base-set/charizard-4"
  ]
}' |
apify call s-r/pricecharting-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/pricecharting-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/ViLrCkbiOavMnIjIP/builds/9n7jcSv1nlGNtAVqC/openapi.json
