Back to API List
🃏

Deck of Cards API – Virtual Card Deck & Game Integration

🕹️ Gaming | 28 views |
.

Description

An API for playing cards. Allows users to shuffle, draw, reshuffle, create a new deck, use a partial deck, add to piles, shuffle piles, list cards in piles, draw from piles, and return cards to the deck.

Documentation

View Full Documentation

Our easy-to-follow documentation helps you get started quickly with code examples in multiple programming languages.

Methods

get

Endpoints

Shuffle the deck

https://www.deckofcardsapi.com/api/deck/1xou3n64udg9/shuffle/

Get a deck of cards

https://www.deckofcardsapi.com/api/deck/new/shuffle/?deck_count=1

Draw 2 Cards from the deck

https://www.deckofcardsapi.com/api/deck/1xou3n64udg9/draw/?count=2

API Statistics

Popularity
974%
Error Rate
66%
Health
45%
Reliability
33%

Showcase

.

Have an API to share?

Join our community of developers and share your API with thousands of users.