/games
List every trading card game supported by the API.
GEThttps://api.justtcg.com/v1/games
Parameters
The /games endpoint takes no query parameters.
Response
dataGame[]
Required
Array of game objects.
data[].idstring
Required
Stable game ID, used as the game query parameter on other endpoints.
data[].namestring
Required
Human-readable name (e.g. 'Magic: The Gathering').
data[].game_value_usdnumber
Optional
Total estimated value of all cards in the game (max-priced variant per card).
data[].sealed_countinteger
Optional
Number of sealed products tracked for this game.
request.ts
import { JustTCG } from 'justtcg-js';
const client = new JustTCG();
const { data } = await client.v1.games.list();
console.log(data);response · 200 OK
{
"data": [
{ "id": "magic-the-gathering", "name": "Magic: The Gathering", "game_value_usd": 1234567.89 }
]
}