{"openapi":"3.1.0","info":{"title":"1688 Global Wholesale and Suppliers (x402 & MCP)","version":"0.1.0","description":"1688 Global wholesale product search, rankings, offer details and supplier profiles in English with USD pricing, 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/alibaba-1688-com/v1/search":{"post":{"operationId":"alibaba_1688_com_search","summary":"1688 Global Wholesale and Suppliers: Search wholesale products or browse rankings","description":"Wholesale offer rows from keyword search or category rankings. Leave mode on auto or select ranking with categoryId. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["alibaba-1688-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","description":"Auto selects detail for product URLs or offer IDs, supplier for member IDs, and search for a keyword. Select ranking explicitly to collect a ranking tab without a keyword.","default":"auto","enum":["auto","search","ranking"]},"keyword":{"type":"string","description":"Enter one product phrase, preferably in English for the Global catalog. Leaving all target fields empty starts the three-row phone case example, with normal charges."},"startUrls":{"type":"array","items":{"type":"string","pattern":"^https?://([A-Za-z0-9-]+\\.)*1688\\.com/.*$"},"description":"Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"sortBy":{"type":"string","description":"Sort order for Global keyword search results.","default":"default","enum":["default","sales","price_asc","price_desc"]},"minPrice":{"type":"number","description":"Optional lower USD price bound for Global keyword search.","minimum":0},"maxPrice":{"type":"number","description":"Optional upper USD price bound for Global keyword search.","minimum":0},"minOrderQuantity":{"type":"integer","description":"Optional minimum order quantity filter for Global keyword search.","minimum":1,"maximum":1000000},"supplierFilter":{"type":"string","description":"Filter Global keyword search results by verified 1688 supplier tier.","default":"all","enum":["all","super_factory","certified_merchant"]},"certifications":{"type":"array","items":{"type":"string"},"description":"Optional certification filters for Global keyword search, such as CE, RoHS, FCC, UL, UKCA, KC, or PSE."},"rankingName":{"type":"string","description":"Choose the ranking tab to read when mode is ranking. Trending is the older name of TRENDING; Most orders in the last 30 days was merged into Most_Popular. Rows keep the name you chose in rankingName and the tab read in rankingCode.","default":"Most_Popular","enum":["Most_Popular","New_Arrivals","TRENDING","Trending","Ranked_by_L30_Days_Total_Orders"]},"categoryId":{"type":"string","description":"Enter the numeric category ID used by the ranking page, such as 54.","default":"54","pattern":"^[0-9]+$"},"categoryLevel":{"type":"integer","description":"Category depth for the ranking filter, from 1 to 3.","default":1,"minimum":1,"maximum":3},"countryCode":{"type":"string","description":"Two-letter country filter for rankings, such as CN or US. This does not change the search market.","default":"CN","pattern":"^[A-Za-z]{2}$"},"maxPages":{"type":"integer","description":"Number of Global search pages to check, from 1 to 5. Collection can stop sooner when the requested row limit is reached.","default":1,"minimum":1,"maximum":5},"includeDetails":{"type":"boolean","description":"Add available product specifications, SKU prices, images, shipping and ratings to search or ranking rows. Enabled by default; CNY details do not overwrite USD search prices.","default":true},"maxDetailItems":{"type":"integer","description":"Maximum search or ranking rows to enrich with details, up to 20 and no more than maxResults. Use at least 1 when includeDetails is enabled; direct detail mode attempts all selected products.","default":1,"minimum":0,"maximum":20},"includeLeads":{"type":"boolean","description":"Add available supplier contacts and company fields to product rows; defaults to includeDetails. Supplier mode always attempts supplier information."},"maxLeadItems":{"type":"integer","description":"Maximum search or ranking rows to enrich with supplier information, up to 100 and no more than maxResults. Defaults to maxDetailItems; supplier mode attempts all selected suppliers.","minimum":0,"maximum":100},"maxResults":{"type":"integer","description":"Most rows to deliver for each keyword, product ID or supplier member ID, from 1 to 100; default 70. Your maximum charge limits the whole run; Free platform plan users are limited by the developer to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"keyword":"phone case","maxResults":5}}}},"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_alibaba_1688_com"},"example":{"jobId":"job_alibaba-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"offerId":"example_offerId","title":"example_title","sellerName":"example_sellerName","priceText":10,"salesText":"example_salesText","detailStatus":"example_detailStatus"}],"meta":{"site":"alibaba-1688-com","endpoint":"search","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"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/alibaba-1688-com/v1/products":{"post":{"operationId":"alibaba_1688_com_products","summary":"1688 Global Wholesale and Suppliers: Wholesale offer details by offer ID or URL","description":"Detailed offer rows (with optional SKU, contact, DSR, similar and review rows) for given 1688 offerIds or URLs. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["alibaba-1688-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"offerIds":{"type":"array","items":{"type":"string"},"description":"Enter numeric 1688 product IDs, such as the digits in detail.1688.com/offer/123456789.html. Direct details retain their source language and CNY prices."},"startUrls":{"type":"array","items":{"type":"string","pattern":"^https?://([A-Za-z0-9-]+\\.)*1688\\.com/.*$"},"description":"Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"includeDescription":{"type":"boolean","description":"Include available product description text and images when collecting product details.","default":true},"includeContactInfo":{"type":"boolean","description":"Attempt additional published landline and fax details. Requires includeLeads; unavailable contacts remain empty.","default":false},"includeSku":{"type":"boolean","description":"Fetch the standalone SKU selector surface for enriched product rows when available.","default":false},"includeReviews":{"type":"boolean","description":"Add buyer reviews of each enriched product as rows of their own (recordType review). Review rows share each input's maxResults with the product rows and are charged like any row: one offer ID with maxResults 3 gives the product and up to two reviews.","default":false},"includeDsr":{"type":"boolean","description":"Fetch detailed store rating tags and fulfillment scores for enriched product rows.","default":false},"includeSimilar":{"type":"boolean","description":"Fetch comparable offer data on enriched product rows when available.","default":false},"includeRecommend":{"type":"boolean","description":"Fetch store recommendation metadata on enriched product rows when available.","default":false},"maxResults":{"type":"integer","description":"Most rows to deliver for each keyword, product ID or supplier member ID, from 1 to 100; default 70. Your maximum charge limits the whole run; Free platform plan users are limited by the developer to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"offerIds":["123456789"],"maxResults":5}}}},"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_alibaba_1688_com"},"example":{"jobId":"job_alibaba-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"offerId":"example_offerId","title":"example_title","sellerName":"example_sellerName","priceText":10,"salesText":"example_salesText","detailStatus":"example_detailStatus"}],"meta":{"site":"alibaba-1688-com","endpoint":"products","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"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/alibaba-1688-com/v1/suppliers":{"post":{"operationId":"alibaba_1688_com_suppliers","summary":"1688 Global Wholesale and Suppliers: Supplier company profiles by member ID or URL","description":"Supplier rows for given 1688 memberIds or company profile URLs. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["alibaba-1688-com","eCommerce"],"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD","amount":"0.015000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"memberIds":{"type":"array","items":{"type":"string"},"description":"Enter supplier member IDs, including b2b- IDs or older alphanumeric IDs. Do not enter shop URLs."},"startUrls":{"type":"array","items":{"type":"string","pattern":"^https?://([A-Za-z0-9-]+\\.)*1688\\.com/.*$"},"description":"Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"includeContactInfo":{"type":"boolean","description":"Attempt additional published landline and fax details. Requires includeLeads; unavailable contacts remain empty.","default":false},"includeDsr":{"type":"boolean","description":"Fetch detailed store rating tags and fulfillment scores for enriched product rows.","default":false},"maxResults":{"type":"integer","description":"Most rows to deliver for each keyword, product ID or supplier member ID, from 1 to 100; default 70. Your maximum charge limits the whole run; Free platform plan users are limited by the developer to 200 rows per run and 10 runs of this Actor.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"memberIds":["b2b-example123"],"maxResults":5}}}},"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_alibaba_1688_com"},"example":{"jobId":"job_alibaba-_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"offerId":"example_offerId","title":"example_title","sellerName":"example_sellerName","priceText":10,"salesText":"example_salesText","detailStatus":"example_detailStatus"}],"meta":{"site":"alibaba-1688-com","endpoint":"suppliers","maxResults":5,"payment":{"scheme":"upto","network":"eip155:84532","quotedMicrousd":15000,"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/alibaba-1688-com/v1/health":{"get":{"operationId":"alibaba_1688_com_health","summary":"1688 Global Wholesale and Suppliers: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["alibaba-1688-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_alibaba_1688_com":{"type":"object","properties":{"offerId":{"type":["string","number","boolean","object","array","null"]},"title":{"type":["string","number","boolean","object","array","null"]},"sellerName":{"type":["string","number","boolean","object","array","null"]},"priceText":{"type":["number","string","null"]},"salesText":{"type":["string","number","boolean","object","array","null"]},"detailStatus":{"type":["string","number","boolean","object","array","null"]},"leadSource":{"type":["string","number","boolean","object","array","null"]},"leadReveal":{"type":["string","number","boolean","object","array","null"]}},"additionalProperties":true},"Response_alibaba_1688_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_alibaba_1688_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"]}}