{
  "openapi": "3.0.1",
  "info": {
    "title": "ThredUp Scraper",
    "description": "Scrape ThredUp - the largest online resale marketplace for women's and kids' secondhand fashion. Search by keyword or filter by brand, department, category, condition, color and price; look up items directly by item number. Real-time listings with pricing, sizing, brand and condition data.",
    "version": "1.0",
    "x-build-id": "EJ0qqp8VGfZ6sRLyg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~thredup-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-thredup-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/crawlerbros~thredup-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-thredup-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/crawlerbros~thredup-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-thredup-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byItemNumber"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search (mode=search). Leave blank to browse purely by filters."
          },
          "itemNumbers": {
            "title": "Item numbers (mode=byItemNumber)",
            "type": "array",
            "description": "ThredUp item numbers to fetch directly, e.g. `231320532`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "department": {
            "title": "Department",
            "type": "array",
            "description": "Restrict results to one or more departments.",
            "items": {
              "type": "string",
              "enum": [
                "women",
                "plus",
                "petite",
                "tall",
                "maternity",
                "juniors",
                "boys",
                "girls",
                "designer",
                "premium",
                "accessories",
                "handbags",
                "jewelry"
              ],
              "enumTitles": [
                "Women",
                "Women's Plus",
                "Women's Petite",
                "Women's Tall",
                "Maternity",
                "Juniors",
                "Boys (Kids)",
                "Girls (Kids)",
                "Designer",
                "Premium",
                "Accessories",
                "Handbags",
                "Jewelry"
              ]
            },
            "default": []
          },
          "category": {
            "title": "Category",
            "type": "array",
            "description": "Restrict results to one or more product categories.",
            "items": {
              "type": "string",
              "enum": [
                "dresses",
                "tops",
                "sweaters",
                "outerwear",
                "jeans",
                "pants",
                "shorts",
                "skirts",
                "one-pieces",
                "swimwear",
                "activewear",
                "tights",
                "shoes",
                "sneakers",
                "boots",
                "heels",
                "flats",
                "sandals",
                "wedges",
                "mules-clogs",
                "handbags",
                "accessories",
                "jewelry",
                "necklaces",
                "earrings",
                "bracelets",
                "rings",
                "pins",
                "brooches"
              ],
              "enumTitles": [
                "Dresses",
                "Tops",
                "Sweaters",
                "Outerwear",
                "Jeans",
                "Pants",
                "Shorts",
                "Skirts",
                "Jumpsuits & Rompers",
                "Swimwear",
                "Activewear",
                "Tights & Hosiery",
                "Shoes (all)",
                "Sneakers",
                "Boots",
                "Heels",
                "Flats",
                "Sandals",
                "Wedges",
                "Mules & Clogs",
                "Handbags",
                "Accessories (all)",
                "Jewelry (all)",
                "Necklaces",
                "Earrings",
                "Bracelets",
                "Rings",
                "Pins",
                "Brooches"
              ]
            },
            "default": []
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Restrict results to one or more brand names, e.g. `Zara`, `Nike`, `Universal Thread`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Restrict results to one or more listing conditions.",
            "items": {
              "type": "string",
              "enum": [
                "Q1_NWT",
                "Q1_only",
                "Q2_NWT",
                "Q2_only",
                "Q3_only"
              ],
              "enumTitles": [
                "New with tags (top tier)",
                "Like new (top tier)",
                "New with tags (standard)",
                "Gently used (standard)",
                "Visible wear (value tier)"
              ]
            },
            "default": []
          },
          "colors": {
            "title": "Colors",
            "type": "array",
            "description": "Restrict results to one or more colors.",
            "items": {
              "type": "string",
              "enum": [
                "Black",
                "White",
                "Ivory",
                "Gray",
                "Blue",
                "Green",
                "Red",
                "Pink",
                "Purple",
                "Orange",
                "Yellow",
                "Brown",
                "Tan",
                "Teal",
                "Gold",
                "Silver",
                "Burgundy",
                "Multi color"
              ],
              "enumTitles": [
                "Black",
                "White",
                "Ivory",
                "Gray",
                "Blue",
                "Green",
                "Red",
                "Pink",
                "Purple",
                "Orange",
                "Yellow",
                "Brown",
                "Tan",
                "Teal",
                "Gold",
                "Silver",
                "Burgundy",
                "Multi color"
              ]
            },
            "default": []
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop items priced below this amount."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop items priced above this amount."
          },
          "clearanceOnly": {
            "title": "Clearance only",
            "type": "boolean",
            "description": "Only emit items currently marked as clearance.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "recommended",
              "relevance",
              "best_sellers"
            ],
            "type": "string",
            "description": "Result ordering.",
            "default": "recommended"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. ThredUp rarely blocks datacenter IPs; the actor connects directly and this free Apify datacenter (AUTO) proxy is only useful as a fallback if your IP gets rate-limited.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}