APIs / Marketplaces / TCGplayer
1 credit per call3 endpoints10 datapointsChecked working 6 Dec 2026
TCGplayer API
TCGplayer API for trading card search, card details with market prices, and sales history by condition and variant as JSON. 1 credit per successful call.
{
"success": true,
"data": {
"query": "charizard",
"product_line": "pokemon",
"items": [
{
"id": "671249",
"name": "Mega Charizard Tin (Mega Charizard Y)",
"url_name": "Mega Charizard Tin Mega Charizard Y",
"set": "Miscellaneous Cards & Products",
"set_code": "MCAP",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/671249_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/671249",
"prices": {
"market": {
"amount": 42.88,
"currency": "USD"
},
"low": {
"amount": 35,
"currency": "USD"
},
"low_with_shipping": {
"amount": 44.95,
"currency": "USD"
},
"median": {
"amount": 47.355,
"currency": "USD"
}
},
"total_listings": 71
},
{
"id": "219058",
"name": "Charizard - 3/70 (#39 Charizard Stamped)",
"url_name": "Charizard 3 70 39 Charizard Stamped",
"set": "Battle Academy",
"set_code": "BTA",
"number": "003/070",
"rarity": "Promo",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/219058_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/219058",
"prices": {
"market": {
"amount": 7.3,
"currency": "USD"
},
"low": {
"amount": 4,
"currency": "USD"
},
"low_with_shipping": {
"amount": 4.79,
"currency": "USD"
},
"median": {
"amount": 9.24,
"currency": "USD"
}
},
"total_listings": 75
},
{
"id": "219059",
"name": "Charizard GX - 9/68 (#60 Charizard Stamped)",
"url_name": "Charizard GX 9 68 60 Charizard Stamped",
"set": "Battle Academy",
"set_code": "BTA",
"number": "009/068",
"rarity": "Promo",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/219059_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/219059",
"prices": {
"market": {
"amount": 14.92,
"currency": "USD"
},
"low": {
"amount": 5,
"currency": "USD"
},
"low_with_shipping": {
"amount": 5.99,
"currency": "USD"
}
},
"total_listings": 191
}
],
"pagination": {
"page": 1,
"page_size": 20,
"page_count": 14,
"total": 278,
"has_more": true
},
"facets": {
"cardType": [
{
"urlValue": "Pokemon",
"isActive": false,
"value": "Pokemon",
"count": 207
},
{
"urlValue": "Energy",
"isActive": false,
"value": "Energy",
"count": 18
},
{
"urlValue": "Supporter",
"isActive": false,
"value": "Supporter",
"count": 11
}
],
"energyType": [
{
"urlValue": "Fire",
"isActive": false,
"value": "Fire",
"count": 160
},
{
"urlValue": "Darkness",
"isActive": false,
"value": "Darkness",
"count": 14
},
{
"urlValue": "Colorless",
"isActive": false,
"value": "Colorless",
"count": 6
}
],
"rarityName": [
{
"urlValue": "Promo",
"isActive": false,
"value": "Promo",
"count": 114
},
{
"urlValue": "Ultra Rare",
"isActive": false,
"value": "Ultra Rare",
"count": 38
},
{
"urlValue": "Code Card",
"isActive": false,
"value": "Code Card",
"count": 23
}
],
"setName": [
{
"urlValue": "battle-academy",
"isActive": false,
"value": "Battle Academy",
"count": 60
},
{
"urlValue": "miscellaneous-cards-and-products",
"isActive": false,
"value": "Miscellaneous Cards & Products",
"count": 30
},
{
"urlValue": "jumbo-cards",
"isActive": false,
"value": "Jumbo Cards",
"count": 19
}
],
"productTypeName": [
{
"urlValue": "Cards",
"isActive": false,
"value": "Cards",
"count": 246
},
{
"urlValue": "Sealed Products",
"isActive": false,
"value": "Sealed Products",
"count": 32
}
],
"productLineName": [
{
"urlValue": "pokemon-japan",
"isActive": false,
"value": "Pokemon Japan",
"count": 348
},
{
"urlValue": "pokemon",
"isActive": true,
"value": "Pokemon",
"count": 278
},
{
"urlValue": "card-sleeves",
"isActive": false,
"value": "Card Sleeves",
"count": 22
}
],
"sellerAddress.country": [
{
"urlValue": "US",
"isActive": false,
"value": "US",
"count": 9372
},
{
"urlValue": "CA",
"isActive": false,
"value": "CA",
"count": 228
},
{
"urlValue": "GB",
"isActive": false,
"value": "GB",
"count": 1
}
],
"condition": [
{
"urlValue": "Near Mint",
"isActive": false,
"value": "Near Mint",
"count": 10459
},
{
"urlValue": "Lightly Played",
"isActive": false,
"value": "Lightly Played",
"count": 2166
},
{
"urlValue": "Moderately Played",
"isActive": false,
"value": "Moderately Played",
"count": 652
}
],
"language": [
{
"urlValue": "English",
"isActive": false,
"value": "English",
"count": 14164
}
],
"printing": [
{
"urlValue": "Holofoil",
"isActive": false,
"value": "Holofoil",
"count": 9010
},
{
"urlValue": "Normal",
"isActive": false,
"value": "Normal",
"count": 3394
},
{
"urlValue": "Reverse Holofoil",
"isActive": false,
"value": "Reverse Holofoil",
"count": 1760
}
]
}
},
"meta": {
"endpoint_family": "search",
"request_id": "req_961f8d8e08de40abbd3561f879afe3da",
"credits_charged": 1,
"credits_remaining": 996
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | namestring | url_namestring | setstring | set_codestring | product_linestring | image_urlurl | urlurl | pricesobject | total_listingsinteger |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 671249 | Mega Charizard Tin (Mega Charizard Y) | Mega Charizard Tin Mega Charizard Y | Miscellaneous Cards & Products | MCAP | Pokemon | https://tcgplayer-cdn.tcgplayer.com/product/671249_in_1000x1000.jpg | https://www.tcgplayer.com/product/671249 | {4 fields} | 71 |
| 2 | 219058 | Charizard - 3/70 (#39 Charizard Stamped) | Charizard 3 70 39 Charizard Stamped | Battle Academy | BTA | Pokemon | https://tcgplayer-cdn.tcgplayer.com/product/219058_in_1000x1000.jpg | https://www.tcgplayer.com/product/219058 | {4 fields} | 75 |
| 3 | 219059 | Charizard GX - 9/68 (#60 Charizard Stamped) | Charizard GX 9 68 60 Charizard Stamped | Battle Academy | BTA | Pokemon | https://tcgplayer-cdn.tcgplayer.com/product/219059_in_1000x1000.jpg | https://www.tcgplayer.com/product/219059 | {3 fields} | 191 |
[
{
"id": "671249",
"name": "Mega Charizard Tin (Mega Charizard Y)",
"url_name": "Mega Charizard Tin Mega Charizard Y",
"set": "Miscellaneous Cards & Products",
"set_code": "MCAP",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/671249_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/671249",
"prices": {
"market": {
"amount": 42.88,
"currency": "USD"
},
"low": {
"amount": 35,
"currency": "USD"
},
"low_with_shipping": {
"amount": 44.95,
"currency": "USD"
},
"median": {
"amount": 47.355,
"currency": "USD"
}
},
"total_listings": 71
},
{
"id": "219058",
"name": "Charizard - 3/70 (#39 Charizard Stamped)",
"url_name": "Charizard 3 70 39 Charizard Stamped",
"set": "Battle Academy",
"set_code": "BTA",
"number": "003/070",
"rarity": "Promo",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/219058_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/219058",
"prices": {
"market": {
"amount": 7.3,
"currency": "USD"
},
"low": {
"amount": 4,
"currency": "USD"
},
"low_with_shipping": {
"amount": 4.79,
"currency": "USD"
},
"median": {
"amount": 9.24,
"currency": "USD"
}
},
"total_listings": 75
},
{
"id": "219059",
"name": "Charizard GX - 9/68 (#60 Charizard Stamped)",
"url_name": "Charizard GX 9 68 60 Charizard Stamped",
"set": "Battle Academy",
"set_code": "BTA",
"number": "009/068",
"rarity": "Promo",
"product_line": "Pokemon",
"image_url": "https://tcgplayer-cdn.tcgplayer.com/product/219059_in_1000x1000.jpg",
"url": "https://www.tcgplayer.com/product/219059",
"prices": {
"market": {
"amount": 14.92,
"currency": "USD"
},
"low": {
"amount": 5,
"currency": "USD"
},
"low_with_shipping": {
"amount": 5.99,
"currency": "USD"
}
},
"total_listings": 191
}
]id,name,url_name,set,set_code,product_line,image_url,url,prices,total_listings
671249,Mega Charizard Tin (Mega Charizard Y),Mega Charizard Tin Mega Charizard Y,Miscellaneous Cards & Products,MCAP,Pokemon,https://tcgplayer-cdn.tcgplayer.com/product/671249_in_1000x1000.jpg,https://www.tcgplayer.com/product/671249,"{""market"":{""amount"":42.88,""currency"":""USD""},""low"":{""amount"":35,""currency"":""USD""},""low_with_shipping"":{""amount"":44.95,""currency"":""USD""},""median"":{""amount"":47.355,""currency"":""USD""}}",71
219058,Charizard - 3/70 (#39 Charizard Stamped),Charizard 3 70 39 Charizard Stamped,Battle Academy,BTA,Pokemon,https://tcgplayer-cdn.tcgplayer.com/product/219058_in_1000x1000.jpg,https://www.tcgplayer.com/product/219058,"{""market"":{""amount"":7.3,""currency"":""USD""},""low"":{""amount"":4,""currency"":""USD""},""low_with_shipping"":{""amount"":4.79,""currency"":""USD""},""median"":{""amount"":9.24,""currency"":""USD""}}",75
219059,Charizard GX - 9/68 (#60 Charizard Stamped),Charizard GX 9 68 60 Charizard Stamped,Battle Academy,BTA,Pokemon,https://tcgplayer-cdn.tcgplayer.com/product/219059_in_1000x1000.jpg,https://www.tcgplayer.com/product/219059,"{""market"":{""amount"":14.92,""currency"":""USD""},""low"":{""amount"":5,""currency"":""USD""},""low_with_shipping"":{""amount"":5.99,""currency"":""USD""}}",191Recorded from our API · 3 items shown · 10 datapoints per itemGET /v1/tcgplayer/search?query=charizard&product_line=pokemon&page=1&size=20
10 datapoints
Identity
- idstring
- namestring
Contact
- url_namestring
- image_urlurl
- urlurl
Price
- pricesobject
Other
- setstring
- set_codestring
- product_linestring
- total_listingsinteger
Playground
Run this API
curl "https://api.perceptlayer.com/v1/tcgplayer/search?query=charizard&product_line=pokemon&page=1&size=20" \
-H "X-API-Key: $API_KEY"TCGplayer · 3 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/tcgplayer/price-history | idrange | idrangeseries | 1 credit |
GET/v1/tcgplayer/product | none+2 optional | product | 1 credit |
GET/v1/tcgplayer/search | product_linepagesize+2 optional | product_lineitemspagination | 1 credit |
Overview
About the TCGplayer API
What you can get
The TCGplayer API returns TCGplayer trading card listings, prices and sales as JSON through 3 endpoints.
- Search:
searchtakes aproduct_line(pokemon,magic,yugioh,lorcana-tcg,one-piece-card-game,digimon-card-game,flesh-and-blood-tcgorstar-wars-unlimited) with aqueryor aset, pluspageandsize. - Product:
producttakes anidor aurl. - Price history:
price-historytakes anidand arange(month,quarter,semi-annualorannual).
The recorded search for "charizard" in pokemon returns items, pagination and facets. Each item has id, name, set, set_code, number, rarity, product_line, image_url, prices and total_listings. pagination reports a total of 278 matches over 14 pages of 20. facets count the matches by fields such as cardType, rarityName, setName, condition, language and printing.
How a call works
Search, then read the card: GET /v1/tcgplayer/search?query=charizard&product_line=pokemon&page=1&size=20, with your key in the X-API-Key header, returns each item's id. Pass that to product or price-history, for example GET /v1/tcgplayer/product?id=42382, which returned Charizard from Base Set, number 004/102, Holo Rare, with a market price of 1001.05 USD, total_listings of 148 and total_sellers of 79. Check has_more in pagination before asking for the next page. Every successful call costs 1 credit; failed calls cost nothing.
More marketplaces APIs
Use cases
Price a card from its `market`, `low` and `low_with_shipping` prices
Use the TCGplayer API to price a card from its `market`, `low` and `low_with_shipping` pricesTrack sales volume per condition with `price-history`
Use the TCGplayer API to track sales volume per condition with `price-history`Build a set checklist by searching with `set` instead of `query`
Use the TCGplayer API to build a set checklist by searching with `set` instead of `query`Compare listing depth across cards with `total_listings` and `total_sellers`
Use the TCGplayer API to compare listing depth across cards with `total_listings` and `total_sellers`FAQ
Questions
How much does the TCGplayer API cost?
Each successful call costs one credit, whichever endpoint you call, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
What does price history return?
`price-history?id=42382&range=quarter` returned a `count` of 5 `series`, one per SKU. Each has `variant`, `language`, `condition`, `total_quantity_sold`, `total_transactions` and dated `points` with `market_price`, `low_sale`, `high_sale`, `quantity_sold` and `transactions`.
Which card games can I search?
`product_line` takes `pokemon`, `magic`, `yugioh`, `lorcana-tcg`, `one-piece-card-game`, `digimon-card-game`, `flesh-and-blood-tcg` or `star-wars-unlimited`.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official TCGplayer API?
No. Perceptlayer is an independent service and is not affiliated with TCGplayer. It returns TCGplayer data as JSON with a Perceptlayer key, so there is no TCGplayer developer account, app review or partner approval to get first. It only reads data: if TCGplayer has an official API and you need to act on your own TCGplayer account, such as posting, managing orders or reading private data, use that one.
Should I build a TCGplayer scraper instead?
You can, but a TCGplayer scraper is code you maintain: page changes break it, requests get blocked, and TCGplayer's terms govern how you collect data. The TCGplayer API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the TCGplayer API with 100 free credits
No credit card. Failed calls are never billed.