{"openapi":"3.0.0","info":{"title":"ASOS Fashion Products Prices and Stock","version":"1.0.0","description":"ASOS fashion products, prices, size stock availability, categories and reviews across regional storefronts, one row per entity."},"servers":[{"url":"https://ah-asos-com.opendata.best/s/asos-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search ASOS products or browse categories","description":"ASOS catalog rows by keyword, category, gender, bucket or taxonomy discovery.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","keywordSearch","categorySearch","categories","sitemap","facetSitemap"],"description":"Mode. Auto picks the mode from what you fill in: a product link or ID gives product detail, a category ID or bucket gives the category listing, a search query gives keyword search. Pick a mode yourself for the category taxonomy or the sitemap inventory, which need no other field.","default":"auto","example":"auto"},"query":{"type":"string","description":"Search query. Words to search for on ASOS, e.g. black dress.","example":"black dress"},"cid":{"type":"string","description":"Category ID (cid). ASOS category number (the cid= value in a category page link), e.g. 8799."},"categorySlug":{"type":"string","description":"Category slug. Category URL slug, such as dresses. Use with a category ID; a slug alone does not select a category search."},"categoryPath":{"type":"string","description":"Category path. Category URL path, such as women/sale. Use with a category ID or bucket; a path alone does not select a category search."},"bucket":{"type":"string","enum":["sale","new_in","face_body","clothing","shoes","accessories","activewear","brands","outlet","other"],"description":"Category bucket. Choose a category group, such as sale or clothing. Used for category searches and to filter the category list."},"gender":{"type":"string","enum":["women","men"],"description":"Gender. Choose women or men for category searches and category lists.","default":"women","example":"women"},"sitemapKind":{"type":"string","enum":["product","facet"],"description":"Sitemap kind. Choose product for product links, or facet for category links with filter values. Used in sitemap mode.","default":"product","example":"product"},"browseCountry":{"type":"string","description":"Browse country. ASOS country code, such as GB, US, AU or DE, or ROW for rest of world. Product availability and fields vary by market.","default":"GB","example":"GB"},"currency":{"type":"string","description":"Currency. Optional currency code, such as GBP or USD. Leave empty to use the selected market currency."},"refine":{"type":"string","description":"Refine filter. ASOS filter expression copied from a category link, such as attribute_10992:61379. Available filters depend on the category."},"sort":{"type":"string","enum":["freshness","pricedasc","priceddesc","favourite","trending"],"description":"Sort. Choose the listing order: newest, price low to high, price high to low, most saved or trending."},"currentPriceRange":{"type":"string","description":"Price range. Price-range value copied from the currentpricerange parameter of an ASOS listing URL."},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Maximum pages. Maximum listing pages or sitemap pages to read, from 1 to 50. The row limit may stop collection earlier.","default":1,"example":1},"enrichDetails":{"type":"boolean","description":"Add product details. 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,"example":false},"expandColours":{"type":"boolean","description":"Include alternate colour rows. 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,"example":false},"includeRelated":{"type":"boolean","description":"Include related products. 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,"example":false},"includeReviews":{"type":"boolean","description":"Include customer reviews & rating breakdown. 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":{"type":"integer","minimum":1,"maximum":5,"description":"Max reviews per product. Maximum review rows per product when includeReviews is enabled (1–5, default 5; review rows share the maxResults budget; full review counts and the 1–5 star ratingDistribution cover all reviews).","default":5},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"query":"black dress","browseCountry":"GB","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/products":{"post":{"operationId":"products","summary":"ASOS product details by ID or URL","description":"Detailed product, variant and size stock rows for a given productId or productUrl. Fixed for this endpoint: mode=\"productDetail\".","tags":["products"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"productId":{"type":"string","description":"Product ID. ASOS product number, e.g. 123456789 (the digits after /prd/ in a product link)."},"productUrl":{"type":"string","description":"Product URL. Link to one ASOS product page (any ASOS country site), e.g. https://www.asos.com/<brand>/<product-name>/prd/123456789."},"colourWayId":{"type":"string","description":"Colour way ID. Optional colour identifier for a product-detail request. Leave empty to use the product selection returned by ASOS."},"browseCountry":{"type":"string","description":"Browse country. ASOS country code, such as GB, US, AU or DE, or ROW for rest of world. Product availability and fields vary by market.","default":"GB","example":"GB"},"currency":{"type":"string","description":"Currency. Optional currency code, such as GBP or USD. Leave empty to use the selected market currency."},"expandColours":{"type":"boolean","description":"Include alternate colour rows. 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,"example":false},"includeRelated":{"type":"boolean","description":"Include related products. 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,"example":false},"includeReviews":{"type":"boolean","description":"Include customer reviews & rating breakdown. 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":{"type":"integer","minimum":1,"maximum":5,"description":"Max reviews per product. Maximum review rows per product when includeReviews is enabled (1–5, default 5; review rows share the maxResults budget; full review counts and the 1–5 star ratingDistribution cover all reviews).","default":5},"includeSaveCount":{"type":"boolean","description":"Include save counts. Fetch public 30-day (720-hour) product save count metrics and PDP saveCount metadata on productDetail or enrichDetails runs.","default":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"productId":"209342097","browseCountry":"GB","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"id":{"nullable":true,"type":"string"},"colourWayId":{"nullable":true},"productCode":{"nullable":true},"title":{"nullable":true,"type":"string"},"brandName":{"nullable":true,"type":"string"},"price":{"nullable":true},"reducedPrice":{"nullable":true},"currency":{"nullable":true,"type":"string"},"colour":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"image":{"nullable":true,"type":"string"},"browseCountry":{"nullable":true,"type":"string"},"mode":{"nullable":true,"type":"string"},"sourceSurface":{"nullable":true,"type":"string"},"scrapedAt":{"nullable":true,"type":"string"},"additionalImageUrls":{"nullable":true,"type":"array","items":{}},"advertisement":{"nullable":true,"description":"Sponsored placement metadata on search or category tiles when applicable."},"apiStore":{"nullable":true,"type":"string"},"associatedGroups":{"nullable":true,"type":"object"},"badges":{"nullable":true,"type":"array","items":{}},"brand":{"nullable":true,"type":"object"},"careInfo":{"nullable":true,"type":"string"},"colourWays":{"nullable":true,"type":"array","items":{}},"countryOfManufacture":{"nullable":true,"type":"string"},"description":{"nullable":true,"type":"string"},"detailsText":{"nullable":true,"type":"string"},"earlyAccess":{"nullable":true,"description":"Early-access campaign metadata when active on the product."},"enginePath":{"nullable":true,"type":"string"},"facetGroupings":{"nullable":true,"type":"array","items":{}},"gender":{"nullable":true,"type":"string"},"groupId":{"nullable":true},"hasMoreColours":{"nullable":true,"type":"boolean"},"hasMultiplePrices":{"nullable":true,"type":"boolean"},"hasVariantColours":{"nullable":true,"type":"boolean"},"imageUrl":{"nullable":true,"type":"string"},"info":{"nullable":true,"type":"object"},"isDiscontinued":{"nullable":true,"type":"boolean"},"isInStock":{"nullable":true,"type":"boolean"},"isNew":{"nullable":true,"type":"boolean"},"isNoSize":{"nullable":true,"type":"boolean"},"isOneSize":{"nullable":true,"type":"boolean"},"isPromotion":{"nullable":true,"type":"boolean"},"isRestockingSoon":{"nullable":true,"type":"boolean"},"isSellingFast":{"nullable":true,"type":"boolean"},"isSponsored":{"nullable":true,"type":"boolean"},"leafIndex":{"nullable":true,"description":"Index of the sitemap leaf the row came from."},"leafUrl":{"nullable":true,"type":"string","description":"Sitemap leaf file the row came from."},"localisedData":{"nullable":true,"type":"array","items":{}},"media":{"nullable":true,"type":"object"},"name":{"nullable":true,"type":"string"},"page":{"nullable":true,"type":"integer"},"plpIds":{"nullable":true,"type":"array","description":"Raw ASOS category linkage objects ({id, type} such as SEO, Brand, Range); each id maps to categorySearch cid.","items":{}},"categoryIds":{"nullable":true,"type":"array","description":"Normalized ASOS category IDs (cid integers extracted from plpIds) that can be passed directly to categorySearch cid.","items":{"type":"integer"}},"position":{"nullable":true,"type":"integer"},"priceDetail":{"nullable":true,"type":"object"},"priceText":{"nullable":true,"type":"string"},"productId":{"nullable":true,"description":"Product identifier."},"productType":{"nullable":true},"rating":{"nullable":true,"description":"Product rating (averageOverallRating, averageOverallStarRating, totalReviewCount)."},"ratingDistribution":{"nullable":true,"description":"1-to-5 star review count breakdown (keys '5'..'1') when includeReviews is enabled and maxResults had room left after the product rows; null otherwise."},"reviewsSummary":{"nullable":true,"type":"object","description":"Aggregated review summary including AI summary text, percentageRecommended, totalReviewCount, and Fit/Quality slider averages; filled like ratingDistribution (includeReviews with maxResults room left after the product rows)."},"reviews":{"nullable":true,"type":"array","description":"Legacy: reviews now arrive as separate rowType review rows.","items":{}},"reviewId":{"nullable":true,"type":"string","description":"Customer review ID on rowType review rows (includeReviews)."},"reviewText":{"nullable":true,"type":"string","description":"Customer review body on rowType review rows."},"productTitle":{"nullable":true,"type":"string","description":"Title of the reviewed product on rowType review rows."},"submissionTime":{"nullable":true,"type":"string","description":"Review submission time on rowType review rows."},"isVerifiedPurchaser":{"nullable":true,"type":"boolean","description":"Reviewer has a verified purchase badge (review rows)."},"pdp":{"nullable":true,"type":"object","description":"Enriched product detail sub-object attached to listing rows when enrichDetails is enabled."},"related":{"nullable":true,"type":"array","description":"Associated Buy-the-Look outfit products resolved via ASOS productlooks when includeRelated is enabled (up to 24 items with id, title, brandName, url, image, price).","items":{}},"sellingTags":{"nullable":true,"type":"array","items":{}},"shippingRestriction":{"nullable":true,"description":"Market shipping restriction rules when restricted."},"showVideo":{"nullable":true,"type":"boolean"},"sizeAndFit":{"nullable":true,"type":"string"},"sizeGuide":{"nullable":true,"type":"string"},"sizes":{"nullable":true,"type":"array","items":{}},"sponsoredCampaignId":{"nullable":true,"description":"Sponsored campaign identifier when the listing tile is promoted."},"variants":{"nullable":true,"type":"array","items":{}},"videoAssetId":{"nullable":true,"description":"Catwalk or product video asset identifier when available."},"videoUrl":{"nullable":true,"type":"string"},"endUse":{"nullable":true,"description":"Product occasion or end-use descriptor from ASOS catalogue."},"fitType":{"nullable":true,"description":"Garment fit classification (e.g. Slim, Regular, Oversized) from ASOS catalogue."},"primarySupplierId":{"nullable":true,"description":"Primary supplier identifier from ASOS catalogue."},"priceStartDate":{"nullable":true,"type":"string","description":"ISO-8601 timestamp when the current price version took effect."},"stockLastUpdated":{"nullable":true,"type":"string","description":"Latest ISO-8601 stock update timestamp across product variants."},"stockLastUpdatedDate":{"nullable":true,"type":"string","description":"Variant-level ISO-8601 stock update timestamp."},"isLowInStock":{"nullable":true,"type":"boolean","description":"Whether the product or variant is flagged low in stock."},"restockingLeadTime":{"nullable":true,"description":"Restocking lead time in days from stockprice."},"lastModified":{"nullable":true,"type":"string","description":"ISO-8601 <lastmod> timestamp from ASOS product or facet XML sitemaps."},"rowType":{"nullable":true,"type":"string","description":"Canonical entity row type (product, review, category, sitemap, facet)."},"entityId":{"nullable":true,"type":"string","description":"Deterministic entity identifier within rowType."},"cid":{"nullable":true,"description":"ASOS category identifier."},"path":{"nullable":true,"type":"string","description":"Category page path."},"text":{"nullable":true,"type":"string","description":"Category display name."},"categorySlug":{"nullable":true,"type":"string","description":"Category URL slug."},"refine":{"nullable":true,"description":"ASOS filter expressions found in the link.","items":{"type":"string"}},"refineParams":{"nullable":true,"description":"Parsed filter names and values from a facet link."},"facetKeys":{"nullable":true,"type":"array","description":"Filter keys found in a facet link.","items":{}},"facetValues":{"nullable":true,"type":"array","description":"Filter values found in a facet link.","items":{}},"hasMultipleColoursInStock":{"nullable":true,"type":"boolean","description":"Whether multiple colourways are currently in stock."},"saveCount":{"nullable":true,"type":"object","description":"Public 30-day (720h) product save count metric ({value, duration, lastChanged, canShowSaveCount, store, source})."},"ugcMedia":{"nullable":true,"type":"array","description":"Public customer/social gallery media items (up to 5 per product, deduplicated by mediaId).","items":{"type":"object"}},"ugcSummary":{"nullable":true,"type":"object","description":"UGC gallery metadata ({count, totalFetched, sparse, cursor, source})."},"sellers":{"nullable":true,"type":"array","description":"Partner sellers fulfilling variants of this product ([{id, description}]).","items":{"type":"object"}},"variantPriceRange":{"nullable":true,"type":"object","description":"Min/max variant price summary ({min, max, currency, hasMultiplePrices}) when variants carry distinct prices."},"hasMultiplePricesInStock":{"nullable":true,"type":"boolean","description":"Whether in-stock variants have multiple price points."},"pdpLayout":{"nullable":true,"type":"string","description":"ASOS PDP layout template identifier."},"hasVariantsWithProp65Risk":{"nullable":true,"type":"boolean","description":"Whether any variant carries a Proposition 65 notice."},"brandType":{"nullable":true,"description":"Brand classification metadata."},"hairType":{"nullable":true,"description":"Beauty hair-type attribute when applicable."},"skinType":{"nullable":true,"description":"Beauty skin-type attribute when applicable."},"verifySource":{"nullable":true,"description":"Source used to verify price or stock."},"inStockVariants":{"nullable":true,"description":"Number of in-stock variants."},"quality":{"nullable":true,"description":"Row quality or completeness indicator."},"leadAbsences":{"nullable":true,"description":"Fields absent from the source lead record."}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: entityId; rowType=product: id, title, url; rowType=review: reviewId, productId; rowType=category: cid|path, text; rowType=sitemap: productId, url; rowType=facet: cid, url."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}