/cards
Most-used endpointOne endpoint, two methods. Use GET to look up a single card; POST to fetch up to 200 in one request.
GEThttps://api.justtcg.com/v1/cards
cardIdstring
Optional
Direct lookup by card ID.
variantIdstring
Optional
Direct lookup by variant ID — fastest path.
tcgplayerIdstring
Optional
TCGplayer product ID.
mtgjsonIdstring
Optional
MTGJSON UUID.
scryfallIdstring
Optional
Scryfall UUID.
tcgplayerSkuIdstring
Optional
TCGplayer SKU ID (variant-level).
Response
request.ts
import { JustTCG } from 'justtcg-js';
const client = new JustTCG();
const { data } = await client.cards.get({
cardId: 'pokemon-battle-academy-fire-energy-22-charizard-stamped',
condition: ['NM', 'LP'],
priceHistoryDuration: '30d',
});
console.log(data[0].variants[0].price);response · 200 OK
{
"data": [
{
"id": "pokemon-battle-academy-fire-energy-22-charizard-stamped",
"name": "Fire Energy (#22 Charizard Stamped)",
"game": "Pokemon",
"set": "battle-academy-pokemon",
"set_name": "Battle Academy",
"rarity": "Promo",
"variants": [
{
"id": "pokemon-…_near-mint",
"condition": "Near Mint",
"printing": "Normal",
"price": 4.99,
"lastUpdated": 1743100261
}
]
}
],
"meta": { "total": 1, "limit": 20, "offset": 0, "hasMore": false },
"_metadata": {
"apiPlan": "Pro",
"apiRequestsRemaining": 49213
}
}POSThttps://api.justtcg.com/v1/cards
Identifier precedence:
variantId > tcgplayerSkuId > tcgplayerId > mtgjsonId > scryfallId > cardId. Use one identifier per item.cardIdstring
Optional
Card-level lookup.
variantIdstring
Optional
Variant-level lookup — fastest path.
tcgplayerIdstring
Optional
TCGplayer product ID.
mtgjsonIdstring
Optional
MTGJSON UUID.
scryfallIdstring
Optional
Scryfall UUID.
tcgplayerSkuIdstring
Optional
TCGplayer SKU ID.
Limits:200 items / request (Enterprise), 100 (Starter & Pro), 20 (Free). Batch larger workloads.
Response
request.ts
import { JustTCG } from 'justtcg-js';
const client = new JustTCG();
const { data } = await client.cards.batch([
{ tcgplayerId: '219042', condition: 'NM', printing: 'Normal' },
{ tcgplayerId: '25788', condition: 'LP', printing: '1st Edition' },
]);response · 200 OK
{
"data": [
{
"id": "pokemon-battle-academy-fire-energy-22-charizard-stamped",
"name": "Fire Energy (#22 Charizard Stamped)",
"game": "Pokemon",
"set": "battle-academy-pokemon",
"set_name": "Battle Academy",
"rarity": "Promo",
"variants": [
{
"id": "pokemon-…_near-mint",
"condition": "Near Mint",
"printing": "Normal",
"price": 4.99,
"lastUpdated": 1743100261
}
]
}
],
"meta": { "total": 1, "limit": 20, "offset": 0, "hasMore": false },
"_metadata": {
"apiPlan": "Pro",
"apiRequestsRemaining": 49213
}
}