API · /cards-api

Deck of Cards API

healthy 3,203 Subscribers

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.oanor.com/cards-api
Get an API key Try in playground → Contact provider

Machine-readable spec so AI agents can integrate this API.

/api/cards-api/openapi.json
/api/cards-api/llms.txt

Discovery: GET /api/index.json lists every API.

Deck of Cards API — live data on the oanor API marketplace

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
status Full status page → · 12 probes/24h

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

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
Sign in to subscribe

Built by

Related APIs

Other APIs with overlapping tags.

Marvel Snap API — oanor API marketplace

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 — oanor API marketplace

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 — oanor API marketplace

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 — oanor API marketplace

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?
Sign up for free at oanor.com, generate an API key from the developer dashboard, and call Deck of Cards API with the x-oanor-key header. No credit card needed for the free tier.
What's the rate limit for Deck of Cards API?
Free tier allows 1 request per second. Paid plans scale up to 50 requests per second on the Mega tier. Hard limits return HTTP 429 above the quota — no surprise overage charges.
How much does Deck of Cards API cost?
Deck of Cards API has a free tier with 100 calls / month. Paid plans start at €2.95 / month with higher quotas and faster rate limits.
Can I cancel my subscription anytime?
Yes. Plans are billed monthly and you can cancel anytime from your billing dashboard. No long-term contracts and no cancellation fee.
Is Deck of Cards API GDPR-compliant?
All requests to Deck of Cards API go through our EU-based gateway. Your upstream API key never leaves our server and no personal data is shared with the upstream provider beyond the request you send.

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 in

New thread

/ 4000

📌 Pinned 🔒 Locked

·

· ·

/ 4000

🔒 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 in

Open new ticket

Describe what you need help with. The provider team gets an email and replies on the ticket page.

  • No tickets yet for this API.

Subscription active — calls can start immediately.

Send your first request —

Subscription active — copy a snippet and fire off your first call.