/sets
List every set, optionally filtered by game.
GEThttps://api.justtcg.com/v1/sets
Parameters
gamestring
Optional
Restrict results to a single game ID (e.g.
pokemon). Optional.qstring
Optional
Search by set name
Response
data[].idstring
Required
Stable set ID, lowercase-hyphenated, includes the game name to avoid collisions.
data[].namestring
Required
Human-readable set name.
data[].gamestring
Required
The game this set belongs to.
data[].release_datestring (ISO 8601)
Optional
The set's release date.
data[].set_value_usdnumber
Optional
Total estimated value of every card in the set.
data[].variants_countinteger
Optional
Number of distinct variants tracked in the set.
data[].sealed_countinteger
Optional
Number of sealed products tracked for this set.
request.ts
import { JustTCG } from 'justtcg-js';
const client = new JustTCG();
const { data } = await client.v1.sets.list({ game: 'pokemon' });response · 200 OK
{
"data": [
{ "id": "battle-academy-pokemon", "name": "Battle Academy", "game": "pokemon" }
]
}