TCGplayer Marketplace Scraper avatar

TCGplayer Marketplace Scraper

Pricing

from $3.81 / 1,000 product rows

Go to Apify Store
TCGplayer Marketplace Scraper

TCGplayer Marketplace Scraper

Search, browse and price TCGplayer anonymously: keyword search, category or set browse, product detail with seller listings and bucketed price history. Every product row carries market, low, low-with-shipping and median price, set, rarity and release date.

Pricing

from $3.81 / 1,000 product rows

Rating

0.0

(0)

Developer

R.L.

R.L.

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrapes the TCGplayer marketplace through the same JSON API the Android app uses: keyword search, category/set browse, and per-product detail with optional seller listings and bucketed price history.

Anonymous — there is no API key, account or login. Prices are USD.

Three row kinds in one dataset

Every row carries recordType, so filter on it before reading anything else.

recordTypeWhat it isWhen it appears
productOne product: name, set, rarity, collector number, market/lowest/median price, listing countEvery mode
listingOne live seller listing: seller, condition, printing, language, quantity, price, shippingProduct-detail mode, when "Also collect seller listings" is on
priceHistoryOne price bucket per SKU: market price, low/high sale price, quantity sold, transactionsProduct-detail mode, when "Also collect price history" is on

The dataset declares a view per row kind (products, listings, priceHistory), so the console's Output tab can be switched by kind instead of showing one wide table of mostly-empty columns.

Modes

Search — keyword

One product search per entry in Search keywords, relevance-ranked by TCGplayer's own sales_dismax algorithm.

There is deliberately no sort option. A non-empty sort on this endpoint does not reorder the keyword's matches, it ranks the catalogue instead of filtering it: measured 2026-11-22, q=Charizard sorted by product name returned "151 Booster Bundle" first with only 5 of 24 rows mentioning Charizard, against 24 of 24 unsorted. Sorting is therefore not exposed.

A keyword that matches nothing returns zero rows, no error, and a status message saying so — it does not fall back to a nearby page.

Browse — product line and/or set

Give a product line (pokemon, magic, yugioh, onepiece, lorcana, digimon — the app's own list from /v1/search/productLines), a set display name (Base Set), or both. Both together are an intersection, not two sweeps: pokemon + Base Set returns Base Set cards.

Both filters are terms TCGplayer applies server-side, and the failure mode is asymmetric: an unrecognised set name is ignored, not matched to nothing. Measured 2026-11-22, pokemon + a made-up set name returned the whole Pokemon line (33,131 products, a full page of rows, HTTP 200) where pokemon + Base Set returned 109. A keyword typo returns nothing; a set-name typo returns everything in the game. Check the row count and the first rows before trusting a browse.

Product detail — by product id

One row per TCGplayer product id (the number in a tcgplayer.com/product/<id> URL). Ids are validated before the first request, so a typo is a message rather than a failure halfway through a billed run.

Two optional enrichments, each billed as its own row kind:

  • Also collect seller listings — one row per live listing, cheapest first including shipping, filtered to the languages you list (English by default). maxListingPages bounds how deep it goes per product.
  • Also collect price history — one row per price bucket per SKU. day gives daily buckets, quarter (the default) gives about 30 buckets over roughly the last quarter. A SKU with no sales returns no buckets and produces no rows.

shippingCountry applies to every mode and decides whose shipping cost is priced. It changes lowestPriceWithShipping and the order of listings; it does not change which products are returned.

What the data is, and what it is not

  • marketPrice is TCGplayer's own computed figure, not the cheapest listing. It is null for products with too few recent sales to compute one.
  • lowestPrice is the cheapest copy of the product, and ignores custom listings. The listings endpoint does return custom listings — "deck box only", "set of 60 dice" — attached to the same product, so the cheapest thing on a product's page and lowestPrice can differ by two orders of magnitude. Use priceWithShipping on the listing rows for what a buyer actually pays.
  • The sealed flag and productTypeId only mean something on product-detail rows. The same sealed product reports sealed: true on /v2/product/{id}/details and sealed: false on the search endpoint, where productTypeId is also 0 on every row. On search rows, a populated cardNumber/cardType is what identifies a single card.
  • sellerListable is TCGplayer's own flag, not a sellability verdict. The search and browse endpoints report false for every product — including ones with thousands of live listings — while /v2/product/{id}/details can report true for the same product. A false reflects the endpoint, not that the product cannot be sold.
  • priceHistory numbers arrive as strings upstream and are emitted as numbers; every numeric column is a number in every row.
  • sellerSales stays a string because TCGplayer sends buckets such as 50000+ for it.
  • A browse with a misspelt set name is not empty — see the Browse section. The set filter is dropped and the whole product line comes back, billed.

Cost

Billing is pay-per-event: one event per delivered product, listing or priceHistory row. Rows that are de-duplicated, that resolved nothing, or that are cut by maxItems or the run's maximum total charge are not billed. maxItems counts delivered rows across all three kinds. Actual prices are on the Actor's Pricing tab in Apify Console.

Output and auditing

  • Default dataset — the rows above; see .actor/dataset_schema.json for all three views and a description of every column.
  • BILLING_AUDIT in the default key-value store — rows delivered and charged per event for this run, plus any divergence between the ledger's count and the platform's, written on every run including one that delivered nothing.
  • failed-requests dataset — written only when a request exhausted every retry.

Inputs

FieldModesMeaning
modeallsearch, browse or detail
searchQueriessearchone keyword per entry
productLines, setNamesbrowsecategory and/or set; both narrow
productIdsdetailone numeric product id per entry
includeListings, listingLanguages, maxListingPagesdetailseller listings
includePriceHistory, priceHistoryRangedetailbucketed price history
shippingCountryalltwo-letter ISO code, default US
maxPagessearch, browsepages of 24 per query; pagination stops early when the matches run out
maxItemsallstop after this many delivered rows (0 = no limit)
maxConcurrency, maxRequestsPerCrawl, maxRequestRetries, maxSessionRotationsallthrottling and retry bounds
proxyConfigurationalloff by default — see below

Proxy

Off by default. TCGplayer serves this API anonymously and answered every endpoint used here from a plain datacenter IP with no proxy during this build (2026-11-22). The app's own User-Agent is required on two of the four hosts — /price/history and /v1/product/{id}/listings answer 403 without it — which the Actor always sends. Turn on Apify residential proxy only if you start seeing 403s or challenge pages.

Development

pip install -r requirements.txt
python -m pytest tests -q # unit + live contract tests
SDB_OFFLINE=1 python -m pytest tests -q # unit tests only, no network
python -m src # run locally against a local INPUT.json

tests/fixtures/ holds trimmed real responses captured 2026-11-22; the mapping tests run against them, so an upstream contract change fails a test instead of silently emptying a column.