Class ThirdParty
- Namespace
- TcgDex.Models
- Assembly
- TcgDex.CSharpSdk.dll
External marketplace product identifiers for a card or printing — what builds a direct link to that listing on Cardmarket, TCGplayer or CardTrader.
public sealed record ThirdParty : IEquatable<ThirdParty>Inheritance
Implements
Inherited Members
Remarks
Distinct from TcgDex.Models.Pricing: these are the marketplace's own catalog
ids, not price points. Live on api.tcgdex.net since 2026-09 — see
docs/DECISIONS.md for why the SDK waited to model it rather than
guessing the shape.
Present at both TcgDex.Models.Card.ThirdParty (the card as a whole) and each TcgDex.Models.DetailedVariant.ThirdParty (per printing), independently and mirroring exactly how TcgDex.Models.Pricing is placed at both levels: a card with several distinctly-priced printings carries the ids per variant, while a card with a single undifferentiated printing carries them at the root instead. Every id is independently nullable — TcgDex.Models.ThirdParty.CardTrader in particular is present only intermittently, observed to appear and disappear between successive fetches of the same card.
Properties
CardTrader
CardTrader's internal product identifier, when this card is listed there.
[JsonPropertyName("cardtrader")]
public int? CardTrader { get; init; }Property Value
- int?
Cardmarket
Cardmarket's internal product identifier.
public int? Cardmarket { get; init; }Property Value
- int?
TcgPlayer
TCGplayer's internal product identifier.
[JsonPropertyName("tcgplayer")]
public int? TcgPlayer { get; init; }Property Value
- int?