# Fanatics Collect API Scraper (`rl1987/fanaticscollect-api-scraper`) Actor

Scrape Fanatics Collect (PWCC) — marketplace listings (auctions, buy-now, sold) via Algolia, listing/auction detail and sales history via GraphQL, plus the card catalogue (search + card detail with pricing and parallels). Anonymous public data, flat JSON output.

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

## Pricing

from $5.00 / 1,000 dataset rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Fanatics Collect Scraper 🃏 — auctions, buy-now, sold prices, card catalogue & market pricing

**Fanatics Collect Scraper** (formerly PWCC) reads Fanatics Collect's own app APIs directly — the
Algolia marketplace index and the `app.fanaticscollect.com` GraphQL backend — so it's **fast and
complete**, no HTML scraping. Read-only public data, **no account**. Export to JSON, CSV, Excel or API.

#### Modes

- **`search`** — marketplace listing search over Algolia: auctions, buy-now and **sold** results,
  with `marketplace`, `category`, `status`, `sort` filters and paging. Prices are USD dollars.
- **`listing`** — one listing's full detail **+ sales history** (`listingId` + `listingType`).
- **`auctions`** — the current global auctions (weekly + premier).
- **`cardSearch`** — the card catalogue by player/title text.
- **`card`** — one card's detail, optionally with **market/guide pricing + recent sales** and parallels.

```jsonc
// marketplace search: cheapest buy-now LeBron listings
{ "mode": "search", "query": "lebron", "marketplace": "buy_now", "sort": "lowest_price", "maxItems": 50 }
// -> { "type":"listing", "title":"2003 Topps LeBron James RC ...", "price_amount":180.00, "price_currency":"USD", "marketplace":"FIXED", "status":"Live" }

// recent SOLD results
{ "mode": "search", "query": "jordan psa 10", "marketplace": "sold", "sort": "sold_desc" }
// -> { "type":"listing", "status":"Sold", "price_amount":1250.00, ... }

// one listing + its sales history
{ "mode": "listing", "listingId": "<uuid>", "listingType": "WEEKLY" }
// -> { "type":"listing", "price_amount":180000.00, "collectSales":[{ "soldDate":"...", "soldFor":{"amountInCents":18000000} }], ... }

// card catalogue search + one card's market pricing
{ "mode": "cardSearch", "query": "charizard base set" }
{ "mode": "card", "variantId": "<variantId>", "includePricing": true }
// -> { "type":"card", "title":"Charizard 1999 Base Set ...", "price_amount":29.99, "_pricing":{ "fanaticsPricing":..., "recentSales":[...] } }
```

Every row shares a flat header — `type`, `id`, `title`, `price_amount` (USD), `price_currency`,
`marketplace`, `status`, `image` — with the full raw API object spread alongside, so nothing is lost.

### ⚙️ Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | `search` | `listing` | `auctions` | `cardSearch` | `card`. |
| `query` | string | – | Search / card-search text (player, card, set, brand). |
| `marketplace` | string | `any` | Search: `buy_now` / `weekly` / `premier` / `sold` / `any`. |
| `category` | string | – | Search: `subCategory1` facet, e.g. `Sports Cards > Basketball`. |
| `status` | string | – | Search: raw status facet (e.g. `Live`, `Sold`). |
| `sort` | string | `recommended` | Search ordering (`lowest_price`, `sold_desc`, …). |
| `hitsPerPage` | integer | 50 | Search: results per page (max 100). |
| `limit` | integer | – | Card search: max cards (defaults to `maxItems`). |
| `listingId` + `listingType` | string | – | Listing detail: the listing UUID + its type (`BO`/`WEEKLY`/`PREMIER`/`FIXED_PRICE`). |
| `variantId` | string | – | Card detail: the card variant id. |
| `includePricing` / `includeParallels` | boolean | true / false | Card detail extras. |
| `maxItems` | integer | 100 | 0 = all. |
| `proxyConfiguration` | object | Apify datacenter | On by default; public reads aren't geo-gated, a proxy just avoids rate-limits under load. |

### 📤 Output

A flat record per listing / auction / card. Listing rows carry `price_amount` (USD), `marketplace`,
`status` and the raw Algolia/GraphQL fields; listing-detail adds `collectSales` (sales history);
card rows carry the guide `price_amount` and (with `includePricing`) `_pricing` (Fanatics pricing +
recent sales) and `_priceEstimation`.

### 📌 Good to know

- **No login.** This is read-only public marketplace data. Bidding/buying/watchlist are account-gated
  and out of scope. Akamai Bot Manager + Play Integrity are present in the app but **not enforced** on
  these public reads.
- **Prices are USD.** Algolia hits are dollar floats; GraphQL amounts are cents and are converted to
  dollars (`amountInCents`/100) in `price_amount`. Raw fields are preserved too.
- **Proxy** is on by default (Apify datacenter) purely to avoid rate-limiting under load — the API is
  not geo-gated and needs no residential proxy.
- Prices and availability are point-in-time.

### 💰 Pricing — pay per result

Charged per record returned (listing, auction or card row).

- **Web URLs:** listing rows carry a `url` to the item on fanaticscollect.com (`/buy-now/<id>`, `/weekly/<id>`, `/premier/<id>` by marketplace) for reference/QA. Card catalogue entries have no public page, so their `url` is null.

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

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

Full-text search term — player, card, set, brand (e.g. "lebron", "charizard psa 10").

## `marketplace` (type: `string`):

Search mode: which marketplace to filter to. "sold" returns completed sales.

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

Search mode: subCategory1 facet, e.g. "Sports Cards > Basketball".

## `status` (type: `string`):

Search mode: raw listing status facet (e.g. "Live", "Sold").

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

Search mode: result ordering.

## `hitsPerPage` (type: `integer`):

Search mode: results per Algolia page (max 100).

## `filters` (type: `string`):

Search mode (advanced): a raw Algolia filter string, ANDed with the above.

## `limit` (type: `integer`):

Card catalogue search: max cards to return (defaults to maxItems).

## `listingId` (type: `string`):

The listing UUID (e.g. from a Search result's id).

## `listingType` (type: `string`):

Which listing type the id is (needed to resolve it).

## `variantId` (type: `string`):

The card variantId (e.g. from a Card catalogue search result).

## `includePricing` (type: `boolean`):

Card detail: also fetch guide price, Fanatics pricing and recent sales.

## `includeParallels` (type: `boolean`):

Card detail: also fetch parallel variants of the card.

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

Stop after this many records. 0 = all available.

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

Apify Proxy is ON by default (datacenter). Public reads are anonymous and not geo-gated; a proxy is recommended so a heavy crawl isn't rate-limited by the marketplace edge.

## Actor input object example

```json
{
  "mode": "search",
  "marketplace": "any",
  "sort": "recommended",
  "hitsPerPage": 50,
  "listingType": "BO",
  "includePricing": true,
  "includeParallels": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": []
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/fanaticscollect-api-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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": [],
    } }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/fanaticscollect-api-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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": []
  }
}' |
apify call rl1987/fanaticscollect-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/fanaticscollect-api-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/7r99bag1PifoSK3kG/builds/hUZ1XQ58JM0SB5m5G/openapi.json
