TCGplayer product
One TCGplayer product: name, set, product line and the market and listed-median price for each printing (Normal, Foil, ...).
market_price is the Normal printing's, or the first printing that has one. An unknown product_id is a 404 and is not billed.
Request
https://api.scrapercompany.com/v1/retail/tcgplayer/productAuthenticate 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.
- product_idstringrequiredpattern ^\d{1,12}$
TCGplayer's numeric product id:
product_idof a result fromPOST /v1/retail/tcgplayer/search, or the number in a tcgplayer.com product link.
Example request
curl -X POST "https://api.scrapercompany.com/v1/retail/tcgplayer/product" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "562116"
}'Response
200 — One TCGplayer product's market price per printing. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).
{
"search_parameters": {
"engine": "tcgplayer_product",
"product_id": "562116"
},
"product": {
"product_id": "562116",
"title": "Magic: The Gathering Foundations - Play Booster Pack",
"set_name": "Foundations",
"product_line": "Magic: The Gathering",
"market_price": 6.66,
"prices": [
{
"printing": "Normal",
"market_price": 6.66,
"listed_median_price": 6.86
},
{
"printing": "Foil"
}
],
"url": "https://www.tcgplayer.com/product/562116"
}
}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 |
404Not Found | The property, stay, job or record was not found. {"detail":"job not found"} | 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.