{
  "openapi": "3.0.1",
  "info": {
    "title": "Throne Scraper",
    "description": "Scrape public Throne creator profiles and wishlists. Extract products, prices, brands, categories and merchants, analyze creator interests and sponsorship fit, and monitor wishlist changes.",
    "version": "0.1",
    "x-build-id": "H43Tsnemd5oQu0FFA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/huykenny~throne-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-huykenny-throne-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/huykenny~throne-scraper/runs": {
      "post": {
        "operationId": "runs-sync-huykenny-throne-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/huykenny~throne-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-huykenny-throne-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": [
              "profile",
              "batch",
              "discover",
              "search",
              "monitor"
            ],
            "type": "string",
            "description": "What the run does. Every mode reads public data over plain HTTP with no browser, which is why runs are cheap.",
            "default": "profile"
          },
          "outputLevel": {
            "title": "Output level",
            "enum": [
              "basic",
              "full",
              "intelligence"
            ],
            "type": "string",
            "description": "How much gets computed and written. Lower levels are cheaper and produce smaller rows.",
            "default": "full"
          },
          "creatorUrls": {
            "title": "Creator profiles",
            "type": "array",
            "description": "Throne profile URLs or plain usernames. All of these work: cirely, @cirely, throne.com/cirely, https://throne.com/cirely. Required for every mode except Discover.",
            "items": {
              "type": "string"
            }
          },
          "maxCreators": {
            "title": "Max creators",
            "minimum": 1,
            "maximum": 200000,
            "type": "integer",
            "description": "Hard cap on how many creators one run processes. In Discover mode this is how many usernames to collect.",
            "default": 20
          },
          "maxItemsPerCreator": {
            "title": "Max wishlist items per creator",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Cap per creator. When a wishlist hits the cap the row is flagged wishlistTruncated, and Monitor mode stops reporting removals for that creator — a missing item might just be beyond the cap.",
            "default": 500
          },
          "includeCollections": {
            "title": "Include wishlist collections",
            "type": "boolean",
            "description": "Fetch the creator's collections (the groups they sort items into). Costs one extra request per creator, so turn it off for large batches.",
            "default": true
          },
          "onlyWithPublicWishlist": {
            "title": "Discover: only creators with a public wishlist",
            "type": "boolean",
            "description": "Discover mode only. Skips accounts whose wishlist is not public — for this Actor they are a dead end. Turn it off to list every account that has a username.",
            "default": true
          },
          "filterBrands": {
            "title": "Only these brands",
            "type": "array",
            "description": "Search mode only. Case-insensitive brand names, for example Elgato or LEGO. Combined with the other filters as AND.",
            "items": {
              "type": "string"
            }
          },
          "filterCategories": {
            "title": "Only these categories",
            "type": "array",
            "description": "Case-insensitive category names from this Actor's taxonomy, for example Gaming, Streaming Equipment, Trading Cards, Beauty.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum item price",
            "minimum": 0,
            "type": "integer",
            "description": "In whole currency units (dollars, not cents). Items without a known price never pass a price filter."
          },
          "maxPrice": {
            "title": "Maximum item price",
            "minimum": 0,
            "type": "integer",
            "description": "In whole currency units. No currency conversion is performed anywhere in this Actor, so ranges only match items already in that currency."
          },
          "sponsorshipBrands": {
            "title": "Brands you represent",
            "type": "array",
            "description": "Scores each creator on how strongly they already want these brands. Requires the Intelligence output level.",
            "items": {
              "type": "string"
            }
          },
          "sponsorshipCategories": {
            "title": "Product categories you offer",
            "type": "array",
            "description": "Category names from this Actor's taxonomy.",
            "items": {
              "type": "string"
            }
          },
          "sponsorshipNiches": {
            "title": "Creator niches you target",
            "type": "array",
            "description": "For example Gaming & Streaming, Anime & Collectibles, Beauty & Lifestyle. Niches describe the goods in a wishlist, never the person.",
            "items": {
              "type": "string"
            }
          },
          "sponsorshipBudget": {
            "title": "Budget per gift",
            "minimum": 0,
            "type": "integer",
            "description": "In whole currency units. This is a hard gate: a creator with nothing in budget is reported as not a match, whatever their score."
          },
          "sponsorshipCurrency": {
            "title": "Budget currency",
            "type": "string",
            "description": "ISO 4217 code for the budget above. Defaults to USD.",
            "default": "USD"
          },
          "sponsorshipMinItems": {
            "title": "Minimum wishlist size",
            "minimum": 0,
            "type": "integer",
            "description": "Reject creators whose public wishlist has fewer items than this. Hard gate."
          },
          "sponsorshipMaxDaysInactive": {
            "title": "Max days since last added item",
            "minimum": 1,
            "type": "integer",
            "description": "Reject creators who have not added anything recently. Hard gate. Creators whose items carry no dates are reported as unverifiable rather than assumed active."
          },
          "onlyChanges": {
            "title": "Output only changes",
            "type": "boolean",
            "description": "Monitor mode only. Writes one row per change instead of a full creator row — the cheap setup for a scheduled watcher. The first run has nothing to compare against, so it stores a baseline snapshot and reports no changes.",
            "default": false
          },
          "snapshotStoreName": {
            "title": "Monitoring state store",
            "type": "string",
            "description": "Name of the named key-value store that keeps one snapshot per creator. It must be a named store: the default store is recreated for every run, so monitoring would never see the previous state. Use different names to keep separate watch sets from overwriting each other.",
            "default": "throne-monitor-state"
          },
          "useProxy": {
            "title": "Use a proxy",
            "type": "boolean",
            "description": "Off by default and normally unnecessary: the public endpoints this Actor reads have not rate-limited it, and residential traffic would only add cost. Turn it on if your own runs start getting blocked.",
            "default": false
          },
          "proxyGroups": {
            "title": "Proxy groups",
            "type": "array",
            "description": "Apify Proxy groups, for example RESIDENTIAL. Ignored when the proxy is off.",
            "items": {
              "type": "string"
            }
          },
          "proxyCountryCode": {
            "title": "Proxy country",
            "type": "string",
            "description": "Two-letter country code for the proxy, for example US. Ignored when the proxy is off."
          },
          "maxConcurrency": {
            "title": "Concurrent creators",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many creators to fetch at once. The default of 3 keeps this Actor a well-behaved visitor; raising it speeds up large batches but increases the chance of being rate-limited.",
            "default": 3
          },
          "includeRawData": {
            "title": "Include raw source data",
            "type": "boolean",
            "description": "Attach the untouched public data exactly as Throne's own website receives it. Useful when you want a field this Actor does not normalize yet; it makes rows several times larger.",
            "default": false
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Verbose logs. Credentials, proxy passwords and tokens are never logged at any level.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}