{"openapi":"3.0.0","info":{"title":"SHEIN Fashion Products Prices and Categories","version":"1.0.0","description":"SHEIN products, prices, images, sizes, colors, ratings and trending collections across regional storefronts, one row per entity."},"servers":[{"url":"https://ah-shein-com.opendata.best/s/shein-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search SHEIN products, categories and trending lists","description":"Product and category rows from SHEIN regional storefronts. Verified storefronts: US, DE, FR, AU and BR. Other storefronts (for example UK or MX) can answer 502 source_blocked while the source refuses collection there; nothing is billed for a failed request.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","keywordSearch","categorySearch","categories","trending"],"description":"Mode. Choose keyword search, category listings, product details, the category tree, or trending products. Auto selects a mode from the target fields you fill.","default":"auto","example":"auto"},"query":{"type":"string","description":"Search query. Search phrase, such as linen dress. Ignored when keyword or keywords is filled.","example":"dress"},"keyword":{"type":"string","description":"Keyword (alias). Alternative to query for one search phrase. Takes precedence over query when set."},"keywords":{"type":"array","items":{"type":"string"},"description":"Keywords (batch). Search phrases to collect in one run; each has its own maxResults limit. If keyword is also set, it runs first."},"categoryUrl":{"type":"string","description":"Category URL. SHEIN HTTPS category or promotion URL, or a relative path. Use a current address from the selected storefront."},"catId":{"type":"string","description":"Category ID. Numeric SHEIN category identifier, such as 2223. Category IDs can differ by region or change over time."},"categorySlug":{"type":"string","description":"Category slug. Category address slug, such as Women-Tops. Pair it with catId or choose a known bucket."},"bucket":{"type":"string","description":"Vertical bucket. Category shortcut such as women, men, kids, shoes, beauty, sale, new, or just-for-you. In categories mode, it narrows the category tree."},"region":{"type":"string","description":"Region subdomain. SHEIN storefront code, such as us, uk, de, fr, ph, or au. Defaults to the US storefront when omitted.","example":"us"},"browseCountry":{"type":"string","description":"Browse country (alias). Country alias that overrides region when set. For example, US selects us, GB selects uk, and PH selects ph."},"currency":{"type":"string","description":"Currency hint. Optional currency hint, such as USD, PHP, or EUR. Availability depends on the selected storefront."},"sort":{"type":"string","enum":["","recommend","sales","price_asc","price_desc","newest","discount"],"description":"Sort. Listing order: recommended, sales, ascending price, descending price, or newest. An empty value uses the site order."},"minPrice":{"type":"number","minimum":0,"description":"Min price. Minimum listing price in the selected local currency. Must not exceed maxPrice."},"maxPrice":{"type":"number","minimum":0,"description":"Max price. Maximum listing price in the selected local currency. Must not be below minPrice."},"color":{"type":"string","description":"Color filter. Optional color filter value from the selected SHEIN storefront. Accepted values can vary by category."},"size":{"type":"string","description":"Size filter. Optional size filter value from the selected SHEIN storefront. Accepted values can vary by category."},"refine":{"type":"string","description":"Additional filters. Optional SHEIN filter expression, when known. Leave empty if you do not have a category-specific value."},"enrichDetails":{"type":"boolean","description":"Add product details. Add available product details, such as sizes, images, and USD prices, to listing rows. Enabled by default; enrichment updates existing rows without a separate row charge.","default":true},"enrichLimit":{"type":"integer","minimum":0,"maximum":50,"description":"Detail enrichment limit. Maximum listing rows to enrich, from 0 to 50. Defaults to 3; unavailable details remain missing.","default":3},"includeReviews":{"type":"boolean","description":"Include reviews. If review texts come back, each review is its own billed row. Kept so existing tasks keep working. Off by default.","default":false},"expandColors":{"type":"boolean","description":"Expand colors. Add color-product rows from available variants when room remains within maxResults. Off by default; each added row is billed, and its details may be reused from the parent product.","default":false},"page":{"type":"integer","minimum":1,"maximum":100,"description":"Start page. Starting listing page, from 1 to 100. Later pages may be unavailable or return fewer products.","default":1},"maxPages":{"type":"integer","minimum":1,"maximum":50,"description":"Max pages. Legacy page-count setting.","default":1},"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":"linen dress","region":"us","enrichDetails":false,"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":"SHEIN product details by goodsId or URL","description":"Detailed SHEIN product, SKU color/size and pricing rows for a given goodsId or productUrl. Fixed for this endpoint: mode=\"productDetail\".","tags":["products"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"goodsId":{"type":"string","description":"Goods ID. Numeric SHEIN product identifier, also found after -p- in a product URL."},"productUrl":{"type":"string","description":"Product URL. SHEIN HTTPS product page containing -p-<number>.html, or a relative product path. Use a current product URL for the chosen region."},"region":{"type":"string","description":"Region subdomain. SHEIN storefront code, such as us, uk, de, fr, ph, or au. Defaults to the US storefront when omitted.","example":"us"},"currency":{"type":"string","description":"Currency hint. Optional currency hint, such as USD, PHP, or EUR. Availability depends on the selected storefront."},"expandColors":{"type":"boolean","description":"Expand colors. Add color-product rows from available variants when room remains within maxResults. Off by default; each added row is billed, and its details may be reused from the parent product.","default":false},"includeReviews":{"type":"boolean","description":"Include reviews. If review texts come back, each review is its own billed row. Kept so existing tasks keep working. Off by default.","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":{"goodsId":"414286470","region":"us","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":{"rowType":{"type":"string","description":"Row category: product for listing and detail rows, category for category-tree rows, or review for one review sample (includeReviews; currently not produced because SHEIN product pages carry no review texts). Each row is billed once; SKU options and colors are embedded lists.","enum":["product","category","review"]},"type":{"nullable":true,"type":"string","description":"Product subtype: product for a listing, productDetail for details, or category for a category-tree entry.","enum":["product","productDetail","category"]},"source":{"nullable":true,"type":"string","description":"Source label, shein, for combining datasets from different sites."},"host":{"nullable":true,"type":"string","description":"Regional storefront associated with the row, such as us.shein.com."},"productUrl":{"nullable":true,"type":"string","description":"Compatibility alias of url on product rows."},"priceText":{"nullable":true,"type":"string","description":"Its formatting can differ from the numeric price field."},"soldLabel":{"nullable":true,"type":"string","description":"Sales badge text shown on a listing, such as 1k+ sold."},"colorCount":{"nullable":true,"type":"integer","description":"Number of color options found before any color-list truncation. Listings may provide only a displayed count."},"ratingValue":{"nullable":true,"description":"Published average product rating, when available."},"ratingCount":{"nullable":true,"description":"Published aggregate rating or review count, when available. This is distinct from the optional review sample count."},"brand":{"nullable":true,"type":"string","description":"Product brand shown by SHEIN. It is separate from the platform legal entity in org."},"category":{"nullable":true,"type":"string","description":"Category name on a product row. Category-tree rows use name, catId, and categorySlug instead."},"page":{"nullable":true,"type":"integer","description":"Listing page on which the product was found."},"position":{"nullable":true,"type":"integer","description":"Product position within the returned listing page, starting at 1."},"goodsSn":{"nullable":true,"type":"string","description":"SHEIN product-series code. It differs from goodsId and from size-level skuList[].skuCode values."},"productRelationId":{"nullable":true,"type":"string","description":"Style-group identifier that can link color variants."},"images":{"type":"array","description":"Available product image addresses, limited to 40 entries.","items":{"type":"string"}},"imageCount":{"nullable":true,"type":"integer","description":"Number of product images found before the 40-entry gallery limit."},"catId":{"nullable":true,"description":"SHEIN category identifier. On product rows it identifies the product category; on category rows it identifies the category entry."},"cateName":{"nullable":true,"type":"string","description":"Product category name supplied on a detail page."},"stock":{"nullable":true,"description":"Source availability value; it is not a verified inventory count. Do not interpret 0 as confirmed out of stock."},"isOnSale":{"nullable":true,"description":"Source sale-status value, when available."},"retailPrice":{"nullable":true,"description":"Local-currency list price before discounts, when available."},"usdSalePrice":{"nullable":true,"description":"USD sale-price amount supplied by SHEIN, when available."},"usdRetailPrice":{"nullable":true,"description":"USD list-price amount supplied by SHEIN, when available."},"priceLocal":{"nullable":true,"description":"Compatibility alias of salePrice on detail rows."},"priceUsd":{"nullable":true,"description":"Compatibility alias of usdSalePrice on detail rows."},"mallInfo":{"nullable":true,"type":"object","description":"Additional source price and shop information. Its structure can vary by product."},"colors":{"type":"array","description":"Color options with goodsId and attrValue, limited to 50 entries. Each identifier refers to a related color product.","items":{}},"skuList":{"type":"array","description":"Size-level options with skuCode, stock, price, usdPrice, size, and skuSaleAttr, limited to 50 entries. A size SKU is not the product goodsId.","items":{}},"skuCount":{"nullable":true,"type":"integer","description":"Number of SKU options found before the 50-entry limit."},"sizeAttrs":{"type":"array","description":"Available size attributes, limited to 50 entries.","items":{}},"sizeAttrsCount":{"nullable":true,"type":"integer","description":"Number of size attributes found before the 50-entry limit."},"modelsInfo":{"nullable":true,"description":"Available model or material information. Structure varies by product."},"productDescriptionInfo":{"nullable":true,"description":"Available product description or material information. Structure varies by product."},"reviewCount":{"nullable":true,"type":"integer","description":"Number of review samples found on the product page, not the overall review total; ratingCount holds the published aggregate when available. Null when the page has no review module."},"reviewId":{"nullable":true,"type":"string","description":"Review rows: SHEIN review identifier, when supplied."},"content":{"nullable":true,"type":"string","description":"Review rows: review text."},"rating":{"nullable":true,"description":"Review rows: star rating given by the reviewer."},"user":{"nullable":true,"type":"string","description":"Review rows: reviewer display name as shown on the page."},"sku":{"nullable":true,"description":"Review rows: purchased option, when supplied."},"reviewIndex":{"nullable":true,"type":"integer","description":"Review rows: position of the sample on the product page, from 1."},"platformProfile":{"nullable":true,"type":"object","description":"Date and verification details for platform contact information. This does not establish product-seller contacts."},"enriched":{"nullable":true,"type":"boolean","description":"True when available product details were added to a listing row."},"pdp":{"nullable":true,"type":"object","description":"Additional product detail fields attached to an enriched listing row, such as prices, SKU options, images, and review samples."},"colorLabel":{"nullable":true,"type":"string","description":"Color label on an additional row produced by expandColors."},"expandedFrom":{"nullable":true,"type":"string","description":"Parent goodsId for an additional color-product row. Other details may be reused from that parent."},"pageDataBridge":{"nullable":true,"type":"boolean","description":"Whether additional listing-page data was available for this row."},"name":{"nullable":true,"type":"string","description":"Category display name."},"bucket":{"nullable":true,"type":"string","description":"Category grouping, such as clothing, kids, shoes, home, or beauty."},"level":{"nullable":true,"type":"integer","description":"Category-tree depth: 1 for a parent category, 2 for a child category."},"categorySlug":{"nullable":true,"type":"string","description":"Category address slug."},"pathPattern":{"nullable":true,"type":"string","description":"Category address pattern, such as Women-Dresses-c-12472.html."},"categoryUrl":{"nullable":true,"type":"string","description":"Category address, either absolute or relative, when available."},"promoPaths":{"type":"array","description":"Promotional addresses associated with a parent category.","items":{"type":"string"}},"childCount":{"nullable":true,"type":"integer","description":"Number of child categories under a parent category."},"parentId":{"nullable":true,"type":"string","description":"Identifier of the parent category for a child row."},"availability":{"nullable":true,"type":"string","description":"Product rows only: availability label derived from the upstream stock check, such as in_stock or sold_out. Null when the stock check is unavailable."},"inStock":{"nullable":true,"type":"boolean","description":"Product rows only: true when at least one option is reported in stock. Null when the upstream stock check is unavailable, not false."},"soldOut":{"nullable":true,"type":"boolean","description":"Product rows only: true when SHEIN reports the product as sold out. Null when the upstream stock check is unavailable."},"seller":{"nullable":true,"type":"string","description":"Product rows only: store or seller name shown for the product, when available. It is not a seller contact."},"storeCode":{"nullable":true,"type":"string","description":"Product rows only: SHEIN store code for the selling store, when available."},"mallCode":{"nullable":true,"type":"string","description":"Product rows only: SHEIN mall (fulfilment channel) code, when available."},"discountPercent":{"nullable":true,"description":"Product rows only: discount from list price to sale price in percent, as reported by SHEIN or derived from the two prices. Null when either price is missing."},"goodsId":{"nullable":true,"type":"string"},"id":{"type":"string","pattern":"\\S"},"title":{"nullable":true,"type":"string"},"price":{"nullable":true},"salePrice":{"nullable":true},"currency":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"url":{"nullable":true,"type":"string"},"image":{"nullable":true,"type":"string"},"mode":{"nullable":true,"type":"string"},"sourceSurface":{"nullable":true,"type":"string"},"scrapedAt":{"nullable":true,"type":"string"},"phones":{"type":"array","description":"Platform customer-service phone entries with value, type, context, and label. These are not product-seller phone numbers.","items":{}},"emails":{"type":"array","description":"Platform contact email entries with value, type, and context. These are not product-seller email addresses.","items":{}},"address":{"nullable":true,"type":"object","description":"Platform registered or legal address, when available. It does not identify an individual product seller."},"geo":{"type":"object","description":"Geographic coordinates, when available. Product-location coordinates are not provided."},"person":{"nullable":true,"type":"object","description":"Business contact person, when available. Product-seller contact names are not provided."},"org":{"nullable":true,"type":"object","description":"Platform legal entity with name, role, and jurisdiction, when available."},"web":{"type":"object","description":"Official platform website and social links, when available."},"leadSource":{"nullable":true,"type":"string","description":"Source category for platform contact information, such as contact pages."},"leadReveal":{"nullable":true,"type":"string","description":"Whether platform contact information was publicly visible."},"leadAbsences":{"type":"object","description":"Reasons contact fields are missing. Each reason is a not_verified code with an English note from the 2026-08-30 research."},"productLeadNote":{"nullable":true,"type":"string","description":"Explanation of why product-seller contact details are absent."}},"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: id; rowType=product: id, title, url, price."},"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"}}}}}}