Free Public APIs

A collection of 364 Free Public APIs for Students and Developers.

Tested every single day.

sponsored by

Speedscale - SponsorVoxgig - Sponsor

🃏Deck of Cards

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.

Showcase

Currently, there are no Showcases using this API.

Endpoints

GET

Get a deck of cards

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

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

548 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

18 hours ago

Endpoint Added

8 months ago

GET

Draw 2 Cards from the deck

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

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

544 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

18 hours ago

Endpoint Added

8 months ago

GET

Shuffle the deck

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

Last 30 Days

97 % Reliability

Avg. Response Time

819 ms

3 % Error Rate

CORS

Enabled

Endpoint Checked

12 hours ago

Endpoint Added

8 months ago

Comments

Currently, there are no Comments for this API.