Cardmarket offers API
Use the Cardmarket offers API to retrieve seller offers with the source's listed prices and sale conditions. Choose the documented selection using supported source-page URL (url), source record ID (id); refine the result with card-game catalogue (game), language selector (language). Offer records carry the seller and pricing conditions visible on the marketplace, including product variants or sale terms supplied with that listing, rather than confirming a purchase or completed sale. Compare listed sellers, prices and sale conditions, then distinguish available offers from completed transactions. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
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
- Pricing
On this page
Overview
Cardmarket offers API
Use the Cardmarket offers API to retrieve seller offers with the source's listed prices and sale conditions. Choose the documented selection using supported source-page URL (url), source record ID (id); refine the result with card-game catalogue (game), language selector (language). Offer records carry the seller and pricing conditions visible on the marketplace, including product variants or sale terms supplied with that listing, rather than confirming a purchase or completed sale. Compare listed sellers, prices and sale conditions, then distinguish available offers from completed transactions. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
Cardmarket offers API
Purpose and returned data
Use the Cardmarket offers API to retrieve seller offers with the source's listed prices and sale conditions.
Compare listed sellers, prices and sale conditions, then distinguish available offers from completed transactions.
Returned field references: game, id, name, subtitle, url, rarity, expansion, versions, available_items, from_price.
Input selection and parameters
Choose the documented selection using supported source-page URL (url), source record ID (id); refine the result with card-game catalogue (game), language selector (language).
The table preserves the source’s parameter wording in English; names and wire values retain their native spelling. Product-specific output restrictions are included.
| Parameter | Type | Required | Meaning and constraints |
|---|---|---|---|
url | string | No | Product page link on cardmarket.com (or its path). |
id | string | No | Product id instead of url (with game). |
game | 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 | 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 | string | No | Seller country/countries: two-letter codes (DE, FR, IT, ES, GB, NL, AT, BE ...) or Cardmarket country ids, comma-separated. |
seller_type | string | No | private, professional, powerseller (comma-separated) or ids 0-2. |
min_condition | string | No | Lowest condition: MT, NM, EX, GD, LP, PL, PO (or 1-7). |
foil | boolean | No | true or false (games with foil printings). |
signed | boolean | No | true or false. |
altered | boolean | No | true or false. |
first_edition | boolean | No | true or false (Yu-Gi-Oh! and other games with first editions). |
reverse_holo | boolean | No | true or false (Pokemon). |
playset | boolean | No | true or false (Magic playsets of four). |
min_quantity | integer | No | Only offers with at least this many copies (1-40). |
raw | string | No | 0 leaves out the bulky raw source blocks (often 10-30x smaller). Allowed: 0, 1. |
fields | string | No | Comma-separated fields to return, e.g. posts.id,posts.title. Call metadata is always included. |
fresh | string | No | 1 skips the 24-hour cache and fetches live. Allowed: 1. |
output | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. Allowed: json. |
records | string | No | Native CSV/NDJSON record selector; it has no effect on this JSON-only product. |
Using OpenAny
Send this request to the OpenAny gateway with your OpenAny API key in the Authorization header. The query values below match the paired request example.
OpenAny request example
curl "https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers?url=https%3A%2F%2Fwww.cardmarket.com%2Fen%2FMagic%2FProducts%2FSingles%2FAlpha%2FBlack-Lotus&output=json&raw=0" \
-H "Authorization: Bearer <OPENANY_API_KEY>"This command illustrates the OpenAny request format. The response example below retains its stated provenance; it is not evidence that this gateway request was executed.
Response example
The examples panel preserves the complete API.SH response recorded for the exact request shown, without local shortening. raw=0 omits source raw blocks; paging, filters and any native fields projection define this request’s response scope. Valid empty results are retained as returned. This is an upstream recording; OpenAny gateway execution and settlement remain unverified.
Inspect the paired request and response in the Examples panel; that request fixes the filters, selected fields and pagination used for its response.
Usage and price
The price is USD 0.002 per actual credit reported in credits_used, with no fixed call fee. A zero-credit response has zero usage cost. This operation currently lists 1 credit(s) per call; up to USD 0.002 is reserved, and the final cost follows reported credits within that limit. Valid empty results, cache hits and lookups that return no match may still consume credits. Calls refused before running and supplier-side failures are free according to the source billing guide.
Coverage and limits
Requests have a 120-second time budget and an 8 MiB response limit. raw=0 omits bulky raw blocks; fields selects fields while retaining call metadata; fresh=1 bypasses the usual 24-hour cache. This product accepts only JSON output; CSV and NDJSON are not exposed.
Playground
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
available_items?: number;
avg_1d?: number;
avg_30d?: number;
avg_7d?: number;
cached?: boolean;
credits_used?: number;
currency?: string;
expansion?: {
name?: string;
url?: string;
};
fetched_at?: string;
from_price?: number;
game?: string;
id?: number;
image?: string;
more_offers_hidden?: boolean;
name?: string;
offers?: Array<{
comment?: string | null;
condition?: string;
condition_code?: string;
currency?: string;
extras?: Array<string>;
id?: number;
item_location?: string;
language?: string;
price?: number;
quantity?: number;
scan_image?: string | null;
seller?: {
available_items?: number;
sales?: number;
type?: string;
url?: string;
username?: string;
};
}>;
price_history?: Array<{
avg_sell_price?: number;
date?: string;
}>;
price_trend?: number;
rarity?: string;
rules_text?: string;
subtitle?: string;
url?: string;
versions?: {
count?: number;
url?: string;
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent Cardmarket offers API · GET · View API reference | $0.002 / billing credit | — | —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: 2. 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
curl \
'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'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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}
}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.
View API Markdown
# Cardmarket offers API
Use the Cardmarket offers API to retrieve seller offers with the source's listed prices and sale conditions. Choose the documented selection using supported source-page URL (url), source record ID (id); refine the result with card-game catalogue (game), language selector (language). Offer records carry the seller and pricing conditions visible on the marketplace, including product variants or sale terms supplied with that listing, rather than confirming a purchase or completed sale. Compare listed sellers, prices and sale conditions, then distinguish available offers from completed transactions. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
## Available implementations
apish · Cardmarket offers API: https://openany.si/markets/apis/capabilities/cardmarket-offers-api?offering=758d325f-3618-44c0-af71-b71c764a3291 · $0.002 / billing credit
## Selected API contract
Documentation: https://openany.si/apis/758d325f-3618-44c0-af71-b71c764a3291
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'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'
```
## API contract
```json
{
"resource_type": "api",
"name": "Cardmarket offers API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/cardmarket/v1/offers",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Product page link on cardmarket.com (or its path).",
"location": "query",
"name": "url",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Product id instead of url (with game).",
"location": "query",
"name": "id",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "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).",
"location": "query",
"name": "game",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Card language(s), comma-separated: names (english, french, german, spanish, italian, japanese, portuguese, russian, korean, s-chinese, t-chinese) or ids 1-11.",
"location": "query",
"name": "language",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Seller country/countries: two-letter codes (DE, FR, IT, ES, GB, NL, AT, BE ...) or Cardmarket country ids, comma-separated.",
"location": "query",
"name": "seller_country",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "private, professional, powerseller (comma-separated) or ids 0-2.",
"location": "query",
"name": "seller_type",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Lowest condition: MT, NM, EX, GD, LP, PL, PO (or 1-7).",
"location": "query",
"name": "min_condition",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "true or false (games with foil printings).",
"location": "query",
"name": "foil",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true or false.",
"location": "query",
"name": "signed",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true or false.",
"location": "query",
"name": "altered",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true or false (Yu-Gi-Oh! and other games with first editions).",
"location": "query",
"name": "first_edition",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true or false (Pokemon).",
"location": "query",
"name": "reverse_holo",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "true or false (Magic playsets of four).",
"location": "query",
"name": "playset",
"nullable": false,
"required": false,
"type": "boolean"
},
{
"description": "Only offers with at least this many copies (1-40).",
"location": "query",
"name": "min_quantity",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits consumed",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Recorded API.SH response · Exact minimal requ",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"output": "json",
"raw": "0",
"url": "https://www.cardmarket.com/en/Magic/Products/Singles/Alpha/Black-Lotus"
}
},
"response_body": {
"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"
}
}
}
]
}
```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" } }