# All Prices

The All Prices abstract Data Model describes a list of card prices based on a MTGJSON Card UUID.

Parent file: AllPrices
Parent property: data

# Price Providers

MTGJSON currently has affiliated with the following price providers to keep a limited history of price data. The following examples are providers and game formats:

# Model Overview

{
  <MTGJSON Card UUID>: {
    <Card Format>: { // Game format
      <Price Provider Identifier>: { // Price provider
        buylist: { // Provider buylist values
          foil: { // Foil prices
            <YYYY-MM-DD>: <Float> // Date as key and price as value
          },
          normal: { // Normal prices
            <YYYY-MM-DD>: <Float> // Date as key and price as value
          }
        },
        currency: <String>, // Currency of the provider
        retail: { // Provider retail values
          foil: { // Foil prices
            <YYYY-MM-DD>: <Float> // Date as key and price as value
          },
          normal: { // Normal prices
            <YYYY-MM-DD>: <Float> // Date as key and price as value
          }
        }
      },
      ... // More providers
    },
    ... // More formats
  },
  ... // More card UUIDs
}

# Example Model

{
  0120a941-9cfb-50b5-b5e4-4e0c7bd32410: {
    mtgo: {
      cardhoarder: {
        currency: "USD",
        retail: {
          foil: {
            ..., // more rows
            2020-04-21: 0.02
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.02
          }
        }
      },
    },
    paper: {
      cardkingdom : {
        buylist: {
          foil: {
            ..., // more rows
            2020-04-21: 0.6
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.01
          }
        },
        currency: "USD",
        retail: {
          foil: {
            ..., // more rows
            2020-04-21: 0.12
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.02
          }
        }
      },
      cardmarket: {
        buylist: {
          foil: {
            ..., // more rows
            2020-04-21: 0.6
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.01
          }
        },
        currency: "EUR",
        retail: {
          foil: {
            ..., // more rows
            2020-04-21: 0.12
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.02
          }
        }
      },
      cardsphere: {
        currency: "USD",
        retail: {
          foil: {
            ..., // more rows
            2020-04-21: 0.12
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.02
          }
        }
      },
      tcgplayer: {
        buylist: {
          foil: {
            ..., // more rows
            2020-04-21: 0.6
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.01
          }
        },
        currency: "USD",
        retail: {
          foil: {
            ..., // more rows
            2020-04-21: 0.12
          },
          normal: {
            ..., // more rows
            2020-04-21: 0.02
          }
        }
      }
    }
  }
}

Need more data? Join the Discord (opens new window) and let us know or open an issue on GitHub (opens new window). We'll be happy to discuss your needs.