{
  "openapi": "3.0.1",
  "info": {
    "title": "The RealReal Scraper",
    "description": "Scrape The RealReal - the largest online marketplace for authenticated luxury resale. Browse by category or designer, or fetch full product detail (price, condition, size, measurements, authentication info, images) by product URL.",
    "version": "1.0",
    "x-build-id": "q5Xsdy1MW7ywVVZBU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~therealreal-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-therealreal-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~therealreal-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-therealreal-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~therealreal-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-therealreal-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": [
              "byCategory",
              "byDesigner",
              "byUrl",
              "discoverCategories",
              "discoverDesigners"
            ],
            "type": "string",
            "description": "What to fetch. `byCategory`/`byDesigner`/`byUrl` fetch real product listings/detail. `discoverCategories` (reliable, one cheap fetch) lists therealreal.com's own complete, real category taxonomy tree (department -> category -> subcategory) straight from the site's own \"Refine Results\" facet data, each with a live product count -- use it to find real `categoryPath`/`customCategoryPath` values beyond the curated dropdown. `discoverDesigners` (reliable, one cheap fetch) lists up to 200 real designer/brand names (with live product counts) for a department/category, straight from the same facet data -- use it to find real `designerSlug` values instead of guessing.",
            "default": "byCategory"
          },
          "gender": {
            "title": "Department (mode=byCategory / discoverDesigners)",
            "enum": [
              "women",
              "men",
              "jewelry",
              "watches",
              "art",
              "home",
              "kids",
              "beauty"
            ],
            "type": "string",
            "description": "Top-level department to browse.",
            "default": "women"
          },
          "categoryPath": {
            "title": "Category (mode=byCategory / discoverDesigners)",
            "enum": [
              "",
              "handbags",
              "handbags/shoulder-bags",
              "handbags/totes",
              "handbags/crossbody-bags",
              "handbags/clutches",
              "handbags/hobos",
              "handbags/satchels",
              "handbags/mini-bags",
              "clothing",
              "clothing/dresses",
              "clothing/dresses/cocktail",
              "clothing/dresses/evening",
              "clothing/coats",
              "clothing/jackets",
              "clothing/jeans",
              "clothing/tops",
              "clothing/skirts",
              "clothing/pants",
              "clothing/knitwear/sweaters",
              "clothing/suits-and-sets",
              "shoes",
              "shoes/boots",
              "shoes/pumps",
              "shoes/sandals",
              "shoes/sneakers",
              "shoes/flats",
              "accessories",
              "accessories/sunglasses",
              "accessories/scarves-and-shawls",
              "accessories/wallets",
              "accessories/belts",
              "accessories/hats",
              "outerwear",
              "suits",
              "t-shirts",
              "loafers",
              "bags",
              "bags/backpacks",
              "bags/briefcases",
              "bags/totes",
              "rings",
              "necklaces",
              "earrings",
              "bracelets",
              "brooches",
              "cufflinks",
              "pins",
              "paintings",
              "photographs",
              "prints",
              "drawings-and-works-on-paper",
              "mixed-media",
              "tabletop-and-kitchen",
              "decor-and-accessories",
              "bedding-and-bath",
              "collectibles",
              "girls",
              "boys",
              "baby-gear",
              "sale",
              "new-arrivals"
            ],
            "type": "string",
            "description": "A curated common category path. Leave as `(department only)` to browse the whole department, or pick a subcategory. For a category not listed here, use `Custom category path` below instead (overrides this field).",
            "default": ""
          },
          "customCategoryPath": {
            "title": "Custom category path (mode=byCategory/discoverDesigners, overrides Category; mode=discoverCategories: prefix filter)",
            "type": "string",
            "description": "Advanced: any taxonomy path segment(s) after the department, e.g. `clothing/dresses/maxi` or `shoes/boots/ankle-boots`. Copy from a therealreal.com/shop/<department>/<path> URL. Overrides the Category dropdown when set. For mode=discoverCategories, filters the taxonomy listing to entries whose category path starts with this value (leave empty to list the entire tree)."
          },
          "designerSlug": {
            "title": "Designer slug (mode=byDesigner)",
            "type": "string",
            "description": "The RealReal designer slug, e.g. `chanel`, `gucci`, `hermes`, `louis-vuitton`, `cartier`, `christian-dior`. Find it in a therealreal.com/designers/<slug> URL.",
            "default": "chanel"
          },
          "designerGender": {
            "title": "Designer department (mode=byDesigner)",
            "enum": [
              "women",
              "men",
              "jewelry",
              "watches"
            ],
            "type": "string",
            "description": "Restrict the designer's items to a department.",
            "default": "women"
          },
          "productUrls": {
            "title": "Product URLs (mode=byUrl)",
            "type": "array",
            "description": "Full therealreal.com/products/... URLs to fetch complete detail for (price, condition, size, measurements, authentication info, images).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop items priced below this (USD)."
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop items priced above this (USD)."
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Only include items in these conditions. Leave empty for all conditions.",
            "items": {
              "type": "string",
              "enum": [
                "As Is",
                "Fair",
                "Good",
                "Very Good",
                "Excellent",
                "Pristine"
              ],
              "enumTitles": [
                "As Is",
                "Fair",
                "Good",
                "Very Good",
                "Excellent",
                "Pristine"
              ]
            },
            "default": []
          },
          "color": {
            "title": "Color",
            "enum": [
              "",
              "Black",
              "White",
              "Grey",
              "Silver",
              "Gold",
              "Metallic",
              "Brown",
              "Neutrals",
              "Blue",
              "Green",
              "Red",
              "Burgundy",
              "Pink",
              "Purple",
              "Yellow",
              "Orange",
              "Animal Print",
              "Pattern Prints",
              "Clear"
            ],
            "type": "string",
            "description": "Only include items in this color.",
            "default": ""
          },
          "size": {
            "title": "Size",
            "type": "string",
            "description": "Only include items with exactly this size (case-insensitive). Free text because the size vocabulary is department-specific: clothing sizes (e.g. `S`, `M`, `FR38`), shoe sizes (e.g. `8.5`), ring sizes (e.g. `6`), art sizes (e.g. `Large`), watch case diameters (e.g. `36mm`). Leave empty for all sizes.",
            "default": ""
          },
          "material": {
            "title": "Material",
            "type": "string",
            "description": "Only include items whose material/fabric contains this text (case-insensitive substring match, e.g. `Gold` matches `Yellow Gold`/`White Gold`/`Rose Gold`, `Leather` matches `Leather Trim`). Free text because the material vocabulary is department-specific and wide -- metal type for jewelry (`Yellow Gold`, `White Gold`, `Rose Gold`, `Platinum`, `Silver`), fabric/material for apparel/handbags (`Leather`, `Silk`, `Cashmere`, `Cotton`, `Suede`, `Denim`, `Wool`). Not populated on every item/department -- leave empty for no filtering.",
            "default": ""
          },
          "movementType": {
            "title": "Movement type (watches)",
            "enum": [
              "",
              "Automatic",
              "Quartz",
              "Manual",
              "Co-Axial Escapement Automatic",
              "Spring Drive",
              "SolarBeat™"
            ],
            "type": "string",
            "description": "Only include watches with this movement type. Only populated on items in the Watches department.",
            "default": ""
          },
          "caseMaterial": {
            "title": "Case material (watches)",
            "enum": [
              "",
              "Yellow Gold",
              "Rose Gold",
              "White Gold",
              "Platinum",
              "Silver",
              "Stainless Steel",
              "Stainless Steel and Gold",
              "Titanium",
              "Ceramic",
              "Other"
            ],
            "type": "string",
            "description": "Only include watches with this case material. Only populated on items in the Watches department.",
            "default": ""
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only include items with a discount off the original price.",
            "default": false
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "newest",
              "priceAsc",
              "priceDesc",
              "mostObsessed"
            ],
            "type": "string",
            "description": "How to order emitted results (applied locally after fetching).",
            "default": "newest"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}