Deck of Cards

Shuffle and draw virtual decks

🎮 GamesUNMONITORED
AUTH NONECORS AGENT ?HTTPS COMMERCIAL ?

Models a physical deck with persistent deck IDs. Perfect for card-game prototypes.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1

{
  "success": true,
  "deck_id": "5h0rwuhdaf73",
  "remaining": 52,
  "shuffled": true
}
Call itcurl · fetch · python
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())
Endpoints · 6On scheduleFULL DOCS ↗
On schedule — GET /deck/new/shuffle/?deck_count=1 awaits first probe
GET/deck/new/shuffle/?deck_count=1PROBED

Shuffle and draw virtual decks

GET/deck

Deck — documented GET route.

GET/deck/1

Deck details by ID (example: 1).

GET/deck?limit=10

Deck — documented GET route.

GET/deck/search?q=test

Search by query parameters.

GET/deck/new/shuffle/?limit=5

Shuffle — documented GET route.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

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.