{
  "openapi": "3.0.1",
  "info": {
    "title": "Fanatics Collect Scraper",
    "description": "Scrape Fanatics Collect Weekly and Premier auction lots, Buy Now listings and sold prices with buyer's premium. Filter by category, grader, grade, price and keyword, and collect every matching lot.",
    "version": "1.0",
    "x-build-id": "aRIgcbxKZ8y4q2VLs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsebird~fanatics-collect-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsebird-fanatics-collect-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/parsebird~fanatics-collect-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parsebird-fanatics-collect-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/parsebird~fanatics-collect-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parsebird-fanatics-collect-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": [
              "weekly_auction",
              "premier_auction",
              "fixed_price",
              "past_auctions",
              "lot"
            ],
            "type": "string",
            "description": "Choose which part of Fanatics Collect to scrape. Active modes return lots open for bidding or for sale. <b>Past auctions</b> returns sold auction lots. <b>Lot URLs</b> returns the lots you paste below.",
            "default": "weekly_auction"
          },
          "lotUrls": {
            "title": "Lot URLs",
            "type": "array",
            "description": "Used only when Mode is <b>Lot URLs</b>. Paste Fanatics Collect lot links (weekly, premier or buy-now pages). Every URL is returned unless you set Max lots.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max lots",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many lots. 0 = every lot that matches (no result cap). Empty = 10. The live Weekly Auction holds tens of thousands of lots and the sold archive millions, so add filters when you use 0.",
            "default": 10
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Search lots the way you would describe the card, for example <code>Charizard 201/165</code> or <code>1986 Fleer Michael Jordan</code>. If your exact wording finds nothing, the closest search that does is used and shown in <code>matched_keyword</code>."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Keep lots from these top-level categories. Empty = all categories.",
            "items": {
              "type": "string",
              "enum": [
                "Sports Cards",
                "Trading Card Games",
                "Other",
                "Video Games",
                "Comics"
              ],
              "enumTitles": [
                "Sports Cards",
                "Trading Card Games",
                "Other (wax, memorabilia, tickets)",
                "Video Games",
                "Comics"
              ]
            }
          },
          "subcategories": {
            "title": "Subcategories",
            "type": "array",
            "description": "Enter Fanatics Collect subcategories, such as Basketball, Baseball, Football, Soccer, Pokemon, One Piece, Magic The Gathering or Yu-gi-oh!. Matching ignores case and accents, and <code>Pokemon</code> covers English, Japanese and other-language Pokémon. An unknown value stops the run and lists the closest names.",
            "items": {
              "type": "string"
            }
          },
          "graders": {
            "title": "Grading companies",
            "type": "array",
            "description": "Keep lots graded by these companies. <b>Ungraded</b> listings are found in Buy Now. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "PSA",
                "PSA/DNA",
                "BGS",
                "BVG",
                "SGC",
                "CGC",
                "CSG",
                "Other",
                "Ungraded"
              ],
              "enumTitles": [
                "PSA",
                "PSA/DNA (autographs)",
                "BGS (Beckett)",
                "BVG (Beckett Vintage)",
                "SGC",
                "CGC",
                "CSG",
                "Other approved graders",
                "Ungraded"
              ]
            }
          },
          "status": {
            "title": "Status",
            "enum": [
              "Live",
              "Sold",
              "Any"
            ],
            "type": "string",
            "description": "Live lots, sold lots or both. Empty keeps what the mode implies: Live for the active modes, Sold for Past auctions. Fixed Price with Sold returns sold Buy Now listings."
          },
          "marketplace": {
            "title": "Marketplace",
            "enum": [
              "auctions",
              "buynow",
              "all"
            ],
            "type": "string",
            "description": "Override the marketplace the mode picks: auctions (Weekly and Premier), Buy Now or all. With <b>All</b> and status <b>Any</b> one run searches everything."
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep lots at or above this price: the current bid for live auction lots, the asking price for Buy Now, or the sold price (before buyer's premium) for sold lots."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep lots at or below this price (same price as Min price)."
          },
          "minGrade": {
            "title": "Min grade",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keep graded lots with a numeric grade at or above this value, for example 9.5. Ungraded and Authentic lots are left out."
          },
          "maxGrade": {
            "title": "Max grade",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Keep graded lots with a numeric grade at or below this value."
          },
          "closingAuctionOnly": {
            "title": "Only the Weekly Auction closing next",
            "type": "boolean",
            "description": "Weekly Auction only. Two weekly auctions are live at the same time. Turn this on to keep only the lots of the auction that closes next, so a weekly schedule returns each lot once.",
            "default": false
          },
          "cursor": {
            "title": "Continue from cursor",
            "type": "string",
            "description": "Continue where a previous run stopped. When a run stops at Max lots with more lots left, it saves a <code>NEXT_CURSOR</code> record in its Key-value store. Paste it here and keep the same mode and filters."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}