Deck of Cards

Shuffle and draw virtual decks

🎮 GamesHEALTHYchecked 9h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

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

92HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 92 · healthy
Uptime history
99.02%90 days
100%30 days
401P50 · ms
3645P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 100 ms, slowest 2338 ms, most recent 348 ms.
Live response samplecaptured by our last successful check
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 · 6HealthyFULL DOCS ↗
Monitored path responding — GET /deck/new/shuffle/?deck_count=1401 mschecked 9h ago
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

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

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?

As of our last scheduled check, Deck of Cards is healthy with 99.02% uptime over 90 days and a 401 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.