TCGplayer search
One page (up to 24) of TCGplayer products, without a browser.
Each product carries TCGplayer's market price, the lowest live listing (with and without shipping), the number of live listings, and the cheapest listing's quantity and seller. That is marketplace supply, not one store's stock. A query with no match is an empty list and is not billed.
Request
https://api.scrapercompany.com/v1/retail/tcgplayer/searchAuthenticate with your API key in the x-api-key header (see Authentication).
Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.
Body
JSON object. Unknown fields are rejected with 422.
- qstringrequiredmin length 1, max length 200
Product name to search for (cards, sealed boxes, packs), across every game TCGplayer lists.
- sizeintegerdefault
24min 1, max 24Results on the page, 1-24.
Example request
curl -X POST "https://api.scrapercompany.com/v1/retail/tcgplayer/search" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "foundations play booster box"
}'Response
200 — One page of TCGplayer products with market price and supply. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).
{
"search_parameters": {
"engine": "tcgplayer_search",
"q": "foundations play booster box",
"size": 24
},
"products": [
{
"product_id": "562116",
"title": "Magic: The Gathering Foundations - Play Booster Pack",
"set_name": "Foundations",
"product_line": "Magic: The Gathering",
"market_price": 6.6568,
"lowest_price": 4.79,
"lowest_price_with_shipping": 6.86,
"total_listings": 74,
"quantity": 29,
"seller": "CrispyCollects TCG",
"url": "https://www.tcgplayer.com/product/562116"
},
{
"product_id": "562118",
"title": "Magic: The Gathering Foundations - Play Booster Display",
"set_name": "Foundations",
"product_line": "Magic: The Gathering",
"market_price": 176.33,
"lowest_price": 173.9,
"lowest_price_with_shipping": 174.98,
"total_listings": 46,
"quantity": 2,
"seller": "SLR_Collectibles",
"url": "https://www.tcgplayer.com/product/562118"
}
],
"total": 2,
"total_results": 25
}Errors
Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.
| Status | Meaning | Retry? |
|---|---|---|
401Unauthorized | Missing or invalid API key. {"detail":"missing or invalid API key"} | No, fix the request |
402Payment Required | Not enough credits for this request: the account's credits mode is {"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."} | No, fix the request |
422Unprocessable Content | Request validation failed. {"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]} | No, fix the request |
429Too Many Requests | Too many requests: the key's requests-per-minute limit was exceeded, or (in {"detail":"rate limit 60/min exceeded"} | Yes, with backoff |
502Bad Gateway | The upstream source failed, blocked the request or returned an unusable answer. Safe to retry later; failed requests are not charged. {"detail":"RuntimeError"} | Yes, with backoff |
503Service Unavailable | Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later. {"detail":"database unavailable: OperationalError"} | Yes, with backoff |
Try it
Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.
- Export your key:
export SCRAPERCOMPANY_API_KEY=sk_...(no key yet? start a free trial). - Copy the cURL example above and run it in a terminal.
Questions about this page?
Send the page link and your question, and the team will answer.