{
  "openapi": "3.0.1",
  "info": {
    "title": "Collectr Scraper – Pokémon, TCG & Sealed Prices",
    "description": "Scrape Collectr prices for Pokémon and other supported games. Find cards and sealed boxes by keyword, card number, or set link. Export prices, variants, set details, and images to JSON or CSV, with optional currency conversion. Supports MCP and scheduled price snapshots. Up to 30 results per search.",
    "version": "0.0",
    "x-build-id": "YidCuNcbA8S5xgoG4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ozer-studio~Collectr-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ozer-studio-Collectr-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/ozer-studio~Collectr-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-ozer-studio-Collectr-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/ozer-studio~Collectr-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ozer-studio-Collectr-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": {
          "searchTerms": {
            "title": "Card name, number, or keyword",
            "maxItems": 20,
            "type": "array",
            "description": "One query per line: a name (mew), collector number (157/128), or combined name and number (Mewtwo 157/128). Numbers can match different sets; use category and inspect set_name and variant. A set-name keyword can return related products and does not download the complete set. Clear this field when using only links. Empty input uses mew.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 250
            }
          },
          "searchUrls": {
            "title": "Collectr search or set links",
            "maxItems": 20,
            "type": "array",
            "description": "Paste public search or /sets/category/ID/SLUG?groupId=ID links. Set links may omit query; add query to monitor a specific card within that set. cardType=cards selects cards; cardType=sealed selects boxes, packs, and bundles. Explicit link filters override Actor options. First 30 source records only; no complete-set guarantee. Clear the example keyword when using only links.",
            "items": {
              "type": "string",
              "pattern": "^https://app\\.getcollectr\\.com/(?:\\?|sets/category/[0-9]+/[A-Za-z0-9_-]+/?\\?)"
            }
          },
          "maxItemsPerSearch": {
            "title": "Maximum products per search",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Default: 20 priced product variants per keyword or link. Up to 30 source records on the first public search or set page; missing prices are skipped. No complete-set or pagination claim.",
            "default": 20
          },
          "category": {
            "title": "Game / category",
            "enum": [
              "all",
              "10002",
              "3",
              "1",
              "2",
              "68",
              "71",
              "62",
              "89",
              "80",
              "91",
              "92",
              "63",
              "20",
              "81",
              "79",
              "77",
              "17",
              "16",
              "74",
              "24",
              "73",
              "65",
              "57",
              "26",
              "10000",
              "25",
              "10001",
              "27",
              "29",
              "86",
              "67",
              "72",
              "87",
              "83",
              "23",
              "10003",
              "66"
            ],
            "type": "string",
            "description": "All supported games by default. A category filter already present in a pasted search link takes precedence.",
            "default": "all"
          },
          "productType": {
            "title": "Product type",
            "enum": [
              "cards",
              "sealed",
              "all"
            ],
            "type": "string",
            "description": "Cards, sealed products (including booster boxes, packs, and bundles), or both. An explicit cardType in a pasted URL takes precedence; remove or change cardType=cards to request sealed products.",
            "default": "cards"
          },
          "currency": {
            "title": "Output currency",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "JPY",
              "CHF",
              "CNY",
              "HKD",
              "SGD",
              "NZD",
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYN",
              "BZD",
              "CDF",
              "CLF",
              "CLP",
              "CNH",
              "COP",
              "CRC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "FJD",
              "FKP",
              "FOK",
              "GEL",
              "GGP",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "IMP",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JEP",
              "JMD",
              "JOD",
              "KES",
              "KGS",
              "KHR",
              "KID",
              "KMF",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRU",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SHP",
              "SLE",
              "SLL",
              "SOS",
              "SRD",
              "SSP",
              "STN",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TVD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "UYU",
              "UZS",
              "VES",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XCD",
              "XCG",
              "XDR",
              "XOF",
              "XPF",
              "YER",
              "ZAR",
              "ZMW",
              "ZWG",
              "ZWL"
            ],
            "type": "string",
            "description": "USD by default. Other currencies are converted with daily ExchangeRate-API rates. Source USD prices and the rate timestamp remain in every row; converted amounts can differ from Collectr’s own currency display.",
            "default": "USD"
          },
          "priceMode": {
            "title": "Price data",
            "enum": [
              "current",
              "current_and_change"
            ],
            "type": "string",
            "description": "Current prices by default. The optional comparison mode adds the older price and change values exposed by the public search page. These are not historical time series or separate graded-card valuations; the source does not identify the comparison period.",
            "default": "current"
          },
          "saveCsvFile": {
            "title": "Save CSV file",
            "type": "boolean",
            "description": "Save collectr_results.csv in the run’s key-value store when rows are available. Structured dataset output is always written.",
            "default": true
          },
          "failOnNoResults": {
            "title": "Fail when no products are returned",
            "type": "boolean",
            "description": "Enabled by default so blocked or empty runs do not appear to have produced data. Disable for batch workflows that accept an empty dataset; RUN_SUMMARY.json still records the outcome.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Optional proxy configuration",
            "type": "object",
            "description": "Optional Apify or custom proxies. Omit to use direct requests. The actor never selects a paid proxy group automatically."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}