Versioned REST · /api/v1

Developer API

The same API powers this site. Card-creation tools can upload images and structured metadata directly.

MethodPathPurpose
POST/auth/loginSign in (cookie or returns session for Bearer use)
POST/uploads/images?kind=card_imageUpload up to 50 PNG/JPG/WebP images
POST/uploads/metadataParse CSV/JSON card metadata
POST/cardsCreate a custom card
POST/cards/bulkCreate up to 500 cards (partial success, HTTP 207)
GET/cards?q=&colors=&subtype=&mechanic=Search public custom cards
GET/cards/{card_id}/versionsCard version history
GET/sets · /card-backsBrowse sets and card backs
GET/official/cards/search?q=Search official cards (Scryfall)
POST/decks · PATCH /decks/{deck_id}Create and edit decks
GET/decks/{deck_id}Deck with resolved cards, stats and format checks
GET/decks/{deck_id}/tts?importer=1.0.0TTS manifest v3: spawn-ready objects per zone, uniform backs
GET/tts/importer/version?installed=Deck Import Terminal release, minimum version, notes
GET/tts/importer/saved-object.json · terminal.luaDownload the Deck Import Terminal
GET · PUT/tts/settingsSite default TTS card back (owner/admin to change)

Authentication & limits

Send the session cookie, or Authorization: Bearer <access_token>. Uploads are limited to 120 requests/min per user; logins lock for 15 minutes after 5 failures. Third-party apps use OAuth2 (Authorization Code + PKCE): see the developer portal documentation.

Tabletop Simulator · Deck Import Terminal

Latest v1.0.2 · minimum v1.0.0 · released 2026-10-10

A Lua-scripted object for Tabletop Simulator. Place it on any MTG table, click Open Deck Importer, paste a published public or unlisted deck link and the deck spawns at your seat, with each zone kept separate.

Subscribe on Steam Workshop

Tokens linked to a deck's cards spawn with it as a Tokens pile. Make and link them in the Token Forge; counters live in Modules.

On the table: drop a card on the Token Forge to spawn one of each of its tokens, or on the Marker Station to make round counter and keyword coins in its tray, then drag them onto any card (press New for extra coins). The Keyword & Counter Library loads every shared keyword and counter for the Station. Press + on the Station, the Library and the Tokens module to register them with the Encoder.

The importer is built but has not yet been verified inside Tabletop Simulator.

The Planar Foundry

Forge Your Cards. Build Your Legends. Shape the Multiverse.

A free community workshop for fan-made Magic: The Gathering cards. Official card data and images are provided by Scryfall.

The Planar Foundry is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC. Magic: The Gathering, its mana symbols, card names and card images are trademarks of Wizards of the Coast LLC. The Planar Foundry is not affiliated with Wizards of the Coast or Hasbro.