Documentation

/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

data
Game[]
Required
Array of game objects.
data[].id
string
Required
Stable game ID, used as the game query parameter on other endpoints.
data[].name
string
Required
Human-readable name (e.g. 'Magic: The Gathering').
data[].game_value_usd
number
Optional
Total estimated value of all cards in the game (max-priced variant per card).
data[].sealed_count
integer
Optional
Number of sealed products tracked for this game.
typescript — request.ts
request.ts
import { JustTCG } from 'justtcg-js';

const client = new JustTCG();
const { data } = await client.v1.games.list();
console.log(data);
json — response · 200 OK
response · 200 OK
{
  "data": [
    { "id": "magic-the-gathering", "name": "Magic: The Gathering", "game_value_usd": 1234567.89 }
  ]
}