Create a new shuffled deck
API · /cards-api
Deck of Cards API
A playing-card deck engine as an API. Create a freshly shuffled deck (one or many decks, with or without jokers), draw cards from it, and reshuffle — with full deck state tracked by a deck id so you can deal hands across multiple calls. Each card comes with its code (e.g. AS, 0H), value, suit and a PNG and SVG image URL, so you can render real cards. Draw cards statelessly from a brand-new deck for quick random picks, or keep a deck_id to build a full game. Ideal for card games and game prototypes, Discord bots, teaching and probability demos, and any app that needs a standard 52-card deck. Built on the Deck of Cards service.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 264 ms
- Server probes · 24h
- Subscribers
- 3,203
- active
- Total calls
- 76
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 5,000 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 5,000 calls/month
- 2 req/sec
- Deck + draw + shuffle
- No credit card
Starter
€2.95 /month
- 75,000 calls / month
- 10 requests / second
- Hard cap (429 above quota, no overage)
- 75k calls/month
- 10 req/sec
- Multi-deck + jokers
- Email support
Pro
€8.95 /month
- 400,000 calls / month
- 25 requests / second
- Hard cap (429 above quota, no overage)
- 400k calls/month
- 25 req/sec
- Game backends / bots
- Priority support
Mega
€23.95 /month
- 2,000,000 calls / month
- 60 requests / second
- Hard cap (429 above quota, no overage)
- 2M calls/month
- 60 req/sec
- High-volume game platform
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
Marvel Snap API
Marvel Snap card data as an API, built on the open snap.fan dataset for Second Dinner's hit mobile card game. Search and filter the full card pool by name, energy cost, power, series or card type, fetch any card by its key or name for its cost, power, ability text, collectible series and official art, and pull a random card. Real card data, no key needed upstream. Ideal for deck builders, card-search and collection tools, tier-list sites and Marvel Snap fan apps.
api.oanor.com/marvelsnap-api
Hearthstone API
Hearthstone card data as an API, built on the open HearthstoneJSON dataset for Blizzard's collectible card game. Search and filter the full collectible card pool by name, class (Mage, Hunter, Priest, …), card type (minion, spell, weapon, hero), rarity, mana cost, set, minion race or mechanic (Battlecry, Deathrattle, Taunt and more). Fetch any card by its id or name for the full record: cost, attack, health/durability, rules text, flavour text, set, mechanics and rendered card art. List every class and set with card counts, or pull a random card (optionally matching a filter). Real data, no key needed upstream. Ideal for deck builders, collection trackers, card-search tools and Hearthstone fan apps.
api.oanor.com/hearthstone-api
Pokémon TCG API
The Pokémon Trading Card Game as an API, powered by TCGdex — clean JSON, no key. Search and look up cards with high-resolution images, HP, types, stage and evolution, abilities and attacks (cost, damage, effect), weaknesses, resistances and retreat cost, rarity, illustrator, legality and live market pricing. Browse every set and series, and open a set for its full card list with release date, card count and logo. Covers thousands of cards from Base Set to the latest expansions. Live data straight from TCGdex. Distinct from the Pokémon video-game Pokédex: this is the collectible card game — ideal for deck builders, collection trackers, price tools, card scanners and TCG apps. 6 data endpoints. Authenticated with an x-oanor-key; fair-use rate limits per plan.
api.oanor.com/pokemontcg-api
Yu-Gi-Oh! API
The Yu-Gi-Oh! Trading Card Game as an API, powered by YGOPRODeck. Look up any card by name or passcode id and get its full detail — type and frame, ATK/DEF, level or rank or link rating, attribute and race/monster type, pendulum scale, complete effect/lore text, every set printing with its set code and rarity, current market prices (Cardmarket, TCGplayer, eBay, Amazon), high-resolution artwork, and TCG/OCG/GOAT banlist status. Fuzzy-search the entire database with filters (type, attribute, race, level, ATK, archetype) and pagination, browse every TCG set and every archetype, or pull a random card. Perfect for deck builders, collection trackers, card-price tools, Discord bots and fan sites. No accounts, no upstream key.
api.oanor.com/yugioh-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Deck of Cards API?
What's the rate limit for Deck of Cards API?
How much does Deck of Cards API cost?
Can I cancel my subscription anytime?
Is Deck of Cards API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/cards-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/cards-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/cards-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/cards-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.