Cardmarket Offers API
Retrieve Cardmarket offers by product URL or ID and game via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, raw, url, and retrieve structured data including cardmarket product identifier, source price currency, seller listing price, listed card condition, and listed card language for listing comparison, and collection catalogue.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Cardmarket Offers API
Prepare your request, then continue with your agent.
Pricing
$0.002 / billing credit
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
Cardmarket Offers API
Select url or id with game, then apply the documented seller, language, condition and printing filters. Offers identify individual listings; guide statistics and historical averages are separate product-level values.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Choose the lookup or search inputs described below. Optional: url, id, game, language, seller_country, seller_type, min_condition, foil, signed, altered, first_edition, reverse_holo, playset, min_quantity. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks. |
| Selected implementation | apish · Cardmarket offers API |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Listing comparison: Keep condition, language and seller with every listed price.
- Collection catalogue: Connect product identity to source market and guide references.
Returned Data
| Field | Meaning |
|---|---|
id |
Cardmarket product identifier |
currency |
Source price currency |
offers[].price |
Seller listing price |
offers[].condition_code |
Listed card condition |
offers[].language |
Listed card language |
offers[].seller.username |
Seller account name |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode output=json \
--data-urlencode raw=0 \
--data-urlencode url=https://www.cardmarket.com/en/Magic/Products/Singles/Alpha/Black-Lotus
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published Cardmarket Offers API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Cardmarket offers API · GET · View API reference | $0.002 / billing credit | 0 | —successP50— |
- Pricing
- $0.002
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | URL query parametersquery | string | No | Product page link on cardmarket.com (or its path). |
id | URL query parametersquery | string | No | Product id instead of url (with game). |
game | URL query parametersquery | string | No | 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). |
language | URL query parametersquery | string | No | Card language(s), comma-separated: names (english, french, german, spanish, italian, japanese, portuguese, russian, korean, s-chinese, t-chinese) or ids 1-11. |
seller_country | URL query parametersquery | string | No | Seller country/countries: two-letter codes (DE, FR, IT, ES, GB, NL, AT, BE ...) or Cardmarket country ids, comma-separated. |
seller_type | URL query parametersquery | string | No | private, professional, powerseller (comma-separated) or ids 0-2. |
min_condition | URL query parametersquery | string | No | Lowest condition: MT, NM, EX, GD, LP, PL, PO (or 1-7). |
foil | URL query parametersquery | boolean | No | true or false (games with foil printings). |
signed | URL query parametersquery | boolean | No | true or false. |
altered | URL query parametersquery | boolean | No | true or false. |
first_edition | URL query parametersquery | boolean | No | true or false (Yu-Gi-Oh! and other games with first editions). |
reverse_holo | URL query parametersquery | boolean | No | true or false (Pokemon). |
playset | URL query parametersquery | boolean | No | true or false (Magic playsets of four). |
min_quantity | URL query parametersquery | integer | No | Only offers with at least this many copies (1-40). |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. enum: "json" |
records | URL query parametersquery | string | No | Native CSV/NDJSON record selector; it has no effect on this JSON-only product. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
available_itemsintegeravg_1dintegeravg_30dnumberavg_7dnumbercachedbooleancredits_usedintegercurrencystringexpansionobjectnamestringurlstring
fetched_atstringfrom_priceintegergamestringidintegerimagestringmore_offers_hiddenbooleannamestringoffersobject[]commentstring | nullconditionstringcondition_codestringcurrencystringextrasstring[]idintegeritem_locationstringlanguagestringpriceintegerquantityintegerscan_imagestring | nullsellerobjectavailable_itemsintegersalesintegertypestringurlstringusernamestring
price_historyobject[]avg_sell_pricenumberdatestring
price_trendnumberraritystringrules_textstringsubtitlestringurlstringversionsobjectcountintegerurlstring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Recorded API.SH response · Exact minimal requ
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 19
Review these request fields before running. Keep the published provider and request method unchanged.
url- Product page link on cardmarket.com (or its path).
id- Product id instead of url (with game).
game- 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).
language- Card language(s), comma-separated: names (english, french, german, spanish, italian, japanese, portuguese, russian, korean, s-chinese, t-chinese) or ids 1-11.
seller_country- Seller country/countries: two-letter codes (DE, FR, IT, ES, GB, NL, AT, BE ...) or Cardmarket country ids, comma-separated.
seller_type- private, professional, powerseller (comma-separated) or ids 0-2.
min_condition- Lowest condition: MT, NM, EX, GD, LP, PL, PO (or 1-7).
foil- true or false (games with foil printings).
signed- true or false.
altered- true or false.
first_edition- true or false (Yu-Gi-Oh! and other games with first editions).
reverse_holo- true or false (Pokemon).
playset- true or false (Magic playsets of four).
min_quantity- Only offers with at least this many copies (1-40).
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
records- Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers?output=json&raw=0&url=https%3A%2F%2Fwww.cardmarket.com%2Fen%2FMagic%2FProducts%2FSingles%2FAlpha%2FBlack-Lotus' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "available_items": 9, "avg_1d": 15800, "avg_30d": 11535.95, "avg_7d": 24192.86, "cached": false, "credits_used": 1, "currency": "EUR", "expansion": { "name": "Alpha", "url": "https://www.cardmarket.com/en/Magic/Expansions/Alpha" }, "fetched_at": "2026-11-20T05:18:11.683Z", "from_price": 57500, "game": "magic", "id": 5465, "image": "https://product-images.s3.cardmarket.com/1/LEA/5465/5465.jpg", "more_offers_hidden": false, "name": "Black Lotus", "offers": [ { "comment": "HP, no ink or dmg, just well loved. Can take trades", "condition": "Played", "condition_code": "PL", "currency": "EUR", "extras": [], "id": 2152651398, "item_location": "Italy", "language": "English", "price": 57500, "quantity": 1, "scan_image": "https://marketplace-article-scans.s3.cardmarket.com/2152651398/2152651398.jpg", "seller": { "available_items": 1, "sales": 0, "type": "Private", "url": "https://www.cardmarket.com/en/Magic/Users/Freud88", "username": "Freud88" } }, { "comment": "Can trade, PM. Make an offer.", "condition": "Good", "condition_code": "GD", "currency": "EUR", "extras": [ "Signed" ], "id": 2047797969, "item_location": "Croatia", "language": "English", "price": 63880, "quantity": 1, "scan_image": null, "seller": { "available_items": 32141, "sales": 67013, "type": "Professional", "url": "https://www.cardmarket.com/en/Magic/Users/Bronhy", "username": "Bronhy" } }, { "comment": "ask for more info , trade possible", "condition": "Played", "condition_code": "PL", "currency": "EUR", "extras": [], "id": 1935201553, "item_location": "Belgium", "language": "English", "price": 64999, "quantity": 1, "scan_image": null, "seller": { "available_items": 949362, "sales": 65044, "type": "Professional", "url": "https://www.cardmarket.com/en/Magic/Users/RetroMagic", "username": "RetroMagic" } }, { "comment": ">>Magic-Style<< (Make offer)", "condition": "Excellent", "condition_code": "EX", "currency": "EUR", "extras": [], "id": 1272265904, "item_location": "France", "language": "English", "price": 74990, "quantity": 1, "scan_image": "https://marketplace-article-scans.s3.cardmarket.com/1272265904/1272265904.jpg", "seller": { "available_items": 1621, "sales": 3565, "type": "Professional", "url": "https://www.cardmarket.com/en/Magic/Users/Magic-Style", "username": "Magic-Style" } }, { "comment": "Graded 5,5 Top gem from personal collection", "condition": "Excellent", "condition_code": "EX", "currency": "EUR", "extras": [], "id": 2061533962, "item_location": "Netherlands", "language": "English", "price": 82500, "quantity": 1, "scan_image": "https://marketplace-article-scans.s3.cardmarket.com/2061533962/2061533962.jpg", "seller": { "available_items": 243, "sales": 335, "type": "Private", "url": "https://www.cardmarket.com/en/Magic/Users/cvansanten", "username": "cvansanten" } }, { "comment": null, "condition": "Near Mint", "condition_code": "NM", "currency": "EUR", "extras": [], "id": 1350737767, "item_location": "Sweden", "language": "English", "price": 169000, "quantity": 1, "scan_image": null, "seller": { "available_items": 2, "sales": 0, "type": "Private", "url": "https://www.cardmarket.com/en/Magic/Users/magicswede", "username": "magicswede" } }, { "comment": "Beautiful", "condition": "Near Mint", "condition_code": "NM", "currency": "EUR", "extras": [], "id": 2137930740, "item_location": "Spain", "language": "English", "price": 225000, "quantity": 1, "scan_image": "https://marketplace-article-scans.s3.cardmarket.com/2137930740/2137930740.jpg", "seller": { "available_items": 836092, "sales": 154728, "type": "Powerseller", "url": "https://www.cardmarket.com/en/Magic/Users/willybizarre", "username": "willybizarre" } }, { "comment": "Graded 9.5 Beautifull CGC 9.5 Alpha Black Lotus", "condition": "Mint", "condition_code": "MT", "currency": "EUR", "extras": [], "id": 1551471860, "item_location": "France", "language": "English", "price": 250000, "quantity": 1, "scan_image": null, "seller": { "available_items": 3917, "sales": 23294, "type": "Professional", "url": "https://www.cardmarket.com/en/Magic/Users/Magicboxx", "username": "Magicboxx" } }, { "comment": "BGS 9q+ : 10/9/9/9 (MBA silver sticker ! Top 15% eye appeal)", "condition": "Mint", "condition_code": "MT", "currency": "EUR", "extras": [], "id": 1314650591, "item_location": "France", "language": "English", "price": 275000, "quantity": 1, "scan_image": "https://marketplace-article-scans.s3.cardmarket.com/1314650591/1314650591.jpg", "seller": { "available_items": 3917, "sales": 23294, "type": "Professional", "url": "https://www.cardmarket.com/en/Magic/Users/Magicboxx", "username": "Magicboxx" } } ], "price_history": [ { "avg_sell_price": 1050, "date": "2009-12-07" }, { "avg_sell_price": 1399, "date": "2010-11-02" }, { "avg_sell_price": 4800, "date": "2010-12-21" }, { "avg_sell_price": 1000, "date": "2011-10-05" }, { "avg_sell_price": 1800, "date": "2011-12-22" }, { "avg_sell_price": 2199.99, "date": "2012-07-17" }, { "avg_sell_price": 2500, "date": "2013-06-05" }, { "avg_sell_price": 3200, "date": "2013-11-14" }, { "avg_sell_price": 4350, "date": "2015-03-06" }, { "avg_sell_price": 13000, "date": "2015-10-05" }, { "avg_sell_price": 9300, "date": "2015-10-20" }, { "avg_sell_price": 16842, "date": "2017-07-06" }, { "avg_sell_price": 8000, "date": "2017-11-21" }, { "avg_sell_price": 7500, "date": "2018-04-25" }, { "avg_sell_price": 12999.99, "date": "2018-07-04" }, { "avg_sell_price": 21000, "date": "2019-10-29" }, { "avg_sell_price": 2800, "date": "2020-02-09" }, { "avg_sell_price": 5000, "date": "2022-01-01" }, { "avg_sell_price": 57750, "date": "2025-10-15" }, { "avg_sell_price": 54000, "date": "2026-07-17" }, { "avg_sell_price": 15800, "date": "2026-08-20" } ], "price_trend": 33768.47, "rarity": "Rare", "rules_text": "{T}, Sacrifice Black Lotus: Add three mana of any one color.", "subtitle": "Alpha - Singles", "url": "https://www.cardmarket.com/en/Magic/Products/Singles/Alpha/Black-Lotus", "versions": { "count": 7, "url": "https://www.cardmarket.com/en/Magic/Cards/Black-Lotus/Versions" } }