deals
Arguments and Behavior
Below-market deals for one card (card_id) or market-wide. Rows carry ask, landed price, venue value (null where unpublished), benchmark, `qualified`, `apparent_discount`/`apparent_saved_usd`, `not_qualified_reason`, `flags`. Filter by set, era, year, finish, language; defaults: qualified_only=true, min_discount=0.15, sort=discount|saved_usd, benchmark=median_3|median_30d|mean_30d. Rules: meta(topic=guarantees).
card_idstring · OptionalOne card's deals.
set_idstring · OptionalMarket deals only: restrict to one catalog set.
gradestring · OptionalOne exact grade filter. Omit for all grades.
marketplacestring · OptionalVenue filter: ebay, tcgplayer, fanatics, alt, blend, collector_crypt, magic_eden, courtyard, phygitals or beezie. A venue that is not live on this deployment answers 422 with the live list.
benchmarkstring · OptionalSold benchmark the landed ask must sit strictly under. median_3 (default) is the three-sale median. median_30d ranks against the cohort's 30-day median; mean_30d ranks against that sale pool's mean. The market rank re-ranks its staged candidate universe live on the requested benchmark; rows state the benchmark method, value, sale count, pool mean, min and max, window bounds, venue scope and evidence sale ids.
Allowed values
median_3, median_30d, mean_30dmin_discountnumber · OptionalMinimum discount as a fraction (0.15 = 15% below market). Omit for the default 15% floor; use 0 for anything below market.
min_saved_usdnumber · OptionalMinimum dollars saved: keep rows whose benchmark value minus the landed ask (ask plus shipping) is at least this. It reads the same money the saved_usd sort keys on, so a qualified row's saved_usd and an unqualified row's apparent_saved_usd are filtered alike; a bar above zero drops the unqualified rows, whose apparent saving is negative.
min_ask_usdnumber · OptionalLower bound on the landed ask (ask plus shipping). Above max_ask_usd is invalid_params.
max_ask_usdnumber · OptionalUpper bound on the landed ask (ask plus shipping). Below min_ask_usd is invalid_params.
below_last_saleboolean · OptionalKeep rows whose landed ask is strictly under the cohort's most recent clean sale (last_sale_usd). A row with no last sale is dropped. Default false.
qualified_onlyboolean · OptionalServe only qualified deals: rows whose `qualified` is true (a fresh reviewed cohort, a confident match, a live observation and an ok benchmark). True by default; pass false for the full apparent list, where every qualified row ranks before every unqualified row. With no qualified row the deals list is empty with a no_qualified_deals note; the qualification block still counts the considered apparent deals and their reasons.
sortstring · OptionalDeal ranking, e.g. discount (default, by discount fraction) or saved_usd (by absolute dollars saved: benchmark value minus landed ask). An unrecognized sort answers invalid_params listing the valid sorts.
limitinteger · OptionalRows per page, 1 to 200 (default 20).
Default
20cursorstring · OptionalMarket deals only: the opaque cursor from the previous page.
gamestring · OptionalTCG: pokemon (default), onepiece, or riftbound.
eraarray · OptionalMarket deals: one or more eras; combine base, gym, neo, vs, ecard and ex for vintage.
finisharray · OptionalMarket deals: one or more current canonical finish values.
yeararray · OptionalMarket deals: one or more four-digit release years from 1900 through 2099.
languagestring · OptionalMarket deals: one language token or a comma-separated list.
qualitystring · OptionalNo deals route filters by quality; passing it fails with invalid_params.
Allowed values
verified, allcost_basisstring · OptionalPrice basis: item (default), landed (+buyer shipping/fees), or seller_net (-seller fees). See meta(topic=costs).
Allowed values
item, landed, seller_netregionstring · OptionalBuyer region for shipping and venue eligibility; omit for all regions.
Allowed values
us, jp, eu, uk, other

