{
  "openapi": "3.0.1",
  "info": {
    "title": "Grailed Scraper — Listings, Designers, Prices & Seller Data",
    "description": "Extract Grailed.com luxury, designer, archive & streetwear listings, sold comps, original prices, price drops, sizes, conditions, follower counts, seller ratings, shipping rates & high-res photos. Built for resale analytics, authentication & price intelligence.",
    "version": "1.0",
    "x-build-id": "DGBTdHXb4vx0dVcGm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~grailed-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-grailed-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/logiover~grailed-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-grailed-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/logiover~grailed-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-grailed-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": {
          "searchQueries": {
            "title": "Search Queries",
            "type": "array",
            "description": "Keywords, designers, garments, or archive collections to search on Grailed.com (e.g. 'Rick Owens', 'Chrome Hearts', 'Raf Simons', 'Maison Margiela Tabi').",
            "default": [
              "Rick Owens",
              "Chrome Hearts"
            ],
            "items": {
              "type": "string"
            }
          },
          "designers": {
            "title": "Exact Designer Names",
            "type": "array",
            "description": "Optional exact Grailed designer names to filter or browse (e.g. 'Balenciaga', 'Prada', 'Arc\\'teryx', 'Yohji Yamamoto').",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories or Subcategory Paths",
            "type": "array",
            "description": "Optional Grailed category keys or URLs (e.g. 'outerwear', 'footwear', 'tops', 'bottoms', 'accessories', 'footwear.hitop_sneakers', 'womens_bags_luggage').",
            "items": {
              "type": "string"
            }
          },
          "sellerUsernames": {
            "title": "Seller Usernames or Profile URLs",
            "type": "array",
            "description": "Optional Grailed seller usernames or storefront URLs to extract all listings from specific wardrobes.",
            "items": {
              "type": "string"
            }
          },
          "listingUrls": {
            "title": "Direct Listing URLs or IDs",
            "type": "array",
            "description": "Optional direct Grailed listing URLs ('https://www.grailed.com/listings/111295867-...') or numeric listing IDs ('111295867') for full single-item extraction.",
            "items": {
              "type": "string"
            }
          },
          "listingStatus": {
            "title": "Listing Status (Active vs. Sold Comps)",
            "enum": [
              "for_sale",
              "sold",
              "all"
            ],
            "type": "string",
            "description": "Extract currently active for-sale listings, historical sold listings (for sold-price comp analysis), or both.",
            "default": "for_sale"
          },
          "department": {
            "title": "Department",
            "enum": [
              "all",
              "menswear",
              "womenswear"
            ],
            "type": "string",
            "description": "Filter listings by Menswear or Womenswear department.",
            "default": "all"
          },
          "strata": {
            "title": "Grailed Curated Tier (Strata)",
            "enum": [
              "all",
              "grailed",
              "hype",
              "sartorial",
              "basic"
            ],
            "type": "string",
            "description": "Filter by Grailed's marketplace tier ('grailed' luxury/archive, 'hype' streetwear, 'sartorial' classic menswear, 'basic' core).",
            "default": "all"
          },
          "condition": {
            "title": "Item Condition",
            "enum": [
              "all",
              "is_new",
              "is_gently_used",
              "is_used",
              "is_worn"
            ],
            "type": "string",
            "description": "Filter by Grailed condition grade.",
            "default": "all"
          },
          "location": {
            "title": "Seller Region",
            "enum": [
              "all",
              "United States",
              "Europe",
              "Asia",
              "Canada",
              "United Kingdom",
              "Australia/NZ"
            ],
            "type": "string",
            "description": "Filter by seller shipping origin region.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "heat",
              "newest",
              "most_popular",
              "recent_price_drop",
              "price_low",
              "price_high"
            ],
            "type": "string",
            "description": "Sort order for Grailed search and category results.",
            "default": "heat"
          },
          "priceMin": {
            "title": "Minimum Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional minimum price filter in USD."
          },
          "priceMax": {
            "title": "Maximum Price (USD)",
            "minimum": 1,
            "type": "integer",
            "description": "Optional maximum price filter in USD."
          },
          "priceDropsOnly": {
            "title": "Price-Dropped Listings Only",
            "type": "boolean",
            "description": "Return only listings that have undergone at least one seller price drop below their original asking price.",
            "default": false
          },
          "includeFullDetails": {
            "title": "Enrich Full PDP Details (Gallery Photos, Description & Measurements)",
            "type": "boolean",
            "description": "Fetch individual /api/listings/<id> JSON per item to attach full seller description, multi-photo gallery URLs, and garment measurements. Keep false for ultra-fast bulk search sweeps.",
            "default": false
          },
          "expandMarketplace": {
            "title": "Auto-Expand Categories & Price Buckets (10k–100k Bulk Scale Mode)",
            "type": "boolean",
            "description": "Automatically partition searches and top Grailed categories across departments and price ranges to bypass Algolia's 1,000-hit per-query cap and extract 10,000–100,000 unique listings.",
            "default": false
          },
          "maxResults": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of unique Grailed listings (deduplicated by listing ID) to extract.",
            "default": 200
          },
          "concurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Number of parallel workers for search pagination and detail enrichment.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for requests.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}