Winter Gifts. A gift box is waiting in every Data API account until 31 December. Open your gift

Adding Cardmarket and eBay prices to a TCG application

A market quote, a Cardmarket asking price, an eBay sold valuation and a list of sales are four different numbers. Which endpoint returns which, what each means, and how to show them without misleading anyone.

Most card apps start with one price per card. Then a user in Germany asks why the price is in dollars, and a seller asks why the app's figure is twice what their copy fetched. Both questions have the same answer: there are several different prices for one card, and the app showed one without saying which. This guide covers the four kinds of price, and the sales list behind them, that the Flipzi Data API returns for a card. It explains what each means and how to request it.

Five numbers, not one

Five layers from broadest to most specific: market quote, Cardmarket asking prices by grade, eBay sold valuation, eBay sold by marketplace, individual sales Market quote every plan /price Cardmarket asking Ultra+ /cardmarket eBay sold valuation Pro+ /sold eBay by marketplace Ultra+ /marketplaces Individual sales Ultra+ /sales
Grey is a quote, blue is asking prices, green is completed sales. Each layer down is narrower and closer to the evidence.
Kinds of card price, the endpoint for each, plan, unit cost and freshness
NumberWhat it isEndpointPlan · unitsFreshness field
Market quoteOne figure per grade from the market chosen by priority: TCGplayer's market price first for USD, Cardmarket first for EUR. The market is named.GET /v1/cards/{id}/priceFree · 1updated_at, hours_ago
Cardmarket askingCheapest and median visible offer per Cardmarket grade, language and finish, in EUR.GET /v1/cards/{id}/cardmarketUltra · 1as_of; no figure after 60 days
eBay sold valuationRecency-weighted median of completed eBay sales over 60 days, blended across sites, per grade.GET /v1/cards/{id}/soldPro · 1last_sold, comps_7d, updated_at
eBay by marketplaceThe same median for each of 8 domestic eBay sites, in that site's currency.GET /v1/cards/{id}/marketplacesUltra · 1per row
Individual salesEach completed sale: date, site, price as paid, format, title, listing link.GET /v1/cards/{id}/salesUltra · 1sold_date

Current market quotes

/price is what most apps start with, and it is on every plan. It returns one quote per grade. For ungraded cards that is the market chosen by a fixed priority, and market says which one it was. Read market, not the deprecated source. A quote is served only at a confidence score of 70 or more, and /price carries reverse-holo and 1st Edition figures under finishes. On Ultra, markets[] gives every market's own figure, winner first.

Use it for: the headline number on a card page and collection totals. Do not use it as "what this sold for". Depending on the market it is a marketplace's own market price or an asking price. See which market a price came from.

Cardmarket asking prices

/cardmarket answers "what do European sellers want for this card, in this condition, in this language?" For each language, finish and Cardmarket grade (MT, NM, EX, GD, LP, PL, PO) it returns the cheapest visible offer, the median of the visible offers, the number of offers and the copies on sale. Each language carries the time the page was read (as_of).

  • Coverage: English and Japanese Pokémon singles from €2, English One Piece singles from €2, English Pokémon sealed from €10, and German, Spanish and Italian copies of English Pokémon singles from €5 Near Mint in that language (daily_lowest_near_mint adds the cheapest Near Mint copy in those three languages every morning, on any card listed in them). Anything else returns coverage: "not_covered", a 200, never a guess.
  • Freshness: after 60 days without a read the card is stale and no figure is sent. History (/cardmarket/history, 2 units) starts on 18 October 2026.
  • Page cap: Cardmarket shows at most 50 offers. With page_capped: true the median is of the 50 cheapest. A missing grade may only be offered higher; it is not necessarily absent.

Full field reference: Cardmarket prices by condition.

eBay completed-sale valuations

