Discover/cardkingdom.com API
live

cardkingdom.com APIcardkingdom.com

Access Magic: The Gathering card prices, buylist rates, edition catalogs, and deals from Card Kingdom via 6 structured API endpoints.

Endpoints
6
Updated
4mo ago
Try it
Page number for pagination
Search keyword for card name (e.g. 'Lightning Bolt')
Filter by tournament format: Commander, Legacy, Modern, Pauper, Vintage, Pioneer, Brawl, Standard, Premodern
Filter by card set/edition name
api.parse.bot/scraper/57fad8b8-9bec-4fbf-9dfd-c5d328040d29/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/57fad8b8-9bec-4fbf-9dfd-c5d328040d29/search_cards?query=Lightning+Bolt' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Search for Magic: The Gathering cards by name, edition, and format. Returns paginated results with pricing and condition availability.

Input
ParamTypeDescription
pageintegerPage number for pagination
querystringSearch keyword for card name (e.g. 'Lightning Bolt')
formatstringFilter by tournament format: Commander, Legacy, Modern, Pauper, Vintage, Pioneer, Brawl, Standard, Premodern
editionstringFilter by card set/edition name
Response
{
  "type": "object",
  "fields": {
    "page": "integer, current page number",
    "items": "array of card objects with name, url, edition, rarity, type, oracle_text, and conditions (price/availability per condition)",
    "per_page": "integer, results per page"
  },
  "sample": {
    "data": {
      "page": 1,
      "items": [
        {
          "url": "https://www.cardkingdom.com/mtg/beta/lightning-bolt",
          "name": "Lightning Bolt",
          "type": "Instant",
          "rarity": "C",
          "edition": "Beta",
          "conditions": [
            {
              "price": "$449.99",
              "available": "0",
              "condition": "NM"
            },
            {
              "price": "$359.99",
              "available": "3",
              "condition": "EX"
            }
          ],
          "oracle_text": "Lightning Bolt deals 3 damage to any target.",
          "collector_number": "162"
        }
      ],
      "per_page": 100
    },
    "status": "success"
  }
}

About the cardkingdom.com API

The Card Kingdom API provides structured access to Magic: The Gathering card data across 6 endpoints, covering retail prices, buylist rates, edition listings, and current deals. The search_cards endpoint lets you query cards by name, format, or edition and returns per-condition pricing and availability. Additional endpoints expose full card details, sell-to-store buylist prices in both cash and store credit, and a complete catalog of MTG sets.

Card Search and Detail

The search_cards endpoint accepts a query string for card name lookup, an edition filter for set-specific results, and a format filter supporting nine tournament formats including Commander, Modern, Legacy, Pioneer, and Standard. Results are paginated via the page parameter and each item includes the card's name, edition, rarity, type, oracle_text, and a conditions array containing price and availability per grading condition. For deeper data, get_card_detail takes a card url path and returns the full conditions list with quantities, the card's oracle text, and an other_versions array linking to alternate printings of the same card.

Buylist and Deals

The get_buylist_prices endpoint returns what Card Kingdom will pay for cards — each item in the response includes buylist_prices with distinct cash, credit, and max_quantity fields. You can filter by query or edition and paginate results. The get_deals endpoint surfaces currently discounted products with original_price, sale_price, and a direct url to the listing, making it straightforward to track markdown events across the catalog.

Editions and Formats Reference

list_all_editions returns the full MTG set catalog as an array of objects with name, slug, and url — useful for building edition pickers or validating set names before passing them to search_cards or get_buylist_prices. get_formats returns a keyed object of all supported game formats with each format's id, name, slug, and is_active status, giving you the canonical format identifiers Card Kingdom recognizes.

Common use cases
  • Compare retail prices across card conditions to find the lowest-cost copy of a specific printing
  • Track buylist cash vs. store credit rates to identify the best time to sell cards back
  • Monitor the deals feed for price drops on specific cards or products
  • Build a format-legality price checker using the format filter in search_cards
  • Generate a full set inventory by iterating search_cards with an edition parameter from list_all_editions
  • Alert on buylist max_quantity limits to detect when Card Kingdom stops buying a given card
  • Cross-reference other_versions from get_card_detail to find cheaper alternate printings of a card
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Card Kingdom have an official developer API?+
Card Kingdom does not publish a public developer API. There is no documented REST or GraphQL interface available to third-party developers on their site.
What does the buylist endpoint actually return — and how does it differ from retail pricing?+
The get_buylist_prices endpoint returns what Card Kingdom will pay when you sell cards to them, not what they charge buyers. Each item includes a buylist_prices object with separate cash and credit values and a max_quantity field indicating how many copies they are currently buying. Retail sell prices come from search_cards or get_card_detail via the conditions array.
Does the API cover foil or special-treatment card variants separately?+
The conditions arrays in search_cards and get_card_detail reflect the condition grades and quantities Card Kingdom lists. Foil and non-foil versions of a card typically appear as separate listings, accessible via get_card_detail with the relevant url or through the other_versions field. Explicit foil flags are not a dedicated response field currently. You can fork the API on Parse and revise it to add a foil-specific filter or field if that distinction matters to your use case.
Is historical price data available through any of the endpoints?+
Not currently. All six endpoints return current pricing as it stands — there are no date-range parameters or historical price arrays in any response. You can fork the API on Parse and revise it to add a scheduled polling layer that records snapshots over time.
How does pagination work across endpoints that support it?+
search_cards, get_buylist_prices, and get_deals all accept an integer page parameter. Each response includes the current page number and a per_page count so you can calculate total pages from the result set size. list_all_editions and get_formats return their full datasets in a single response with no pagination.
Page content last updated . Spec covers 6 endpoints from cardkingdom.com.
Related APIs in EcommerceSee all →
cardmarket.com API
Search and browse trading cards across Europe's largest marketplace, accessing detailed card information, listings, seller profiles, and finding the best bargains all in one place. Explore games and expansions to discover available singles and compare prices from multiple sellers.
tcgplayer.com API
Search for trading cards across all games and sets on TCGPlayer, and instantly access detailed pricing information by condition plus current seller listings with prices, shipping costs, and seller ratings. Compare card values and find the best deals from multiple sellers all in one place.
moxfield.com API
Search and retrieve Magic: The Gathering card data from Moxfield, including high-resolution card images, pricing, legalities, edition details, and metadata. Supports card name lookups, Scryfall syntax queries, and browsing curated card lists for deck building and collection management.
mtggoldfish.com API
Access Magic: The Gathering metagame data from MTGGoldfish, including popular deck archetypes with popularity metrics, mana composition, and complete card lists. Retrieve metagame breakdowns by format and look up full deck lists by archetype or deck ID.
pkmncards.com API
Search and browse Pokémon trading card game cards with detailed metadata, high-quality images, and advanced filtering by set, Pokémon name, or card type. Filter across thousands of cards from different sets to find exactly what you're looking for.
bazaardb.gg API
Search and retrieve comprehensive data about The Bazaar game cards, including items, skills, merchants, trainers, monsters, and events with full details like tiers, attributes, enchantments, and tooltips. Quickly find the specific card information you need to optimize your gameplay strategy and deck building.
giftcards.com API
Search for gift cards across brands and categories, and retrieve discounted cards with their promotion rules and current discount rates. Compare gift card prices programmatically to find the best available savings.
cdkeys.com API
Search and browse digital game keys across thousands of titles, view product details, pricing, and discover best sellers and latest releases from CDKeys. Filter games by category, compare options, and stay updated on the newest game key listings available.