traded.gg logotraded.gg
Skip to documentation content

deals

Find below-market deals for a card or the whole market.

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 · Optional

One card's deals.

set_idstring · Optional

Market deals only: restrict to one catalog set.

gradestring · Optional

One exact grade filter. Omit for all grades.

marketplacestring · Optional

Venue 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 · Optional

Sold 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_30d

min_discountnumber · Optional

Minimum discount as a fraction (0.15 = 15% below market). Omit for the default 15% floor; use 0 for anything below market.

min_saved_usdnumber · Optional

Minimum 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 · Optional

Lower bound on the landed ask (ask plus shipping). Above max_ask_usd is invalid_params.

max_ask_usdnumber · Optional

Upper bound on the landed ask (ask plus shipping). Below min_ask_usd is invalid_params.

below_last_saleboolean · Optional

Keep 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 · Optional

Serve 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 · Optional

Deal 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 · Optional

Rows per page, 1 to 200 (default 20).

Default 20

cursorstring · Optional

Market deals only: the opaque cursor from the previous page.

gamestring · Optional

TCG: pokemon (default), onepiece, or riftbound.

eraarray · Optional

Market deals: one or more eras; combine base, gym, neo, vs, ecard and ex for vintage.

finisharray · Optional

Market deals: one or more current canonical finish values.

yeararray · Optional

Market deals: one or more four-digit release years from 1900 through 2099.

languagestring · Optional

Market deals: one language token or a comma-separated list.

qualitystring · Optional

No deals route filters by quality; passing it fails with invalid_params.

Allowed values verified, all

cost_basisstring · Optional

Price basis: item (default), landed (+buyer shipping/fees), or seller_net (-seller fees). See meta(topic=costs).

Allowed values item, landed, seller_net

regionstring · Optional

Buyer region for shipping and venue eligibility; omit for all regions.

Allowed values us, jp, eu, uk, other