{"openapi":"3.1.0","info":{"title":"ASOS Fashion Products Prices and Stock (x402 & MCP)","version":"0.1.0","description":"ASOS fashion products, prices, size stock availability, categories and reviews across regional storefronts, one row per entity.","x-guidance":"Structured real-time web intelligence APIs paid per delivered row in USDC via x402. All endpoints are synchronous at POST /s/<site>/v1/<endpoint> and also exposed over stateless MCP at POST /mcp. Supports x402 v2 'upto' (Permit2, charged strictly for delivered rows) and 'exact' (EIP-3009). Empty/0-row (404), invalid input (422), timeout (504), and upstream failures (502) are never charged.","contact":{"email":"ops@opendata.best"}},"servers":[{"url":"https://x402.opendata.best"}],"paths":{"/s/asos-com/v1/search":{"post":{"operationId":"asos_com_search","summary":"ASOS Fashion Products Prices and Stock: Search ASOS products or browse categories","description":"ASOS catalog rows by keyword, category, gender, bucket or taxonomy discovery. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["asos-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"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","enum":["auto","keywordSearch","categorySearch","categories","sitemap","facetSitemap"]},"query":{"type":"string","description":"Words to search for on ASOS, e.g. black dress."},"cid":{"type":"string","description":"ASOS category number (the cid= value in a category page link), e.g. 8799.","pattern":"^[0-9]+$"},"categorySlug":{"type":"string","description":"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 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","description":"Choose a category group, such as sale or clothing. Used for category searches and to filter the category list.","enum":["sale","new_in","face_body","clothing","shoes","accessories","activewear","brands","outlet","other"]},"gender":{"type":"string","description":"Choose women or men for category searches and category lists.","default":"women","enum":["women","men"]},"sitemapKind":{"type":"string","description":"Choose product for product links, or facet for category links with filter values. Used in sitemap mode.","default":"product","enum":["product","facet"]},"browseCountry":{"type":"string","description":"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","pattern":"^([A-Za-z]{2}|ROW|row)$"},"currency":{"type":"string","description":"Optional currency code, such as GBP or USD. Leave empty to use the selected market currency."},"refine":{"type":"string","description":"ASOS filter expression copied from a category link, such as attribute_10992:61379. Available filters depend on the category."},"sort":{"type":"string","description":"Choose the listing order: newest, price low to high, price high to low, most saved or trending.","enum":["freshness","pricedasc","priceddesc","favourite","trending"]},"currentPriceRange":{"type":"string","description":"Price-range value copied from the currentpricerange parameter of an ASOS listing URL."},"maxPages":{"type":"integer","description":"Maximum listing pages or sitemap pages to read, from 1 to 50. The row limit may stop collection earlier.","default":1,"minimum":1,"maximum":50},"enrichDetails":{"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":{"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":{"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":{"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 t","default":false},"maxReviews":{"type":"integer","description":"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,"minimum":1,"maximum":5},"maxResults":{"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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"query":"black dress","browseCountry":"GB","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_asos_com"},"example":{"jobId":"job_asos-com_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"id":"example_001","colourWayId":"example_colourWayId","title":"example_title","brandName":"example_brandName","price":"example_price","currency":"example_currency"}],"meta":{"site":"asos-com","endpoint":"search","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/asos-com/v1/products":{"post":{"operationId":"asos_com_products","summary":"ASOS Fashion Products Prices and Stock: ASOS product details by ID or URL","description":"Detailed product, variant and size stock rows for a given productId or productUrl. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["asos-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.030000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string","description":"ASOS product number, e.g. 123456789 (the digits after /prd/ in a product link).","pattern":"^[0-9]+$"},"productUrl":{"type":"string","description":"Link to one ASOS product page (any ASOS country site), e.g. https://www.asos.com/<brand>/<product-name>/prd/123456789.","pattern":"^.*/prd/[0-9]+.*$"},"colourWayId":{"type":"string","description":"Optional colour identifier for a product-detail request. Leave empty to use the product selection returned by ASOS.","pattern":"^[0-9]*$"},"browseCountry":{"type":"string","description":"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","pattern":"^([A-Za-z]{2}|ROW|row)$"},"currency":{"type":"string","description":"Optional currency code, such as GBP or USD. Leave empty to use the selected market currency."},"expandColours":{"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":{"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":{"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 t","default":false},"maxReviews":{"type":"integer","description":"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,"minimum":1,"maximum":5},"includeSaveCount":{"type":"boolean","description":"Fetch public 30-day (720-hour) product save count metrics and PDP saveCount metadata on productDetail or enrichDetails runs.","default":false},"maxResults":{"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":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"productId":"209342097","browseCountry":"GB","maxResults":10}}}},"responses":{"200":{"description":"Synchronous data rows with x402 PAYMENT-RESPONSE receipt header.","headers":{"PAYMENT-RESPONSE":{"description":"Base64-encoded x402 v2 SettleResponse receipt.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_asos_com"},"example":{"jobId":"job_asos-com_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"id":"example_001","colourWayId":"example_colourWayId","title":"example_title","brandName":"example_brandName","price":"example_price","currency":"example_currency"}],"meta":{"site":"asos-com","endpoint":"products","maxResults":10,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":30000,"settledMicrousd":3000,"transaction":"0x0000000000000000000000000000000000000000000000000000000000000000"}}}}}},"402":{"description":"Payment required or invalid/declined payment authorization (never charged).","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 PaymentRequired quote.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"no_results: 0 rows matched the query; aborted before settlement (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"payment_id_conflict: payment-identifier reused with different parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid or missing request parameters (validated before /verify; charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit or payer cooldown exceeded (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"502":{"description":"Upstream source failed or blocked (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"settlement_pending or facilitator_unavailable; retry same payment to reconcile.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"504":{"description":"upstream_timeout: synchronous deadline reached and task cancelled (charged=false).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/s/asos-com/v1/health":{"get":{"operationId":"asos_com_health","summary":"ASOS Fashion Products Prices and Stock: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["asos-com","health"],"responses":{"200":{"description":"Operational","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"charged":{"type":"boolean"}}},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"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"}}},"Row_asos_com":{"type":"object","properties":{"id":{"type":["string","null"],"title":"ID"},"colourWayId":{"type":["string","null"],"title":"ColourWay"},"title":{"type":["string","null"],"title":"Title"},"brandName":{"type":["string","null"],"title":"Brand"},"price":{"type":["string","null"],"title":"Price"},"currency":{"type":["string","null"],"title":"Currency"},"browseCountry":{"type":["string","null"],"title":"Country"},"mode":{"type":["string","null"],"title":"Mode"},"url":{"type":["string","null"],"format":"uri","title":"URL"}},"additionalProperties":true},"Response_asos_com":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"done":{"type":"boolean"},"rowCount":{"type":"integer","minimum":1},"rowsBilled":{"type":"integer","minimum":1},"rowsDelivered":{"type":"integer","minimum":1},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row_asos_com"}},"meta":{"type":"object","properties":{"site":{"type":"string"},"endpoint":{"type":"string"},"maxResults":{"type":"integer"},"payment":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"quotedMicrousd":{"type":"integer"},"settledMicrousd":{"type":"integer"},"transaction":{"type":"string"},"payer":{"type":"string"}}}}}},"required":["jobId","status","done","rowCount","rows"]}}},"x-discovery":{"ownershipProofs":["0xdb7c562a3ef6f9f29da4672abdab1489e82e910a91b863e3c22b905df6522b7223798a84245e0452cab689483b6cbb7cd8c13141319df982b213dea31ee7e4311c"]}}