{
  "openapi": "3.0.1",
  "info": {
    "title": "ASOS.com Scraper – Product Prices, Sizes, Stock & Reviews",
    "description": "ASOS product scraper & ASOS.com scraper for fashion and clothing price monitoring, SKU/EAN size stock, categories, sitemaps, outfit looks, and customer reviews across 237 markets (GB, US, EU, AU, ROW). Incremental monitoring & pay per delivered row.",
    "version": "0.2",
    "x-build-id": "qG40TT3cDPi0IKImU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~asos-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-asos-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/lentic_clockss~asos-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-asos-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/lentic_clockss~asos-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-asos-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": [
              "auto",
              "categorySearch",
              "keywordSearch",
              "productDetail",
              "productReviews",
              "categories",
              "sitemap",
              "facetSitemap",
              "sellingFast",
              "markets"
            ],
            "type": "string",
            "description": "Auto picks the mode from what you fill in: a product link or ID gives product detail, a category ID, bucket or category link gives the category listing, a search query gives keyword search. Pick a mode yourself for standalone customer reviews (productReviews), category taxonomy/navigation, sitemap inventory, products selling fast, or the list of ASOS markets.",
            "default": "auto"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Words to search for on ASOS, e.g. black dress."
          },
          "productUrl": {
            "title": "Product URL",
            "pattern": "^.*/prd/[0-9]+.*$",
            "type": "string",
            "description": "Link to one ASOS product page (any ASOS country site), e.g. https://www.asos.com/<brand>/<product-name>/prd/123456789."
          },
          "productUrls": {
            "title": "Product URLs",
            "type": "array",
            "description": "ASOS product page links (/prd/<number>); the first one is collected. Same rules as Product URL. The store in the link picks the market when you set none.",
            "items": {
              "type": "string",
              "pattern": "^.*/prd/[0-9]+.*$"
            }
          },
          "productId": {
            "title": "Product ID",
            "pattern": "^[0-9]+$",
            "type": "string",
            "description": "ASOS product number, e.g. 123456789 (the digits after /prd/ in a product link)."
          },
          "colourWayId": {
            "title": "Colour way ID",
            "pattern": "^[0-9]*$",
            "type": "string",
            "description": "Optional colour identifier for a product-detail request. Leave empty to use the product selection returned by ASOS."
          },
          "cid": {
            "title": "Category ID (cid)",
            "pattern": "^[0-9]+$",
            "type": "string",
            "description": "ASOS category number (the cid= value in a category page link), e.g. 8799."
          },
          "categoryUrl": {
            "title": "Category or search URL",
            "pattern": "^.*(/cat/?\\?.*cid=[0-9]+|/search/?\\?.*q=.+).*$",
            "type": "string",
            "description": "Link to an ASOS category page (…/cat/?cid=8799) or search page (…/search/?q=black+dress). The category number, query, refine, sort and price range are read from it when you do not set them. The store in the link picks the market when you set none."
          },
          "bucket": {
            "title": "Category bucket",
            "enum": [
              "sale",
              "new_in",
              "face_body",
              "clothing",
              "shoes",
              "accessories",
              "activewear",
              "brands",
              "outlet",
              "other"
            ],
            "type": "string",
            "description": "Choose a category group, such as sale or clothing. Used for category searches and to filter the category list."
          },
          "categorySlug": {
            "title": "Category slug",
            "type": "string",
            "description": "Category URL slug, such as dresses. Use with a category ID; a slug alone does not select a category search."
          },
          "categoryPath": {
            "title": "Category path",
            "type": "string",
            "description": "Category URL path, such as women/sale. Use with a category ID or bucket; a path alone does not select a category search."
          },
          "gender": {
            "title": "Gender",
            "enum": [
              "women",
              "men"
            ],
            "type": "string",
            "description": "Choose women or men for category searches and category lists.",
            "default": "women"
          },
          "sitemapKind": {
            "title": "Sitemap kind",
            "enum": [
              "product",
              "facet"
            ],
            "type": "string",
            "description": "Choose product for product links, or facet for category links with filter values. Used in sitemap mode.",
            "default": "product"
          },
          "browseCountry": {
            "title": "Browse country",
            "pattern": "^([A-Za-z]{2}|ROW|row)$",
            "type": "string",
            "description": "ASOS market code, such as GB, US, AU or DE (UK is read as GB), or ROW for rest of world. 237 markets are served. Leave empty to infer it from the store in your link, then from locale, then from an unambiguous currency, else GB. Product availability and fields vary by market."
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Optional language tag such as de-DE, fr-FR, en-AU. Sets the content language and, when you set no market, the market (de→DE, fr→FR, es→ES, it→IT, nl→NL, sv→SE, da→DK, pl→PL, en-US→US, en-AU→AU)."
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Optional currency code, such as GBP or USD. Leave empty to use the selected market currency. When you set no market, an unambiguous currency (for example PLN, SEK, AUD) picks it."
          },
          "refine": {
            "title": "Refine filter",
            "type": "string",
            "description": "ASOS filter expression copied from a category link, such as attribute_10992:61379. Available filters depend on the category."
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "freshness",
              "pricedasc",
              "priceddesc",
              "favourite",
              "trending"
            ],
            "type": "string",
            "description": "Choose the listing order: newest, price low to high, price high to low, most saved or trending."
          },
          "currentPriceRange": {
            "title": "Price range",
            "type": "string",
            "description": "Price-range value copied from the currentpricerange parameter of an ASOS listing URL."
          },
          "maxResults": {
            "title": "Max results per search, category, or product input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum rows for the one input in this run, from 1 to 500; default 70. Extra colour rows share this limit, and the maximum run cost also applies. Free plan: up to 200 rows per run and 10 runs of this Actor.",
            "default": 70
          },
          "maxPages": {
            "title": "Maximum pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum listing pages or sitemap pages to read, from 1 to 50. The row limit may stop collection earlier.",
            "default": 1
          },
          "enrichDetails": {
            "title": "Add product details",
            "type": "boolean",
            "description": "Fetch full product detail (sizes, variants, SKU/EAN, stock status, categoryIds, care/material info) for every returned listing row up to maxResults (1–500). In sitemap mode, merges live batch stockprice for collected product URLs.",
            "default": false
          },
          "expandColours": {
            "title": "Include alternate colour rows",
            "type": "boolean",
            "description": "On keywordSearch or categorySearch, inspect up to the first 5 returned products and emit separate rows for up to 6 alternate colourways per product (bounded by maxResults).",
            "default": false
          },
          "includeRelated": {
            "title": "Include related products",
            "type": "boolean",
            "description": "On productDetail (or listing rows with enrichDetails=true), resolve associated outfit looks via ASOS productlooks and attach up to 24 constituent outfit products (with product ID, title, brand, live price, image, and product URL) in the related array.",
            "default": false
          },
          "includeReviews": {
            "title": "Include customer reviews & rating breakdown",
            "type": "boolean",
            "description": "Fetch verified customer reviews as separate review rows (billed like any row, inside maxResults, after the product rows), plus the AI review summary, 1–5 star ratingDistribution histogram, recommendation rate, and Fit/Quality slider averages on the product row (productDetail, or listing rows when enrichDetails is enabled). Reviews and these summary fields are only fetched while maxResults has room left after the product rows; if the product rows use the whole budget, no reviews are fetched and the summary fields stay empty. Raise maxResults above the number of products to get them.",
            "default": false
          },
          "maxReviews": {
            "title": "Max reviews per product",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum review rows per product when includeReviews is enabled (1–50, default 5; review rows share the maxResults budget; for up to 500 reviews on one product use mode=productReviews).",
            "default": 5
          },
          "reviewSort": {
            "title": "Review sort",
            "type": "string",
            "description": "Optional review order for productReviews or includeReviews: newest, oldest, highest, lowest, helpful, or a Bazaarvoice token such as SubmissionTime:desc or Rating:desc."
          },
          "reviewFilter": {
            "title": "Review filter",
            "type": "string",
            "description": "Optional review filter for productReviews or includeReviews: 5, 4, 3, 2, 1, 4plus, verified, recommended, or a Bazaarvoice expression such as Rating:eq:5."
          },
          "liveNavigation": {
            "title": "Live country navigation tree",
            "type": "boolean",
            "description": "In categories mode, fetch the live per-country ASOS navigation tree (/fashion/navigation/v2/tree) instead of the static taxonomy.",
            "default": false
          },
          "includeSaveCount": {
            "title": "Include save counts",
            "type": "boolean",
            "description": "Fetch public 30-day (720-hour) product save count metrics and PDP saveCount metadata on productDetail or enrichDetails runs.",
            "default": false
          },
          "includeUgc": {
            "title": "Include customer media gallery",
            "type": "boolean",
            "description": "Fetch public social/customer media gallery items (ugcMedia, up to 5 items per product, deduplicated by mediaId) on productDetail, enrichDetails, or categorySearch runs.",
            "default": false
          },
          "includeDelivery": {
            "title": "Include delivery options",
            "type": "boolean",
            "description": "Attach the country's delivery methods (deliveryOptions) on productDetail, enrichDetails or markets runs.",
            "default": false
          },
          "includeFacetSwatches": {
            "title": "Include colour swatches",
            "type": "boolean",
            "description": "Attach the colour filter swatches (facetSwatches) to listing rows.",
            "default": false
          },
          "strictMarket": {
            "title": "Strict market match",
            "type": "boolean",
            "description": "Require an exact store/language/currency market match without falling back to ROW/GBP or COM/GBP.",
            "default": false
          },
          "apiPlane": {
            "title": "API plane",
            "enum": [
              "auto",
              "web",
              "app"
            ],
            "type": "string",
            "description": "Select upstream API plane: auto (Web primary with App fallback on 10 supported markets), web (www.asos.com, deep pagination >1,000), or app (api.asos.com, 10 dedicated markets, 1,000-offset window).",
            "default": "auto"
          },
          "updatedSince": {
            "title": "Updated since (ISO date)",
            "type": "string",
            "description": "Optional ISO-8601 date (YYYY-MM-DD) or timestamp filter. In sitemap and facetSitemap modes, skips sitemap leaves and URLs whose XML <lastmod> is older than this cutoff. In keywordSearch and categorySearch, defaults sort to freshness when sort is unset."
          },
          "incrementalMode": {
            "title": "Incremental monitoring mode",
            "enum": [
              "off",
              "emitChanged",
              "newOnly"
            ],
            "type": "string",
            "description": "Compare collected rows against a saved state snapshot in Apify Key-Value Store: off emits every row; emitChanged emits only new or price/stock-changed rows; newOnly emits only newly seen items. Each emitted row includes changeType and previousValue.",
            "default": "off"
          },
          "stateKey": {
            "title": "Incremental state key",
            "type": "string",
            "description": "Optional name for the saved monitoring snapshot (e.g. uk-linen-shirts). Leave empty to derive a deterministic key from mode, market, and query/category/product target."
          },
          "emitUnchanged": {
            "title": "Also emit unchanged rows",
            "type": "boolean",
            "description": "When incremental monitoring is active, keep unchanged rows in the dataset tagged with changeType='unchanged' instead of filtering them out.",
            "default": false
          },
          "emitExpired": {
            "title": "Emit disappeared items as expired",
            "type": "boolean",
            "description": "When incremental monitoring is active, emit items present in the previous snapshot that disappeared from the current run with changeType='expired' and previousValue.",
            "default": false
          },
          "workerBaseUrl": {
            "title": "Developer testing",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          },
          "cursor": {
            "title": "Continue from cursor",
            "type": "string",
            "description": "Continue a run that stopped at its time limit or was aborted gracefully: paste RUN_SUMMARY.nextCursor from that run and keep the rest of the input the same. A cursor works once and is valid for 6 hours. Usually leave empty."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}