Tarnished's Ledger

Developer API

Manage your keys →
Match import API

Upload matches to a Tarnished's Ledger account from your own tools. Authenticate with a personal API key; each import is written to your account. Create & manage keys on the Developers page (sign in required).

Endpoint

POST https://tarnishedledger.com/api/import/match
Authorization: Bearer rtm_…
Content-Type: application/json

Example

curl -X POST https://tarnishedledger.com/api/import/match \
  -H "Authorization: Bearer rtm_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "my-tool-match-0001",
    "date": "2026-06-14",
    "format": "Lion Locked",
    "matchType": "1v1",
    "matchClass": "casual",
    "outcome": "win",
    "condition": "bingo",
    "gameVersion": "dlc",
    "opponents": [{ "name": "RivalPlayer", "account": "rivalplayer", "gameVersion": "base" }],
    "weapon": "Rivers of Blood",
    "board": [
      { "position": 0, "text": "Kill Margit", "state": "mine", "markedAtSeconds": 95 }
      /* …25 cells total… */
    ]
  }'

Body fields

Tournament / neutral imports

With a key that has the tournament scope you can record a game between two OTHER players (a “neutral” match) for a tournament you organise. You must be the tournament’s owner, admin, or ref. Both players are tagged, so it lands on both their profiles; it doesn’t count toward your own stats.

Responses & limits