Cardmarket seller shop offers
A seller's shop for one game and category: each offer with the product (id, name, link, expansion, rarity), condition, language, extras (foil, signed ...), comment, price (EUR), quantity and scan, plus on the first page the shop's filter values with counts (expansions, rarities, conditions, languages, foil, signed, altered). Filter by product name, comment text, expansion, rarity, language, condition, foil, signed, altered, first edition, reverse holo, price range and quantity range; sort by price or name. 20 offers per page; total_pages as the site shows it (e.g. 100+). Page with page; next_page is null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the Cardmarket API: 11 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
usernamerequired | string | Seller username or profile link. Example: Bronhy |
game | string | Game key (default magic): magic, pokemon, yugioh, one-piece, lorcana, flesh-and-blood, digimon, dragon-ball-super, star-wars-unlimited, riftbound, gundam, sorcery and the other games in /cardmarket/v1/games (aliases: mtg, ygo, fab). Example: magic |
category | string | singles (default), boosters, booster-boxes, displays, sets, theme-decks, starter-decks, box-sets, lots, elite-trainer-boxes, tins, accessories, deck-boxes, sleeves, playmats, binders, structure-decks, tournament-packs, collections. |
q | string | Product name words. |
comment | string | Words in the seller's comment. |
expansion | string | Expansion id (facets.expansions). |
rarity | string | Rarity id (facets.rarities). |
language | string | One language: english, french, german, spanish, italian, s-chinese, japanese, portuguese, russian, korean, t-chinese, or its id. |
condition | string | Lowest condition: MT, NM, EX, GD, LP, PL, PO (or 1-7). |
foil | boolean | true or false. |
signed | boolean | true or false. |
altered | boolean | true or false. |
first_edition | boolean | true or false. |
reverse_holo | boolean | true or false. |
price_min | number | Lowest price (EUR). |
price_max | number | Highest price (EUR). |
min_quantity | integer | Lowest quantity. |
max_quantity | integer | Highest quantity. |
sort | price_asc | price_desc | name_asc | name_desc | price_asc, price_desc, name_asc, name_desc. |
page | integer | Page number. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/cardmarket/v1/seller-offers?username=Bronhy&game=magic" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/cardmarket/v1/seller-offers",
params={"username": "Bronhy", "game": "magic"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/cardmarket/v1/seller-offers");
url.searchParams.set("username", "Bronhy");
url.searchParams.set("game", "magic");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).