Games

List Games

GET /games

No authentication required. Returns all enabled games with their last sync timestamp.

Example:

curl "https://tcg-api-production-5148.up.railway.app/games"

Response:

[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "slug": "riftbound",
    "name": "Riftbound",
    "lastSyncAt": "2026-04-07T04:00:00.000Z"
  },
  {
    "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
    "slug": "mtg",
    "name": "Magic: The Gathering",
    "lastSyncAt": "2026-04-06T04:00:00.000Z"
  }
]
FieldTypeDescription
idstringGame UUID
slugstringIdentifier to use in other requests
namestringDisplay name
lastSyncAtstring?Last price sync (ISO 8601), null if never synced

Use the slug value as the game parameter in search, lookup, and batch endpoints.


Health Check

GET /health

No authentication required. Useful to verify the service is online.

{
  "status": "ok",
  "timestamp": "2026-04-07T15:39:00.000Z"
}