TCGplayer Marketplace Scraper
Pricing
from $3.81 / 1,000 product rows
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.
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
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.
recordType | What it is | When it appears |
|---|---|---|
product | One product: name, set, rarity, collector number, market/lowest/median price, listing count | Every mode |
listing | One live seller listing: seller, condition, printing, language, quantity, price, shipping | Product-detail mode, when "Also collect seller listings" is on |
priceHistory | One price bucket per SKU: market price, low/high sale price, quantity sold, transactions | Product-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).
maxListingPagesbounds how deep it goes per product. - Also collect price history — one row per price bucket per SKU.
daygives 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
marketPriceis TCGplayer's own computed figure, not the cheapest listing. It is null for products with too few recent sales to compute one.lowestPriceis the cheapest copy of the product, and ignorescustomlistings. 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 andlowestPricecan differ by two orders of magnitude. UsepriceWithShippingon the listing rows for what a buyer actually pays.- The
sealedflag andproductTypeIdonly mean something on product-detail rows. The same sealed product reportssealed: trueon/v2/product/{id}/detailsandsealed: falseon the search endpoint, whereproductTypeIdis also 0 on every row. On search rows, a populatedcardNumber/cardTypeis what identifies a single card. sellerListableis TCGplayer's own flag, not a sellability verdict. The search and browse endpoints reportfalsefor every product — including ones with thousands of live listings — while/v2/product/{id}/detailscan reporttruefor the same product. Afalsereflects the endpoint, not that the product cannot be sold.priceHistorynumbers arrive as strings upstream and are emitted as numbers; every numeric column is a number in every row.sellerSalesstays a string because TCGplayer sends buckets such as50000+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.jsonfor all three views and a description of every column. BILLING_AUDITin 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-requestsdataset — written only when a request exhausted every retry.
Inputs
| Field | Modes | Meaning |
|---|---|---|
mode | all | search, browse or detail |
searchQueries | search | one keyword per entry |
productLines, setNames | browse | category and/or set; both narrow |
productIds | detail | one numeric product id per entry |
includeListings, listingLanguages, maxListingPages | detail | seller listings |
includePriceHistory, priceHistoryRange | detail | bucketed price history |
shippingCountry | all | two-letter ISO code, default US |
maxPages | search, browse | pages of 24 per query; pagination stops early when the matches run out |
maxItems | all | stop after this many delivered rows (0 = no limit) |
maxConcurrency, maxRequestsPerCrawl, maxRequestRetries, maxSessionRotations | all | throttling and retry bounds |
proxyConfiguration | all | off 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.txtpython -m pytest tests -q # unit + live contract testsSDB_OFFLINE=1 python -m pytest tests -q # unit tests only, no networkpython -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.