API

A REST API for your GameTracker library is planned. Back to GameTracker.

Placeholder: this API is not public yet. Only the endpoint marked live exists, and it is a server-to-server route for the Atlas integration, not open to general use. Everything else is a roadmap and will change.

Authenticating

Per-user API keys are planned. They will be sent as a Bearer token, like this (illustrative, does not work yet):

curl -H "Authorization: Bearer gt_..." https://gametracker.taufikhamid.com/api/games

Games

  • GET/api/gamesplanned

    List your games. Optional filters for play status, install status, store and Deck compatibility.

  • POST/api/gamesplanned

    Add a game to your library.

  • GET/api/games/{id}planned

    Get one game.

  • PATCH/api/games/{id}planned

    Edit a game (status, rating, notes, playtime, ...).

  • DELETE/api/games/{id}planned

    Remove a game from your library.

Pending games

  • POST/api/pending-gameslive

    Stage a game for review before it joins your library. Used by the Atlas MCP relay on behalf of a signed-in user (body includes user_id and title, plus optional game fields).

    Auth: Server-to-server Bearer key (not a per-user key)

    Response: application/json

  • GET/api/pending-gamesplanned

    List games waiting for review.

  • POST/api/pending-games/{id}/acceptplanned

    Move a staged game into your library.

  • DELETE/api/pending-games/{id}planned

    Discard a staged game.

Dashboard

  • GET/api/statsplanned

    Library summary: counts by play status, total playtime, Deck compatibility breakdown.

Settings

  • GET/api/keysplanned

    List your API keys (without their secret values).

  • POST/api/keysplanned

    Create a new API key.

  • DELETE/api/keys/{id}planned

    Revoke an API key.