Deck of Cards
Shuffle and draw virtual decks
Models a physical deck with persistent deck IDs. Perfect for card-game prototypes.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗
On our probe schedule. Uptime charts appear after the first check lands.
GET https://deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1
{
"success": true,
"deck_id": "5h0rwuhdaf73",
"remaining": 52,
"shuffled": true
}curl "https://deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1"const res = await fetch("https://deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1")
print(res.json())/deck/new/shuffle/?deck_count=1PROBEDShuffle and draw virtual decks
/deckDeck — documented GET route.
/deck/1Deck details by ID (example: 1).
/deck?limit=10Deck — documented GET route.
/deck/search?q=testSearch by query parameters.
/deck/new/shuffle/?limit=5Shuffle — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Not tracked yet. Shape-change history starts once this API joins our probe schedule.
Deck of Cards: common questions
Is Deck of Cards free to use?
Yes — Deck of Cards is a free games API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.
Does Deck of Cards need an API key?
No — Deck of Cards needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call Deck of Cards from the browser?
Yes — Deck of Cards returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is Deck of Cards up right now?
Deck of Cards is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.