Back

#card-game

6 APIs with this tag

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

Disney Lorcana TCG API

Disney Lorcana trading-card game data as an API. Search and filter the full card pool by name, ink colour (Amber, Amethyst, Emerald, Ruby, Sapphire, Steel), card type, rarity, mana cost, set and classification; fetch a single card by its exact name; list every set; and list all the cards in a set. Each card returns its strength, willpower, lore value, inkable flag, abilities and body text, classifications (e.g. Hero, Dreamborn), the Disney franchise it comes from, the artist and the card artwork. Real data, no key needed upstream. Ideal for deck builders, collection trackers, price tools and Lorcana fan apps.

api.oanor.com/lorcana-api

Blackjack Strategy API

Blackjack maths as an API, computed locally and deterministically and exactly — the hand value, the textbook basic-strategy play and the dealer odds, the numbers that hold the house edge to half a percent. The hand-value endpoint scores a hand the way the table does: aces count 11 unless that busts, then 1, so it reports the best total, whether it is soft (an ace still counting 11, safe to hit) or hard, whether it busts, and whether two cards make a blackjack. The strategy endpoint gives the correct basic-strategy action — hit, stand, double or split — for any hand against the dealer's upcard, for the standard 4-to-8-deck game where the dealer stands on soft 17 with double-after-split allowed: 16 against a 10 hits, a pair of 8s always splits, soft 18 doubles against a 6 but hits against a 9, and 11 doubles against everything but an ace. The dealer-odds endpoint gives the dealer's bust probability by upcard — a 5 or 6 busts about 42 % of the time, an ace only 12 % — the reason you stand on stiffs against weak upcards. Everything is computed locally and deterministically, so it is instant and exact. Ideal for blackjack trainers and strategy apps, card-game and casino-game tools, learning aids, and game back-ends. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. Educational — not betting advice; the house always keeps an edge.

api.oanor.com/blackjack-api

Canasta Scoring API

Canasta card-game scoring as an API, computed locally and deterministically and exactly — the point counting that makes Canasta famously fiddly, done for you. The card-value endpoint totals the point value of a hand or meld: a joker is 50, aces and twos 20, eights through kings 10, fours through sevens and black threes 5, and a red three a 100-point bonus card — so a joker, an ace, a king, a seven and a red three come to 185. The bonus endpoint adds the round bonuses: a natural (pure) canasta is 500, a mixed canasta 300, each red three 100 (all four double to 800), going out 100, and going out concealed a further 100 — two naturals, a mixed, three red threes and going out is 1,700. The hand-score endpoint nets it out: the card points you melded, plus the bonuses, minus the card points left stranded in your hand when the round ends. Everything is computed locally and deterministically, so it is instant and exact. Ideal for Canasta apps, online card-room scorekeepers, club and family game-night tools, and learning aids. Pure local computation — no key, no third-party service, instant. Exact integer maths. Live, nothing stored. 3 compute endpoints. Classic Canasta values; rule variants differ.

api.oanor.com/canasta-api

Cribbage Score API

Cribbage hand-scoring maths as an API, computed locally and deterministically — the count a cribbage player, app or league tallies a hand by. The score endpoint takes the four-card hand and the starter (cut) card and returns the full breakdown by the rules: every distinct combination of cards summing to fifteen scores 2, each pair scores 2 (so three of a kind is 6 and four is 12), each run of three or more consecutive cards scores its length — counting the duplicate runs that pairs create — a four-card flush in the hand is 4 (five with the starter is 5, and the crib only scores a five-card flush), and his nobs, a Jack in hand matching the starter’s suit, is 1. It correctly scores the famous best hand, J-5-5-5 with a fifth 5 cut, at the maximum 29. The count endpoint tallies just fifteens, pairs and runs for any one to eight cards — useful for checking part of a hand or the pegging pile. Everything is computed locally and deterministically, so it is instant and private. Ideal for cribbage, card-game, board-game-companion and scoring app developers, score-verification and teaching tools, and game software. Pure local computation — no key, no third-party service, instant. Cards as rank+suit (5H, TD, JS). Live, nothing stored. 2 compute endpoints.

api.oanor.com/cribbage-api