Free Public APIs

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

Tested every single day.

sponsored by

Speedscale - SponsorVoxgig - Sponsor

🃏Deck of Cards

Actions

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

507 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

3 hours ago

Endpoint Added

9 months ago

GET

Shuffle the deck

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

Last 30 Days

100 % Reliability

Avg. Response Time

697 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

a day ago

Endpoint Added

9 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

488 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

3 hours ago

Endpoint Added

9 months ago

Comments

Currently, there are no Comments for this API.