Parameters

  • deck_id: The number ID of each deck [0 to infinite].
    Default 0.
  • currency: Currency abbreviation.
    Default BRL

Example

  • deck_id: 50696
  • currency: BRL
curl -d "deck_id=45984&currency=BRL"  https://mtg.cardsrealm.com/en-us/api/getDeckByID

Return

It will return a list of cards that belongs to a especific deck and the deck info

{
  "cards": [
    {
      "card_price_total": 5560, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Drowned Catacomb"
    }, 
    {
      "card_price_total": 4400, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Choked Estuary"
    }, 
    {
      "card_price_total": 50, 
      "deck_quantity": 5, 
      "deck_sideboard": 0, 
      "name_ing": "Island"
    }, 
    {
      "card_price_total": 16000, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Watery Grave"
    }, 
    {
      "card_price_total": 18, 
      "deck_quantity": 3, 
      "deck_sideboard": 0, 
      "name_ing": "Swamp"
    }, 
    {
      "card_price_total": 8544, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Fabled Passage"
    }, 
    {
      "card_price_total": 411, 
      "deck_quantity": 1, 
      "deck_sideboard": 0, 
      "name_ing": "Castle Vantress"
    }, 
    {
      "card_price_total": 6776, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Thassa's Oracle"
    }, 
    {
      "card_price_total": 2656, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Inverter of Truth"
    }, 
    {
      "card_price_total": 6220, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Jace, Wielder of Mysteries"
    }, 
    {
      "card_price_total": 44200, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Thoughtseize"
    }, 
    {
      "card_price_total": 374, 
      "deck_quantity": 2, 
      "deck_sideboard": 0, 
      "name_ing": "Thought Erasure"
    }, 
    {
      "card_price_total": 4584, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Fatal Push"
    }, 
    {
      "card_price_total": 80, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Opt"
    }, 
    {
      "card_price_total": 72, 
      "deck_quantity": 1, 
      "deck_sideboard": 0, 
      "name_ing": "Cling to Dust"
    }, 
    {
      "card_price_total": 278, 
      "deck_quantity": 1, 
      "deck_sideboard": 0, 
      "name_ing": "Tale's End"
    }, 
    {
      "card_price_total": 4000, 
      "deck_quantity": 4, 
      "deck_sideboard": 0, 
      "name_ing": "Hero's Downfall"
    }, 
    {
      "card_price_total": 5700, 
      "deck_quantity": 3, 
      "deck_sideboard": 0, 
      "name_ing": "Dig Through Time"
    }, 
    {
      "card_price_total": 786, 
      "deck_quantity": 2, 
      "deck_sideboard": 1, 
      "name_ing": "Narset, Parter of Veils"
    }, 
    {
      "card_price_total": 302, 
      "deck_quantity": 1, 
      "deck_sideboard": 1, 
      "name_ing": "The Elderspell"
    }, 
    {
      "card_price_total": 216, 
      "deck_quantity": 2, 
      "deck_sideboard": 1, 
      "name_ing": "Cry of the Carnarium"
    }, 
    {
      "card_price_total": 434, 
      "deck_quantity": 2, 
      "deck_sideboard": 1, 
      "name_ing": "Ritual of Soot"
    }, 
    {
      "card_price_total": 312, 
      "deck_quantity": 4, 
      "deck_sideboard": 1, 
      "name_ing": "Tyrant's Scorn"
    }, 
    {
      "card_price_total": 2008, 
      "deck_quantity": 4, 
      "deck_sideboard": 1, 
      "name_ing": "Mystical Dispute"
    }
  ], 
  "deck_datetime": "Sun, 24 May 2020 00:00:00 GMT", 
  "deck_lastchange": "Thu, 28 May 2020 17:05:59 GMT", 
  "deck_quantity_main": 60, 
  "deck_quantity_side": 15, 
  "deck_quantity_total": 75, 
  "deck_title": "masongrode (25th Place)", 
  "deck_url": "https://cardsrealm.com/decks/2g0g-masongrode-pioneer-challenge", 
  "game_id": 1, 
  "tour_type_name": "Pioneer", 
  "user_name": "Cards Realm"
}