# SportsCardsPro Scraper - Sports Card Prices (`lulzasaur/sportscardspro-scraper`) Actor

Scrape SportsCardsPro for baseball, basketball, football & hockey card prices. Get ungraded (raw) values plus graded prices for PSA 10, Grade 9.5, 9, 8 and 7, with full historical price chart data. Search by player or browse entire sets.

- **URL**: https://apify.com/lulzasaur/sportscardspro-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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## SportsCardsPro Scraper

Scrape baseball, basketball, football, and hockey card prices from [SportsCardsPro.com](https://www.sportscardspro.com) (PriceCharting's sports card site). Get current market prices for raw (ungraded) cards and every graded tier — Grade 7, Grade 8, Grade 9, Grade 9.5, and PSA 10 — plus full historical price chart data spanning years of sales.

### Features

- **Multi-query search** across all sports: baseball, basketball, football, hockey, soccer, and more
- **Full grade ladder** on detail pages: Ungraded (raw), Grade 7, Grade 8, Grade 9, Grade 9.5, PSA 10
- **Set browsing** — pass a set URL (e.g. `/console/basketball-cards-1986-fleer`) to scrape an entire set
- **Historical price data** extracted from embedded VGPC chart data — track raw and graded price trends over months and years
- **Card metadata** including sport, brand/publisher, product ID, ASIN, ePID codes
- **Two scraping modes**: fast list-only or detailed per-card scraping with full price history
- **Pay-per-event pricing** — you only pay for results you get

### Grading arbitrage

Compare `ungradedPrice` vs `psa10Price` to find cards worth grading. Example: a 1986 Fleer Michael Jordan #57 rookie sells raw for ~$4,000 but ~$249,000 in PSA 10.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQueries` | String[] | Search terms (e.g. "michael jordan fleer 1986", "tom brady rookie") |
| `setUrls` | String[] | Optional set URLs (`/console/...`) to scrape entire sets |
| `maxListings` | Integer | Max cards per query/set (1-500, default 100) |
| `scrapeDetails` | Boolean | Visit detail pages for all grades + price history (default: false) |
| `proxyConfiguration` | Object | Optional proxy settings (use residential if blocked) |

### Output

#### List mode (scrapeDetails: false)
Fast — extracts Ungraded, Grade 9, and PSA 10 prices from list pages only:

```json
{
    "title": "Michael Jordan #57",
    "setName": "1986 Fleer (Basketball)",
    "loosePrice": 4025.00,
    "gradedPrice": 33872.90,
    "manualOnlyPrice": 249127.72,
    "ungradedPrice": 4025.00,
    "grade9Price": 33872.90,
    "psa10Price": 249127.72,
    "productUrl": "https://www.sportscardspro.com/game/basketball-cards-1986-fleer/michael-jordan-57",
    "searchQuery": "michael jordan fleer 1986",
    "scrapedAt": "2026-07-07T12:00:00.000Z"
}
````

#### Detail mode (scrapeDetails: true)

Richer data with the full grade ladder and price history from each card page:

```json
{
    "title": "Michael Jordan #57 [Rookie]",
    "setName": "1986 Fleer",
    "genre": "Basketball Cards",
    "publisher": "Fleer",
    "ungradedPrice": 4025.00,
    "grade7Price": 11554.95,
    "grade8Price": 16708.33,
    "grade9Price": 33872.90,
    "grade95Price": 42700.00,
    "psa10Price": 249127.72,
    "priceHistory": {
        "loose": [{ "date": "2020-01-04", "price": 1450.00 }, "..."],
        "graded": [{ "date": "2020-01-04", "price": 9800.00 }, "..."],
        "manualOnly": [{ "date": "2020-01-04", "price": 52000.00 }, "..."]
    },
    "productUrl": "https://www.sportscardspro.com/game/basketball-cards-1986-fleer/michael-jordan-57",
    "scrapedAt": "2026-07-07T12:00:00.000Z"
}
```

#### Field mapping (compatibility aliases)

The actor emits both PriceCharting-compatible field names and friendly grade aliases:

| Compatible field | Alias | Meaning |
|------------------|-------|---------|
| `loosePrice` | `ungradedPrice` | Raw / ungraded card |
| `completePrice` | `grade7Price` | Grade 7 |
| `newPrice` | `grade8Price` | Grade 8 |
| `gradedPrice` | `grade9Price` | Grade 9 |
| `boxOnlyPrice` | `grade95Price` | Grade 9.5 |
| `manualOnlyPrice` | `psa10Price` | PSA 10 |

`priceHistory` keys follow the same order: `loose` (ungraded), `cib` (Grade 7), `new` (Grade 8), `graded` (Grade 9), `boxOnly` (Grade 9.5), `manualOnly` (PSA 10).

### Use cases

- **Grading arbitrage** — find raw cards whose graded value covers grading fees many times over
- **Collection valuation** — price out a whole collection across grade tiers
- **Market trend analysis** — historical charts for raw and graded prices
- **Deal scouting** — compare marketplace asking prices against real sold-based values
- **Set completion budgeting** — scrape a full set to estimate completion cost

### Usage

Search for a player:

```json
{
    "searchQueries": ["michael jordan fleer 1986"],
    "maxListings": 10,
    "scrapeDetails": true
}
```

Scrape a whole set:

```json
{
    "setUrls": ["https://www.sportscardspro.com/console/baseball-cards-1989-upper-deck"],
    "maxListings": 150,
    "scrapeDetails": false
}
```

# Actor input Schema

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

List of search terms to scrape (e.g. 'michael jordan fleer 1986', 'ken griffey jr upper deck', 'tom brady rookie'). Each query returns up to 100 cards from SportsCardsPro search.

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

Optional SportsCardsPro set URLs to scrape entire sets, e.g. 'https://www.sportscardspro.com/console/basketball-cards-1986-fleer' or 'https://www.sportscardspro.com/console/baseball-cards-1989-upper-deck'. Unlike search, set pages are filtered to a single sport/set.

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

Maximum number of cards to scrape per search query or set URL.

## `scrapeDetails` (type: `boolean`):

If enabled, visits each card's detail page to extract every grade tier (Ungraded, Grade 7, Grade 8, Grade 9, Grade 9.5, PSA 10), full historical price chart data, sport, and brand. Slower but much richer data. If disabled, only Ungraded, Grade 9, and PSA 10 prices are captured from list pages.

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

Proxy settings. SportsCardsPro is served through Cloudflare; direct connections usually work, but switch to residential proxies if you see blocked requests.

## Actor input object example

```json
{
  "searchQueries": [
    "michael jordan fleer 1986"
  ],
  "setUrls": [],
  "maxListings": 10,
  "scrapeDetails": true,
  "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": [
        "michael jordan fleer 1986"
    ],
    "maxListings": 10,
    "scrapeDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/sportscardspro-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": ["michael jordan fleer 1986"],
    "maxListings": 10,
    "scrapeDetails": True,
}

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/sportscardspro-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": [
    "michael jordan fleer 1986"
  ],
  "maxListings": 10,
  "scrapeDetails": true
}' |
apify call lulzasaur/sportscardspro-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SportsCardsPro Scraper - Sports Card Prices",
        "description": "Scrape SportsCardsPro for baseball, basketball, football & hockey card prices. Get ungraded (raw) values plus graded prices for PSA 10, Grade 9.5, 9, 8 and 7, with full historical price chart data. Search by player or browse entire sets.",
        "version": "1.0",
        "x-build-id": "IvxOcDHu9ehzdxzQJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/lulzasaur~sportscardspro-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-lulzasaur-sportscardspro-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/lulzasaur~sportscardspro-scraper/runs": {
            "post": {
                "operationId": "runs-sync-lulzasaur-sportscardspro-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/lulzasaur~sportscardspro-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-lulzasaur-sportscardspro-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchQueries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "List of search terms to scrape (e.g. 'michael jordan fleer 1986', 'ken griffey jr upper deck', 'tom brady rookie'). Each query returns up to 100 cards from SportsCardsPro search.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "setUrls": {
                        "title": "Set URLs (browse whole sets)",
                        "type": "array",
                        "description": "Optional SportsCardsPro set URLs to scrape entire sets, e.g. 'https://www.sportscardspro.com/console/basketball-cards-1986-fleer' or 'https://www.sportscardspro.com/console/baseball-cards-1989-upper-deck'. Unlike search, set pages are filtered to a single sport/set.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxListings": {
                        "title": "Max Cards per Query / Set",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of cards to scrape per search query or set URL.",
                        "default": 100
                    },
                    "scrapeDetails": {
                        "title": "Scrape Card Detail Pages",
                        "type": "boolean",
                        "description": "If enabled, visits each card's detail page to extract every grade tier (Ungraded, Grade 7, Grade 8, Grade 9, Grade 9.5, PSA 10), full historical price chart data, sport, and brand. Slower but much richer data. If disabled, only Ungraded, Grade 9, and PSA 10 prices are captured from list pages.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. SportsCardsPro is served through Cloudflare; direct connections usually work, but switch to residential proxies if you see blocked requests.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
