{
  "openapi": "3.0.1",
  "info": {
    "title": "Cardmarket Scraper - Card Prices, Trends, Sellers & Reviews",
    "description": "Scrape Cardmarket trading cards by keyword or URL. Extract price guides, trends, 30/7/1-day averages, daily price history, seller offers and prices. Includes seller ratings and customer feedback for market research, price monitoring and trading card analysis.",
    "version": "0.1",
    "x-build-id": "SnnH4km9NKKYXYwRg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/abotapi~cardmarket-com-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-abotapi-cardmarket-com-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/abotapi~cardmarket-com-scraper/runs": {
      "post": {
        "operationId": "runs-sync-abotapi-cardmarket-com-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/abotapi~cardmarket-com-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-abotapi-cardmarket-com-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "urls"
            ],
            "type": "string",
            "description": "Search mode walks the site's own keyword results for each entry in Search strings. URL mode walks the links you paste in URLs (product, expansion, search or seller pages).",
            "default": "search"
          },
          "game": {
            "title": "Game",
            "enum": [
              "Pokemon",
              "Magic",
              "YuGiOh",
              "OnePiece",
              "Lorcana"
            ],
            "type": "string",
            "description": "Which game section to search. In URL mode the pasted link's own game section wins over this setting.",
            "default": "Pokemon"
          },
          "searchStrings": {
            "title": "Search strings",
            "type": "array",
            "description": "Keyword search walk. Search mode needs at least one entry; each keyword walks the site's own result pages (30 cards per page).",
            "default": [
              "Blastoise ex"
            ],
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "Cardmarket links",
            "type": "array",
            "description": "URL mode: paste product pages (price guide + offer table), expansion listings, search-result links or seller pages (profile with feedback, or an Offers page). Every link shape the site emits is routed; links the actor cannot route are skipped with a warning, never misread.",
            "default": [
              "https://www.cardmarket.com/en/Pokemon/Products/Singles/151/Blastoise-ex-V3-MEW200",
              "https://www.cardmarket.com/en/Pokemon/Users/thenutworldwide/Offers/Singles",
              "https://www.cardmarket.com/en/Pokemon/Products/Singles/151"
            ],
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Fetch price guide per card",
            "type": "boolean",
            "description": "Search/expansion results then read each card's own page for the full price guide (trend, 30/7/1-day averages, daily chart series) and the seller offer table. Off = fast card rows only. Charged once per card whose page was actually read.",
            "default": true
          },
          "maxOffers": {
            "title": "Max offers per card",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "How many of the product page's seller offers (condition, language, seller, price) to embed in each product record. The page carries up to 50.",
            "default": 20
          },
          "fetchSellerFeedback": {
            "title": "Fetch seller feedback",
            "type": "boolean",
            "description": "For seller profile links: collect the customer feedback entries (buyer, date, per-category ratings, comments) nested in the seller record. Charged once per seller record that delivered feedback.",
            "default": true
          },
          "maxFeedback": {
            "title": "Max feedback entries per seller",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "How many feedback entries to collect per seller (20 per page; extra pages are read when you raise this). 0 skips feedback collection.",
            "default": 20
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the run after this many records. 0 or blank means no limit.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy settings. The site refuses ordinary datacenter and residential exits, so the actor automatically rides its backup connection when the default one is refused - on any paid plan that includes it. You can also bring your own proxy URLs.",
            "default": {
              "useApifyProxy": true
            }
          },
          "resumeFromRunId": {
            "title": "Resume from run ID",
            "type": "string",
            "description": "Continue one interrupted run: records the previous run already collected are skipped and not billed again. Cannot be combined with Incremental mode."
          },
          "incrementalMode": {
            "title": "Incremental mode",
            "type": "boolean",
            "description": "Recurring-update mode: remember the previous run of the same scope and label every record NEW / UPDATED / UNCHANGED / REAPPEARED / EXPIRED. Unchanged records are suppressed (not re-emitted, not re-billed) unless Emit unchanged records is on.",
            "default": false
          },
          "emitUnchanged": {
            "title": "Emit unchanged records",
            "type": "boolean",
            "description": "Incremental mode only: also emit records whose price data did not change since the previous run, labelled UNCHANGED.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit expired records",
            "type": "boolean",
            "description": "Incremental mode only: after a complete scan, emit a tombstone row (EXPIRED) for every previously-seen record that has disappeared from the source.",
            "default": false
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "Advanced: a stable name for this monitoring campaign's incremental state. Leave blank to key the state on the run scope automatically. Use separate keys to run differently-configured schedules that must not share a baseline."
          },
          "ignoreFieldsForChanges": {
            "title": "Ignore fields when detecting changes (incremental mode only)",
            "type": "array",
            "description": "Advanced: field names (top-level, or dotted paths like offers.price) that must never mark a record UPDATED. The run-scoped fields (source, position, scrapedAt, image URLs, fetched markers) are already ignored by default.",
            "items": {
              "type": "string"
            }
          },
          "mcpConnectors": {
            "title": "MCP connectors",
            "type": "array",
            "description": "Optional. Each selected connector receives a condensed summary per record; the full record always stays in the dataset. Leave empty to skip."
          },
          "maxNotifyListings": {
            "title": "Max items to export per connector",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many records each MCP connector export carries.",
            "default": 50
          },
          "notionParentPageUrl": {
            "title": "Notion parent page (Notion connector only)",
            "type": "string",
            "description": "Parent page URL when a Notion MCP connector is selected."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}