February 2026

Playing with the Archidekt API for Magic: The Gathering Cards

Archidekt has an API. Kinda. It's not officially supported but it's open and public for reading.

Very cool.

Getting a Deck

Pulling data for a deck is done with the ID from the URL on the main site. For example, this ID from this deck's address:

https://archidekt.com/decks/19345263/yurikoninjas_v3

is the "19345263" number.

The API call from the ID is:

https://archidekt.com/api/decks/19345263/

Other Stuff

They have some search stuff that looks like it bounces off scryfall based on the URL:

https://archidekt.com/api/cards/scryfall/?search=(rikku)%20and%20(%20game:Paper)&page=1&includeExtras=1

I haven't played around with that yet. I just collect a ton of cards directly on Archidekt and then sort them with my own tools.

There's probably other stuff in there as well. I don't need anything more than the deck for what I'm doing. Poking around in the network console is left as an exercise for the reader.

Hacking Magic

I'm so impressed with Archidekt. It feels like a tool that was built by fans of the game for themselves first and foremost. I wouldn't be at all surprised to find out it started as a personal project and then the devs just kept hacking on it.

The fact that they're cool with folks playing with their API is amazing in this day and age. Makes me think it's run by the devs and not MBAs looking to squeeze every possible bit of income out of it.

So refreshing,

-a

end of line

Endnotes

The Archidekt API servers doesn't allow you to call data from other sites (it's set up to block that with CORS). That's totally reasonable. The way I'm using it is to just copy/paste data into my tool and work with it from there.

References

Archidekt has a Patreon. Starts at $2/month to remove adds and, more importantly, support them. Well worth it for a fantastic tool.

Found this while looking around for API stuff. Bookmarking to investigate later.