/sold answers "what have buyers actually paid?". Per grade, it returns a recency-weighted median of completed eBay sales over 60 days (each sale's weight halves every 14 days), blended across the sites that have sales. Next to the price it carries the evidence: sample_size, comps_7d, comps_30d, range_30d, last_sold and a confidence score. A sold price is published from a score of 50, and novelty, proxy and imitation listings are kept out of it. primary_marketplace and marketplace_count say where the sales came from.

One subtlety: the eBay RAW figure covers ungraded sales except heavily played and damaged ones. That is near mint, lightly and moderately played copies, and the ones whose title names no condition. It is a different population from a Cardmarket Near Mint asking median, so expect the two to differ.

Individual sales

/sales lists the sales themselves, newest first. Each row has the date, site, grade, finish, language, the price as paid in the site's currency (native), the converted price and the rate used (fx), auction or fixed price, bid count, the listing title and a link. Use it when a series is thin (a low sample_size or a wide range_30d), or to let users check a figure themselves.

Two caveats you should pass on to users:

  • Best offers: a sale closed by best offer is flagged best_offer_accepted: true. On ebay.com, ebay.co.uk and ebay.de it usually carries the accepted amount; otherwise it shows the listed price, with price_confirmed: false. Those sales are counted in the medians.
  • Seller location: a sale on a site is a sale listed on that site. Some sales on ebay.co.uk come from sellers abroad, and the row does not record the seller's country.

Condition and language

How condition and language work on the Cardmarket and eBay endpoints
Cardmarket (/cardmarket)eBay (/sold, /marketplaces, /sales)
Condition scaleCardmarket's seven grades, MT to PO, always all returnedWhat the title states: ?condition=nm|lp|mp|hp|dmg (Pro+), ungraded only
Mappingus_grade on each row, for orientation only. Cardmarket's LP is below EX and GD.A title naming two conditions takes the worse one
Language?language=en|ja|de|es|it: only offers in that language?language=EN|JA|DE|FR|IT|ES|ZH, part of the key: a German copy on ebay.de is never mixed with an English one. /sold pools DE, ES and IT across all eight sites
DefaultEvery covered language/sold: the card's default language. /marketplaces and /sales: every language
No datacoverage says whyAn empty result, not an error

French, German, Italian and Spanish printings share the English card id, so their sold prices come through ?language=. Japanese and Chinese Pokémon are separate catalogues with their own ids. Our research on what lightly played costs and how wrong an asking price is shows why these splits matter.

Working requests

Base Set Charizard (4/102), from the cheapest call to the most detailed. Every endpoint runs in the playground without a key.

KEY="X-API-Key: $FLIPZI_API_KEY"
CARD=aeb7e5d7-806a-4833-a15e-a056182968f3   # Charizard, Base Set 4/102

# 1. Current market quote, with the market that quoted it          (every plan)
curl -H "$KEY" "https://data.flipzi.io/v1/cards/$CARD/price?currency=eur"

# 2. Cardmarket asking prices per grade, English listings          (Ultra and above)
curl -H "$KEY" "https://data.flipzi.io/v1/cards/$CARD/cardmarket?language=en"

# 3. eBay completed-sale valuation per grade, blended              (Pro and above)
curl -H "$KEY" "https://data.flipzi.io/v1/cards/$CARD/sold?currency=eur"

# 4. The same, raw copies stated Near Mint only                     (Pro and above)
curl -H "$KEY" "https://data.flipzi.io/v1/cards/$CARD/sold?condition=nm"

# 5. The individual sales behind it, one eBay site                  (Ultra and above)
curl -H "$KEY" "https://data.flipzi.io/v1/cards/$CARD/sales?marketplace=ebay_uk&period=30d"

A price panel that requests what the key's plan allows and leaves out what it does not. It is tested against captured responses whenever this page changes:

// price-panel.mjs: one card, every kind of price the key's plan allows.
const BASE = process.env.FLIPZI_BASE ?? "https://data.flipzi.io/v1";
const headers = { "X-API-Key": process.env.FLIPZI_API_KEY };

async function get(path, params = {}) {
  const url = new URL(BASE + path);
  for (const [k, v] of Object.entries(params)) url.searchParams.set(k, String(v));
  const res = await fetch(url, { headers });
  const body = await res.json();
  // A plan that lacks a feature answers 403 PLAN_FEATURE_LOCKED: show the
  // panel without that section rather than failing the whole page.
  if (res.status === 403 && body.error?.code === "PLAN_FEATURE_LOCKED") return null;
  if (!res.ok) throw new Error(`${res.status} ${body.error?.code}`);
  return body.data;
}

const fmt = (cents) => (cents == null ? "n/a" : (cents / 100).toFixed(2));

export async function pricePanel(cardId) {
  const [quote, asking, sold] = await Promise.all([
    get(`/cards/${cardId}/price`, { currency: "eur" }),
    get(`/cards/${cardId}/cardmarket`, { language: "en" }),
    get(`/cards/${cardId}/sold`, { currency: "eur" }),
  ]);

  const raw = quote.prices.find((p) => p.grade === "RAW");
  const panel = {
    quote: raw && { eur: fmt(raw.price_cents), market: raw.market, type: raw.valuation_type },
  };

  if (asking?.coverage === "covered") {
    const en = asking.languages.find((l) => l.language === "en");
    const std = en?.finishes.find((f) => f.finish === "standard");
    panel.cardmarketAsking = std?.conditions.map((c) => ({
      grade: c.grade, median: fmt(c.median_cents), offers: c.offers,
    }));
    panel.cardmarketAsOf = en?.as_of;
  }

  const rawSold = sold?.sold.find((s) => s.grade === "RAW");
  if (rawSold) {
    panel.ebaySold = {
      eur: fmt(rawSold.price_cents),
      sampleSize: rawSold.sample_size,
      comps30d: rawSold.comps_30d,
      marketplaces: rawSold.marketplace_count,
      lastSold: rawSold.last_sold?.date,
    };
  }
  return panel;
}

console.log(JSON.stringify(await pricePanel("aeb7e5d7-806a-4833-a15e-a056182968f3"), null, 2));

A plan that lacks a feature gets 403 PLAN_FEATURE_LOCKED with required_feature and next_plan in details. The panel treats that as "section hidden", so one integration works on every plan.

Showing them honestly

  • Label the kind of number. "Asking on Cardmarket" and "Sold on eBay" are different claims. Never put both under one "Price" heading.
  • Show the evidence. A sold price with sample_size 2 is not the same as one with 200. Show the count, or hide figures under a threshold you choose.
  • Show the date. as_of, last_sold.date and hours_ago are there to be shown.
  • Keep currencies honest. Cardmarket is EUR. eBay rows carry the site's own currency in native; convert once and say so.
  • Attribution: crediting Flipzi is appreciated, not required (see the Terms of Service).

Plans and unit costs are on API pricing. For per-country detail, continue with country-specific eBay sold prices.

Try it before you decide

Every endpoint in this guide runs in the playground against production data — no signup, no key, including the paid tiers.

Open the playground Compare all 13 APIs Switching? Migration guides

Straight answers

Is a Cardmarket price what a card sold for?
No. A Cardmarket figure on Flipzi is an asking price: what sellers list the card at. For what cards sold for, use the eBay completed-sale endpoints. The two are often far apart, and showing them side by side is more useful than either alone.
Are Cardmarket grades the same as eBay conditions?
No. Cardmarket has seven grades (Mint to Poor) and its Light Played ranks below Excellent and Good. eBay conditions are what the seller wrote in the title (near mint, lightly played, and so on). Each Cardmarket row carries a us_grade for orientation only; do not merge the two scales.
Which plan do I need?
Current market quotes are on every plan, the free one included. eBay sold valuations, condition filters and graded prices start at Pro. Per-marketplace eBay rows, individual sales and Cardmarket asking prices by condition and language are Ultra and above. Every call can be tried in the playground with no key.
Which languages do the Cardmarket condition prices cover?
English and Japanese listings: English and Japanese Pokémon singles from €2, English One Piece singles from €2, and English Pokémon sealed products from €10. German, Spanish and Italian listings: the copies of English Pokémon singles in those languages, on the same card id, when the cheapest Near Mint copy in that language is €5 or more. Anything else returns coverage not_covered.