{
  "openapi": "3.0.1",
  "info": {
    "title": "Goldin Scraper | Auction Results, Sold Prices and Live Lots",
    "description": "Goldin scraper for sports card and collectibles auction results: 100 sold lots in 5 seconds, 38 fields each. Get hammer price, price with buyer's premium, sale date, bids, page views, grader, grade, cert number and card number. Search by keyword, auction or lot URL, live lots too. No account needed.",
    "version": "1.0",
    "x-build-id": "QJZBBhN2cv1JNvEoK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~goldin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-goldin-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/silentflow~goldin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-goldin-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/silentflow~goldin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-goldin-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": {
          "keywords": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Players, cards, sets or cert numbers, one per line, searched like Goldin's own search box. Example: <code>michael jordan</code>, <code>1999 pokemon charizard</code>, <code>topps chrome</code>. Each keyword returns up to <b>Max lots</b> rows; a lot found by two keywords is returned once.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Goldin URLs",
            "type": "array",
            "description": "Links copied from goldin.co:<ul><li>a lot: <code>goldin.co/item/...</code> (always returned, whatever Max lots says)</li><li>a whole auction: <code>goldin.co/auction/...</code> (its results once closed, its live lots while it runs)</li><li>a search or browse page with its filters: <code>goldin.co/buy?...</code></li></ul>",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "status": {
            "title": "📦 Lots to scrape",
            "enum": [
              "sold",
              "live",
              "marketplace"
            ],
            "type": "string",
            "description": "<b>Sold</b>: Goldin's archive of past auction results, the comps (more than 770,000 sold lots). <b>Live</b>: lots open for bidding now, with the current bid and the closing time. <b>Marketplace</b>: fixed-price listings you can buy now or make an offer on.",
            "default": "sold"
          },
          "maxItems": {
            "title": "🔢 Max lots per keyword",
            "minimum": 1,
            "type": "integer",
            "description": "The most rows each keyword, auction link or search link returns. A lot link always returns its row. Goldin shows 20,000 lots per search; above that, set a higher number and the run reads the rest price range by price range.",
            "default": 100
          },
          "sortBy": {
            "title": "↕️ Sort by",
            "enum": [
              "default",
              "newest",
              "ending_soonest",
              "price_desc",
              "price_asc",
              "most_bids",
              "most_viewed",
              "relevance"
            ],
            "type": "string",
            "description": "<b>Best for the lots</b> gives the newest sales first for sold lots and the lots closing soonest for live ones.",
            "default": "default"
          },
          "categories": {
            "title": "🏀 Sports and categories",
            "type": "array",
            "description": "Keep lots of these sports or categories, as Goldin names them: <code>Basketball</code>, <code>Baseball</code>, <code>Football</code>, <code>Soccer</code>, <code>Pokemon</code>, <code>Marvel</code>, <code>Star Wars</code>, or the top level <code>Sport</code> / <code>Non-Sport</code>. Case does not matter.",
            "items": {
              "type": "string"
            }
          },
          "itemTypes": {
            "title": "🃏 Item types",
            "type": "array",
            "description": "Keep these item types: <code>Single Cards</code>, <code>Cases/Boxes/Packs</code>, <code>Comics</code>, <code>Game-Used Memorabilia</code>, <code>Memorabilia</code>, <code>Graded Magazines</code>, <code>Tickets and Passes</code>, <code>Video Games</code>...",
            "items": {
              "type": "string"
            }
          },
          "graders": {
            "title": "🏅 Grading companies",
            "type": "array",
            "description": "Keep slabs from these grading companies. Beckett includes BGS, CGC includes Signature Series. Empty keeps every lot, graded or not.",
            "items": {
              "type": "string",
              "enum": [
                "PSA",
                "PSA/DNA",
                "Beckett",
                "SGC",
                "CGC",
                "TAG",
                "CSG",
                "WATA",
                "CBCS",
                "JSA",
                "Other",
                "Ungraded"
              ],
              "enumTitles": [
                "PSA",
                "PSA/DNA (autographs)",
                "Beckett (BGS, BVG)",
                "SGC",
                "CGC",
                "TAG",
                "CSG",
                "WATA (video games)",
                "CBCS (comics)",
                "JSA (autographs)",
                "Other graders",
                "Ungraded (raw)"
              ]
            }
          },
          "minGrade": {
            "title": "⬆️ Min grade",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Only slabs graded at least this, for example <code>9</code> for PSA 9 and PSA 10. Lots without a numeric grade are left out."
          },
          "maxGrade": {
            "title": "⬇️ Max grade",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Only slabs graded at most this, for example <code>8</code> to price mid-grade copies."
          },
          "yearMin": {
            "title": "📅 Card year from",
            "minimum": 1850,
            "maximum": 2100,
            "type": "integer",
            "description": "Only cards and items from this year on, for example <code>1986</code>."
          },
          "yearMax": {
            "title": "📅 Card year to",
            "minimum": 1850,
            "maximum": 2100,
            "type": "integer",
            "description": "Only cards and items up to this year, for example <code>1999</code>."
          },
          "rookiesOnly": {
            "title": "🌟 Rookies only",
            "type": "boolean",
            "description": "Only lots whose title says Rookie, RC or 1st Bowman.",
            "default": false
          },
          "autographedOnly": {
            "title": "✍️ Autographs only",
            "type": "boolean",
            "description": "Only signed lots: the title says Auto, Autograph, Signed or Signature, or Goldin marks the lot as autographed.",
            "default": false
          },
          "priceMin": {
            "title": "💲 Min price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only lots that sold (or currently stand) at this hammer price or more, before the buyer's premium."
          },
          "priceMax": {
            "title": "💲 Max price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only lots at this hammer price or less. Empty means no ceiling."
          },
          "soldAfter": {
            "title": "🗓️ Sold on or after",
            "type": "string",
            "description": "Sold lots only: keep sales from this day on (YYYY-MM-DD). Through the API, <code>30 days</code> or <code>6 months</code> also work."
          },
          "soldBefore": {
            "title": "🗓️ Sold on or before",
            "type": "string",
            "description": "Sold lots only: keep sales up to this day, included (YYYY-MM-DD)."
          },
          "auctionTier": {
            "title": "🏛️ Auction tier",
            "enum": [
              "all",
              "Weekly",
              "Elite",
              "Thematic"
            ],
            "type": "string",
            "description": "<b>Weekly</b> auctions carry most lots, <b>Elite</b> the high-end ones, <b>Thematic</b> the special sales (TCG, combat sports, pop culture).",
            "default": "all"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}