{
  "openapi": "3.0.1",
  "info": {
    "title": "PriceCharting Scraper — Video Game, Pokémon Card & Comic Prices",
    "description": "Scrape PriceCharting price guides: video games, Pokémon & trading cards, comics, Funko, LEGO and coins. Loose, complete, new and every grade (PSA 10, BGS, CGC), UPC, release date, population, sold listings and price history. By search, set or URL. No login.",
    "version": "0.1",
    "x-build-id": "OYigOqjvfN1rNacSH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~pricecharting-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-pricecharting-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/yugenox~pricecharting-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-pricecharting-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/yugenox~pricecharting-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-pricecharting-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": {
          "queries": {
            "title": "🔎 Search terms",
            "type": "array",
            "description": "Products to look up, e.g. \"charizard\", \"super mario 64\", \"amazing spider-man 300\", \"funko darth vader\". Each term is one PriceCharting search and returns its best matches (PriceCharting shows the top 100 per search).",
            "items": {
              "type": "string"
            }
          },
          "sets": {
            "title": "📚 Sets / consoles",
            "type": "array",
            "description": "Whole sets or consoles, every product in them: the name from the set's PriceCharting URL (e.g. pokemon-base-set, nintendo-64, funko-pop-star-wars, magic-alpha) or the set URL itself. A plain name like \"Pokemon Base Set\" works too.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 PriceCharting URLs",
            "type": "array",
            "description": "Product pages (pricecharting.com/game/…), set pages (/console/…, sort in the URL is kept) or search pages (/search-products?q=…).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of products for the whole run, shared fairly between your search terms, sets and URLs. 0 = everything.",
            "default": 100
          },
          "includeDetails": {
            "title": "Full price guide and details",
            "type": "boolean",
            "description": "Open each product's page for the full price guide (every condition and grade: Grade 1 … 9.5, PSA 10, BGS 10, CGC 10, SGC 10 …; loose, item & box, complete, new, graded for games), price changes, sales volume, release date, publisher, UPC, ASIN, ePID, TCGplayer ID and the PSA / CGC population. Off = only the three prices shown in the search or set list (cheaper and faster).",
            "default": true
          },
          "includeSalesHistory": {
            "title": "Sold listings",
            "type": "boolean",
            "description": "Add the recent sold listings PriceCharting bases its prices on (date, condition / grade, title, sold price, marketplace, link), newest first. Turns on the full price guide.",
            "default": false
          },
          "maxSalesPerProduct": {
            "title": "Sold listings per product",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "How many sold listings to keep per product, newest first. 0 = all PriceCharting shows (up to a few hundred for popular cards).",
            "default": 20
          },
          "includePriceHistory": {
            "title": "Monthly price history",
            "type": "boolean",
            "description": "Add the month-by-month price of each condition / grade, as far back as PriceCharting tracks it (often 10+ years). Turns on the full price guide.",
            "default": false
          },
          "category": {
            "title": "Category (searches)",
            "enum": [
              "all",
              "video-games",
              "trading-cards",
              "comic-books",
              "funko-pops",
              "coins",
              "lego-sets"
            ],
            "type": "string",
            "description": "Limit search terms to one PriceCharting category.",
            "default": "all"
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "popularity",
              "name",
              "highest-price",
              "lowest-price",
              "change-dollar",
              "release-date"
            ],
            "type": "string",
            "description": "Order of the results. \"Price: low to high\" and \"Release date\" apply to sets only.",
            "default": "popularity"
          },
          "region": {
            "title": "Region (searches)",
            "enum": [
              "all",
              "ntsc",
              "pal",
              "japan"
            ],
            "type": "string",
            "description": "Limit search terms to one region's releases.",
            "default": "all"
          },
          "excludeVariants": {
            "title": "Exclude variants",
            "type": "boolean",
            "description": "Leave out variants (e.g. reverse holo, 1st edition, player's choice) and keep the main versions only.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}