Deck of Cards API
An API for playing cards
Deck of Cards API is a REST service for creating and managing virtual playing card decks. It solves the problem of implementing card-game logic without building deck state, shuffling, and card data handling from scratch. Decks are identified by a deck_id and are discarded after two weeks of inactivity.
The API supports shuffling and drawing cards, creating new or partial decks, enabling jokers, and managing named piles for hands, discards, and other uses. Piles can be added to, shuffled, listed, and drawn from the top, bottom, or randomly, and cards can be returned to the main deck. Card responses include code, value, suit, and image URLs in PNG and SVG formats. The deck_count parameter supports multiple decks, while pile operations are noted as not working with multiple decks.
The service is suited to developers building card games or card-related applications. The pages describe a free, usage-based REST API without paid editions, trials, or seat-based plans.
12 alternatives to Deck of Cards API
Ranked by how well each tool replaces Deck of Cards API: shared features, audience, price and popularity.
Turn URLs into responsive embeds, structured content, and optimized images through one API
Covers 2 of 5 key features.
58 out of 100 match$19/moOpen source API development ecosystem.
Covers 4 of 5 key features and is open source.
Open source58 out of 100 match—- 57 out of 100 matchContact sales
A free, open-source API for generating random user data. Like Lorem Ipsum, but for people.
Covers 4 of 5 key features and is open source.
Free planOpen source56 out of 100 matchFreeReal-time and historical foreign exchange and crypto rates API
Covers 4 of 5 key features.
Free plan56 out of 100 match$14.99/moHosted REST API for testing, prototyping and learning, with real endpoints, persistentdata
Covers 2 of 5 key features.
Free plan56 out of 100 match$5/mo- 55 out of 100 match$9.99/mo
Command line tool and library for transferring data with URLs.
Covers 3 of 5 key features and is open source.
Free planOpen source55 out of 100 matchFreeFree Online Toolbox for developers
Covers 5 of 5 key features and is open source.
Free planOpen source55 out of 100 matchFree- 54 out of 100 match$8.99/mo
The original simple, accurate and transparent exchange rates and currency conversion data.
Covers 3 of 5 key features.
Free plan54 out of 100 match$12/mo- 54 out of 100 matchContact sales