# All Prices
The All Prices data model describes a list of card prices based on date.
Parent file: AllPrices
Parent property: data
# Price Providers
MTGJSON currently has affiliated with the following markets to keep a history of price data and the following examples are formatted for the data model:
- paper: tcgplayer (opens new window), cardmarket (opens new window), and cardkingdom (opens new window)
- mtgo: cardhoarder (opens new window)
# File Structure Overview
{
"<Card UUID>": {
"<Card Format>": { // Game format
"<Price Provider Identifier>": { // Price provider
"buylist": { // Provider buylist values
"foil": { // Foil prices
"<YYYY-MM-DD>": <Float> // Date and price as value
},
"normal": { // Normal prices
"<YYYY-MM-DD>": <Float> // Date and price as value
}
},
"currency": <String>, // Currency of the provider
"retail": { // Provider retail values
"foil": { // Foil prices
"<YYYY-MM-DD>": <Float> // Date and price as value
},
"normal": { // Normal prices
"<YYYY-MM-DD>": <Float> // Date and price as value
}
}
},
... // More providers
}
},
... // More formats
}
# 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": {
"currency": "EUR",
"retail": {
"foil": {
..., // more rows
"2020-04-21": 0.12
},
"normal": {
..., // more rows
"2020-04-21": 0.02
}
}
},
"tcgplayer": {
"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.