{"openapi":"3.1.0","info":{"title":"Global Sources B2B Products and Suppliers (x402 & MCP)","version":"0.1.0","description":"Global Sources wholesale products, suppliers, trade-show exhibitors and 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/globalsources-com/v1/search":{"post":{"operationId":"globalsources_com_search","summary":"Global Sources B2B Products and Suppliers: Search products, categories and trade-show exhibitors","description":"Product or exhibitor rows by keyword query, categoryId, categoryUrl or exhibitorRegion. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["globalsources-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":"Leave on auto to select a mode from your target fields. Choose an explicit mode only when you want to force that selection.","default":"auto","enum":["auto","product_search","category","exhibitors"]},"query":{"type":"string","description":"One product keyword, such as stainless steel pipe. A non-empty searchQueries list replaces this value."},"searchQueries":{"type":"array","items":{"type":"string"},"description":"One or more product keywords, each with its own maxResults row allowance. This list replaces query when filled."},"categoryUrl":{"type":"string","description":"A Global Sources category URL or relative category path, such as /category/1-industrial-supplies-for-sale-price_48659/.","pattern":"^(https?://([A-Za-z0-9-]+\\.)*globalsources\\.com/.*|/.*)?$"},"categoryId":{"type":"string","description":"Numeric category ID when you do not provide categoryUrl.","pattern":"^[0-9]*$"},"exhibitorRegion":{"type":"string","description":"Trade-show exhibitor directory region code, such as HK. Available suppliers depend on the directory.","pattern":"^[A-Za-z]{2,10}$"},"maxPages":{"type":"integer","description":"Maximum listing pages to request, from 1 to 50. Fewer pages may be needed to reach maxResults.","default":5,"minimum":1,"maximum":50},"page":{"type":"integer","description":"Starting listing page, from 1 to 100. Use 1 to begin at the first page.","default":1,"minimum":1,"maximum":100},"enrichDetails":{"type":"boolean","description":"Add available details and public contacts to product, category and exhibitor rows; listing enrichment can be limited. Enabled by default, while supplier mode requests profile and contact information regardless of this setting.","default":true},"lang":{"type":"string","description":"Global Sources language setting. Use enus for English; other language coverage is not guaranteed.","default":"enus"},"surface":{"type":"string","description":"Choose www for the desktop site or mobile for the mobile site. Use www unless you specifically need the mobile version.","default":"www","enum":["www","mobile"]},"fields":{"type":"array","items":{"type":"string"},"description":"Optional list of output field names to keep. Leave empty to retain all available fields."},"maxResults":{"type":"integer","description":"Maximum rows for each query, category, product URL/ID, supplier URL/profile, or exhibitor region. Default 70; larger values are collected in parts of at most 70 when the source supports continuation. Product and supplier row types share this per-input allowance. The whole run stops at your maximum total charge; the free platform plan is capped at 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"query":"usb hub","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_globalsources_com"},"example":{"jobId":"job_globalso_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","type":"example_type","lang":"example_lang","surface":"example_surface","title":"example_title"}],"meta":{"site":"globalsources-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/globalsources-com/v1/products":{"post":{"operationId":"globalsources_com_products","summary":"Global Sources B2B Products and Suppliers: Product details by product ID or URL","description":"Detailed product rows for given productUrls, detailUrls or productIds. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["globalsources-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":{"productUrls":{"type":"array","items":{"type":"string"},"description":"Global Sources product page URLs, such as links ending in p.htm."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Global Sources product or supplier links. With mode set to auto, a list containing only supplier homepage links selects supplier mode; product links select product mode."},"productIds":{"type":"array","items":{"type":"string"},"description":"Product numbers, when you do not have the product link."},"enrichDetails":{"type":"boolean","description":"Add available details and public contacts to product, category and exhibitor rows; listing enrichment can be limited. Enabled by default, while supplier mode requests profile and contact information regardless of this setting.","default":true},"lang":{"type":"string","description":"Global Sources language setting. Use enus for English; other language coverage is not guaranteed.","default":"enus"},"surface":{"type":"string","description":"Choose www for the desktop site or mobile for the mobile site. Use www unless you specifically need the mobile version.","default":"www","enum":["www","mobile"]},"fields":{"type":"array","items":{"type":"string"},"description":"Optional list of output field names to keep. Leave empty to retain all available fields."},"maxResults":{"type":"integer","description":"Maximum rows for each query, category, product URL/ID, supplier URL/profile, or exhibitor region. Default 70; larger values are collected in parts of at most 70 when the source supports continuation. Product and supplier row types share this per-input allowance. The whole run stops at your maximum total charge; the free platform plan is capped at 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"productUrls":["https://www.globalsources.com/Hydraulic-cylinder/Single-Acting-Hydraulic-cylinders-1226081829p.htm"],"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_globalsources_com"},"example":{"jobId":"job_globalso_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","type":"example_type","lang":"example_lang","surface":"example_surface","title":"example_title"}],"meta":{"site":"globalsources-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/globalsources-com/v1/suppliers":{"post":{"operationId":"globalsources_com_suppliers","summary":"Global Sources B2B Products and Suppliers: Supplier profiles by URL, short name or homepage ID","description":"Supplier rows for given supplierUrls, detailUrls, supplierShortName or homepageId. Unit price: $0.003000/row USDC (default quote 5 rows, max 10 rows). Unsettled / 0-row / error responses are never charged.","tags":["globalsources-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":{"supplierUrls":{"type":"array","items":{"type":"string"},"description":"Supplier homepage links, e.g. https://easy-buy.manufacturer.globalsources.com/homepage_6008855290824.htm."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Global Sources product or supplier links. With mode set to auto, a list containing only supplier homepage links selects supplier mode; product links select product mode."},"supplierShortName":{"type":"string","description":"Supplier subdomain, such as easy-buy. Fill this together with homepageId when you do not provide supplierUrls or detailUrls."},"homepageId":{"type":"string","description":"Digits from the supplier homepage URL, such as 6008855290824. Pair with supplierShortName when you do not provide a supplier URL.","pattern":"^[0-9]+$"},"enrichDetails":{"type":"boolean","description":"Add available details and public contacts to product, category and exhibitor rows; listing enrichment can be limited. Enabled by default, while supplier mode requests profile and contact information regardless of this setting.","default":true},"lang":{"type":"string","description":"Global Sources language setting. Use enus for English; other language coverage is not guaranteed.","default":"enus"},"surface":{"type":"string","description":"Choose www for the desktop site or mobile for the mobile site. Use www unless you specifically need the mobile version.","default":"www","enum":["www","mobile"]},"fields":{"type":"array","items":{"type":"string"},"description":"Optional list of output field names to keep. Leave empty to retain all available fields."},"maxResults":{"type":"integer","description":"Maximum rows for each query, category, product URL/ID, supplier URL/profile, or exhibitor region. Default 70; larger values are collected in parts of at most 70 when the source supports continuation. Product and supplier row types share this per-input allowance. The whole run stops at your maximum total charge; the free platform plan is capped at 200 rows per run and 10 runs.","default":5,"minimum":1,"maximum":10}},"additionalProperties":false},"example":{"supplierUrls":["https://easy-buy.manufacturer.globalsources.com/homepage_6008855290824.htm"],"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_globalsources_com"},"example":{"jobId":"job_globalso_example","status":"succeeded","done":true,"rowCount":1,"rowsBilled":1,"rowsDelivered":1,"rows":[{"rowType":"example_rowType","id":"example_001","type":"example_type","lang":"example_lang","surface":"example_surface","title":"example_title"}],"meta":{"site":"globalsources-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/globalsources-com/v1/health":{"get":{"operationId":"globalsources_com_health","summary":"Global Sources B2B Products and Suppliers: health check","description":"Free readiness check (never returns 402 and never starts a collection).","tags":["globalsources-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_globalsources_com":{"type":"object","properties":{"rowType":{"type":["string","number","boolean","object","array","null"]},"id":{"type":["string","number","boolean","object","array","null"]},"type":{"type":["string","null"],"title":"Type"},"lang":{"type":["string","null"],"title":"Lang"},"surface":{"type":["string","null"],"title":"Surface"},"title":{"type":["string","null"],"title":"Title"},"supplierName":{"type":["string","null"],"title":"Supplier"},"companyName":{"type":["string","null"],"title":"Company"},"url":{"type":["string","null"],"format":"uri","title":"URL"},"productId":{"type":["string","number","boolean","object","array","null"]},"supplierShortName":{"type":["string","number","boolean","object","array","null"]},"phones":{"type":["string","null"],"title":"Phones"},"emails":{"type":["string","null"],"title":"Emails"},"address.full":{"type":["string","null"],"title":"Address"},"person.name":{"type":["string","null"],"title":"Contact person"},"org.name":{"type":["string","null"],"title":"Organization"},"web.website":{"type":["string","null"],"format":"uri","title":"Website"},"geo":{"type":["string","null"],"title":"Geo"},"leadSource":{"type":["string","null"],"title":"Lead source"},"leadReveal":{"type":["string","null"],"title":"Lead reveal"},"leadAbsences":{"type":["string","null"],"title":"Lead absences"},"scrapedAt":{"type":["string","null"],"title":"Scraped"}},"additionalProperties":true},"Response_globalsources_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_globalsources_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"]}}