{
  "openapi": "3.0.1",
  "info": {
    "title": "Grailed Scraper 💰from $1.50/1K–Listings, Sold Prices & Sellers",
    "description": "Scrape Grailed listings with full details: description, all photos, measurements, price drops, shipping and seller ratings. Search by keyword, designer, category, size, condition and price, get sold prices, scrape sellers or paste share links. Monitoring mode for new listings. No login.",
    "version": "0.0",
    "x-build-id": "7mioC6WskR12ZRtZe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lukass~grailed-mp-actor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lukass-grailed-mp-actor",
        "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/lukass~grailed-mp-actor/runs": {
      "post": {
        "operationId": "runs-sync-lukass-grailed-mp-actor",
        "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/lukass~grailed-mp-actor/run-sync": {
      "post": {
        "operationId": "run-sync-lukass-grailed-mp-actor",
        "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": [
          "proxy"
        ],
        "properties": {
          "search": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search for, one per line - the same as typing into Grailed's search bar.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Grailed URLs",
            "type": "array",
            "description": "grailed.com URLs to scrape: listings (/listings/...), searches (/shop/...), designer pages (/designers/...) and app share links (grailed.onelink.me/...). A search URL keeps its own filters and sort.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "sellers": {
            "title": "Sellers",
            "type": "array",
            "description": "Grailed usernames or numeric user ids. Scrapes each seller's listings.",
            "items": {
              "type": "string"
            }
          },
          "searchSellers": {
            "title": "Find sellers by keyword",
            "type": "array",
            "description": "Keywords to search Grailed usernames for. The listings of every matching seller are then scraped.",
            "items": {
              "type": "string"
            }
          },
          "maxSellersPerQuery": {
            "title": "Max sellers per keyword",
            "type": "integer",
            "description": "How many sellers to take from each seller-search keyword.",
            "default": 10
          },
          "listingStatus": {
            "title": "Listings",
            "enum": [
              "active",
              "sold",
              "all"
            ],
            "type": "string",
            "description": "Items for sale, sold items (with the price they sold for), or both. Sold items are sorted by sale date unless sorted by price.",
            "default": "active"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "priceAsc",
              "priceDesc",
              "popular",
              "trending",
              "mostFollowed",
              "recentlyUpdated"
            ],
            "type": "string",
            "description": "Order of the results. Searches with more than 1,000 matches are fetched in price ranges, cheapest range first, so their overall order is only kept within each range.",
            "default": "relevance"
          },
          "department": {
            "title": "Department",
            "enum": [
              "menswear",
              "womenswear"
            ],
            "type": "string",
            "description": "Menswear or womenswear only."
          },
          "designers": {
            "title": "Designers",
            "type": "array",
            "description": "Designer names as Grailed spells them (Nike, Rick Owens, Comme des Garcons) or numeric designer ids. Several designers match any of them.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "A whole category (tops, bottoms, outerwear, footwear, tailoring, accessories, womens_tops, womens_dresses, ...) or a subcategory path (footwear.lowtop_sneakers, outerwear.leather_jackets, womens_bags_luggage.tote_bags, ...).",
            "items": {
              "type": "string"
            }
          },
          "sizes": {
            "title": "Sizes",
            "type": "array",
            "description": "Sizes as Grailed lists them: m, xl, 32, 10.5, 44r. A size applies to every category that has it (limited by the categories and department set here); use category.size, e.g. footwear.10, for one category only.",
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition",
            "type": "array",
            "description": "Item conditions to include.",
            "items": {
              "type": "string",
              "enum": [
                "is_new",
                "is_gently_used",
                "is_used",
                "is_worn"
              ],
              "enumTitles": [
                "New / never worn",
                "Gently used",
                "Used",
                "Very worn"
              ]
            }
          },
          "markets": {
            "title": "Markets",
            "type": "array",
            "description": "Grailed's market segments. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "grailed",
                "hype",
                "sartorial",
                "basic"
              ],
              "enumTitles": [
                "Grails (designer)",
                "Hype (streetwear, sneakers)",
                "Sartorial (tailoring)",
                "Core (basics, vintage, workwear)"
              ]
            }
          },
          "priceMin": {
            "title": "Min price (USD)",
            "type": "integer",
            "description": "Lowest listing price to include, in US dollars."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "type": "integer",
            "description": "Highest listing price to include, in US dollars."
          },
          "staffPicksOnly": {
            "title": "Staff picks only",
            "type": "boolean",
            "description": "Return only listings Grailed's staff picked.",
            "default": false
          },
          "monitoringMode": {
            "title": "Monitoring mode (only new listings)",
            "type": "boolean",
            "description": "Return only listings that earlier runs of this same search have not returned yet, so a scheduled run pays only for what is new. Searches are sorted by 'Newly listed' and stop at the first page with nothing new. Pasted listing URLs are always returned. Changing the keywords, URLs, sellers or filters starts a fresh list.",
            "default": false
          },
          "fetchDetails": {
            "title": "Fetch full listing details",
            "type": "boolean",
            "description": "One extra request per listing, adding the description, every photo, measurements, the size label and the seller's full profile (rating tags, items for sale, followers, country). Turn off for a cheaper, faster run with search data only.",
            "default": true
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Stop after this many listings. The allowance is split evenly between sources (each keyword, URL and seller); a source that runs out early hands its remainder to the others. Leave empty for no limit."
          },
          "maxPagesPerSource": {
            "title": "Max pages per source",
            "type": "integer",
            "description": "Pagination cap per keyword, URL or seller (and per price range for large searches). 100 listings per page. Leave empty for no limit."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Listing details come from grailed.com, which is behind Cloudflare. Residential proxies are the safe default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}