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
- 220 ms
- Server probes · 24h
- Subscribers
- 3,203
- active
- Total calls
- 60
- 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.
Tarot API
The complete 78-card tarot deck as an API — 22 Major Arcana and 56 Minor Arcana across the four suits (Wands, Cups, Swords and Pentacles). Look up any card by id or name (e.g. The Fool, The Lovers, Ace of Cups) for its upright and reversed meanings and the classic Rider-Waite description, search the whole deck by keyword or theme (e.g. love), browse a single minor suit, or draw a spread of random cards for an instant reading. Each card carries its arcana type, suit, numeric value and both interpretations. Ideal for tarot and astrology apps, daily-card widgets, divination and journaling tools, games and content sites.
api.oanor.com/tarot-api
MTG API
The complete Magic: The Gathering card database as an API — every card ever printed, backed by Scryfall. Look up a card by name (exact, with automatic fuzzy fallback, e.g. "Black Lotus" → mana cost {0}, type, oracle text, rarity, set, format legalities and current market prices), search the entire pool with Scryfall's powerful query syntax (e.g. q=goblin, q=c:red type:creature cmc<=3, ordered by name/cmc/usd/rarity), pull a random card with an optional filter, browse all 1,000+ sets, and list every mana/cost symbol with its glyph. Each card carries colors, color identity, keywords, power/toughness/loyalty, collector number, artist, release date, high-resolution image and prices in USD/EUR/TIX. Ideal for deckbuilders, collection trackers, price-checkers, Discord bots, judges and MTG content tools.
api.oanor.com/mtg-api
Merchant Category Codes API
ISO 18245 Merchant Category Codes (MCC) as an API — the 981 four-digit codes that Visa, Mastercard and other card networks use to classify a merchant's line of business. Look up any code (e.g. 5812 → Eating places and Restaurants, 5411 → Grocery Stores/Supermarkets, 3000 → United Airlines), search by description (e.g. "hotel", "airline", "pharmacy"), filter by IRS-reportable status, or list them all. Each record carries the network/edited description, USDA and IRS descriptions and whether the category is IRS 1099-reportable. Ideal for payments, fintech, expense management, fraud analysis and transaction enrichment.
api.oanor.com/mcc-api
Poker API
A complete Texas Hold’em toolkit in one fast, fully-local API. Calculate win, tie and equity probabilities for your hole cards against any number of opponents (1–9) on any board — pre-flop, flop, turn or river — using a Monte Carlo simulation with adjustable accuracy. Evaluate the best five-card hand from any five to seven cards and get its rank and tiebreakers, or describe a hand in plain language. Cards use the familiar notation (As, Td, 9h, 2c) and every endpoint works by GET or JSON POST. Pure server-side compute with no third-party upstream, so responses are instant and the service is always available. Ideal for poker trainers and study tools, game developers, hand-history trackers and odds widgets.
api.oanor.com/poker-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.