{"openapi":"3.1.0","info":{"title":"Cdiscount France Products and Offers (x402 & MCP)","version":"0.1.0","description":"Cdiscount France products, prices, ratings, categories, marketplace sellers and optional offers, 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/cdiscount-com/v1/search":{"post":{"operationId":"cdiscount_com_search","summary":"Cdiscount France Products and Offers: Search Cdiscount products, categories or deals","description":"Product and suggestion rows from Cdiscount France by keyword, category, campaign or reconditioned hub. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["cdiscount-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 URL (or SKU + category ID) opens that product, a category or campaign URL/ID browses it, a keyword searches. Pick a mode to force it. Reconditioned lists refurbished items (a keyword narrows it). Seller shop lists one marketplace seller's products from a shop URL or seller ID. Suggest returns the catalog's autocomplete cards and suggested terms for a keyword.","default":"auto","enum":["auto","keywordSearch","categoryBrowse","campaignBrowse","reconditioned","suggest"]},"keyword":{"type":"string","description":"Search keyword, e.g. ecouteurs (keyword search and suggest; optional for reconditioned)."},"query":{"type":"string","description":"Same as Keyword (older name). Leave empty if Keyword is filled."},"categoryId":{"type":"string","description":"Category ID: browses the category (/l-<id>.html), or with SKU opens one product."},"categoryUrl":{"type":"string","description":"Category page on cdiscount.com (any subdomain), or a path starting with /. Browses that category.","pattern":"^(https://([A-Za-z0-9-]+\\.)*cdiscount\\.com([/?#].*)?|/([^/].*)?)$"},"campaignId":{"type":"string","description":"Campaign ID (campaign browse)."},"campaignSlug":{"type":"string","description":"Campaign slug (optional, with Campaign URL or ID)."},"campaignUrl":{"type":"string","description":"Campaign page on cdiscount.com (any subdomain), or a path starting with /. Browses that campaign.","pattern":"^(https://([A-Za-z0-9-]+\\.)*cdiscount\\.com([/?#].*)?|/([^/].*)?)$"},"sort":{"type":"string","description":"Choose relevance, ascending or descending price, rating, or sales order. Availability of sorting depends on the page type.","enum":["relevance","priceAsc","priceDesc","rating","sales"]},"brand":{"type":"string","description":"Brand to request as a listing filter. Filter support depends on the selected page."},"minPrice":{"type":"number","description":"Minimum listing price to request, in euros."},"maxPrice":{"type":"number","description":"Maximum listing price to request, in euros."},"condition":{"type":"string","description":"Request new, used or refurbished products where the listing supports this filter.","enum":["new","used","refurbished"]},"shipToCountry":{"type":"string","description":"Delivery destination to record with results from the French catalog. This does not select another catalog or guarantee that an offer ships there.","enum":["FR","BE","ES","IT","DE","NL","LU","AT","IE","PT"]},"browseCountry":{"type":"string","description":"Catalog market (FR only).","default":"FR","enum":["FR"]},"currency":{"type":"string","description":"Prices use EUR when a price is available. Other currency values do not convert prices.","default":"EUR"},"page":{"type":"integer","description":"Listing page to start from, between 1 and 100.","default":1,"minimum":1,"maximum":100},"maxPages":{"type":"integer","description":"Maximum number of listing pages to scan, from 1 to 50 (default 50). Collection stops earlier once maxResults is reached.","default":50,"minimum":1,"maximum":50},"enrichDetails":{"type":"boolean","description":"Try product pages and published seller business information for listing rows. Enabled by default; enrichLimit controls how many listing products are checked.","default":true},"includeOffers":{"type":"boolean","description":"Add a separate, billed row for each collected marketplace offer. Product and offer rows count together toward maxResults.","default":false},"maxResults":{"type":"integer","description":"Most rows for the selected keyword, category, campaign, or product input. Default 70; larger numbers are collected in parts of 70. Product and offer rows count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"keyword":"ecouteurs","enrichDetails":false,"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_cdiscount_com"},"example":{"jobId":"job_cdiscoun_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","productId":"example_productId","offerId":"example_offerId","sku":"example_sku","categoryId":"example_categoryId"}],"meta":{"site":"cdiscount-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/cdiscount-com/v1/products":{"post":{"operationId":"cdiscount_com_products","summary":"Cdiscount France Products and Offers: Cdiscount product details by URL or SKU","description":"Product detail rows (plus optional offers or reviews) for a given productUrl or sku. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["cdiscount-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":{"productUrl":{"type":"string","description":"Product page on cdiscount.com (any subdomain), or a path starting with /. Opens that product (product detail).","pattern":"^(https://([A-Za-z0-9-]+\\.)*cdiscount\\.com([/?#].*)?|/([^/].*)?)$"},"sku":{"type":"string","description":"Product SKU. Use together with Category ID for a product page (/f-<category>-<sku>.html)."},"categoryId":{"type":"string","description":"Category ID: browses the category (/l-<id>.html), or with SKU opens one product."},"includeOffers":{"type":"boolean","description":"Add a separate, billed row for each collected marketplace offer. Product and offer rows count together toward maxResults.","default":false},"includeReviews":{"type":"boolean","description":"Add separate, billed review rows for product detail runs. Product and review rows count together toward maxResults.","default":false},"includeQuestions":{"type":"boolean","description":"Add separate, billed question-and-answer rows for product detail runs. Product and question rows count together toward maxResults.","default":false},"enrichDetails":{"type":"boolean","description":"Try product pages and published seller business information for listing rows. Enabled by default; enrichLimit controls how many listing products are checked.","default":true},"maxResults":{"type":"integer","description":"Most rows for the selected keyword, category, campaign, or product input. Default 70; larger numbers are collected in parts of 70. Product and offer rows count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"productUrl":"https://www.cdiscount.com/f-10703-m280cs1030500rb.html","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_cdiscount_com"},"example":{"jobId":"job_cdiscoun_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","productId":"example_productId","offerId":"example_offerId","sku":"example_sku","categoryId":"example_categoryId"}],"meta":{"site":"cdiscount-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/cdiscount-com/v1/sellers":{"post":{"operationId":"cdiscount_com_sellers","summary":"Cdiscount France Products and Offers: Marketplace seller shop listings","description":"Seller storefront and catalog rows for a given Cdiscount sellerId, shopSlug or shopUrl. Unit price: $0.003000/row USDC (default quote 10 rows, max 20 rows). Unsettled / 0-row / error responses are never charged.","tags":["cdiscount-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":{"sellerId":{"type":"string","description":"Cdiscount marketplace seller ID (seller shop). Use instead of Seller shop URL."},"shopSlug":{"type":"string","description":"Seller shop slug (optional, with Seller ID)."},"shopUrl":{"type":"string","description":"Marketplace seller shop on cdiscount.com (https://www.cdiscount.com/mpv-<sellerId>-<slug>.html), or a path starting with /. Lists that seller's products (seller shop).","pattern":"^(https://([A-Za-z0-9-]+\\.)*cdiscount\\.com([/?#].*)?|/([^/].*)?)$"},"page":{"type":"integer","description":"Listing page to start from, between 1 and 100.","default":1,"minimum":1,"maximum":100},"maxPages":{"type":"integer","description":"Maximum number of listing pages to scan, from 1 to 50 (default 50). Collection stops earlier once maxResults is reached.","default":50,"minimum":1,"maximum":50},"maxResults":{"type":"integer","description":"Most rows for the selected keyword, category, campaign, or product input. Default 70; larger numbers are collected in parts of 70. Product and offer rows count together. The whole run stops at your maximum total charge. Free platform plan: up to 200 rows per run and 10 runs of this Actor.","default":10,"minimum":1,"maximum":20}},"additionalProperties":false},"example":{"shopUrl":"https://www.cdiscount.com/mpv-1001-seller.html","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_cdiscount_com"},"example":{"jobId":"job_cdiscoun_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","productId":"example_productId","offerId":"example_offerId","sku":"example_sku","categoryId":"example_categoryId"}],"meta":{"site":"cdiscount-com","endpoint":"sellers","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/cdiscount-com/v1/health":{"get":{"operationId":"cdiscount_com_health","summary":"Cdiscount France Products and Offers: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["cdiscount-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_cdiscount_com":{"type":"object","properties":{"rowType":{"type":["string","null"],"title":"Row type"},"id":{"type":["string","null"],"title":"Entity ID"},"productId":{"type":["string","null"],"title":"Product ID"},"offerId":{"type":["string","null"],"title":"Offer ID"},"sku":{"type":["string","null"],"title":"SKU"},"categoryId":{"type":["string","null"],"title":"Category"},"title":{"type":["string","null"],"title":"Title"},"price":{"type":["string","null"],"title":"Price"},"currency":{"type":["string","null"],"title":"Currency"},"rating":{"type":["string","null"],"title":"Rating"},"reviewCount":{"type":["string","null"],"title":"Reviews"},"browseCountry":{"type":["string","null"],"title":"Country"},"mode":{"type":["string","null"],"title":"Mode"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"org":{"type":["string","null"],"title":"Org"},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address":{"type":["string","null"],"title":"Address"},"geo":{"type":["string","null"],"title":"Geo"},"person":{"type":["string","null"],"title":"Person"},"web":{"type":["string","null"],"title":"Web"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"}},"additionalProperties":true},"Response_cdiscount_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_cdiscount_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"]}}