{
  "openapi": "3.0.1",
  "info": {
    "title": "Global Sources Verified Supplier & Product Finder",
    "description": "Search Global Sources products or suppliers, or browse a product category, and get price, minimum order quantity, supplier name, country and audited/verified status for each match. Optional filter for verified suppliers only.",
    "version": "1.1",
    "x-build-id": "tIPwHuyjHVlbGYM24"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~global-sources-verified-supplier-and-product/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-global-sources-verified-supplier-and-product",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/vexaloom-labs~global-sources-verified-supplier-and-product/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-global-sources-verified-supplier-and-product",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/vexaloom-labs~global-sources-verified-supplier-and-product/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-global-sources-verified-supplier-and-product",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "searchProducts",
              "searchSuppliers",
              "categoryBrowse"
            ],
            "type": "string",
            "description": "What to collect from Global Sources.",
            "default": "searchProducts"
          },
          "keywords": {
            "title": "Search keywords",
            "minItems": 1,
            "type": "array",
            "description": "One or more product or supplier keywords (for example \"solar panel\" or \"LED lights\"). Used by the two keyword modes; category browsing ignores it.",
            "items": {
              "type": "string"
            },
            "default": [
              "solar panel"
            ]
          },
          "category": {
            "title": "Product category",
            "enum": [
              "21067",
              "34869",
              "22638",
              "18244",
              "21063",
              "21066",
              "18269",
              "50518",
              "23771",
              "21043",
              "22590",
              "50478",
              "21104",
              "21060",
              "21062",
              "21064",
              "48659",
              "23120",
              "50218",
              "48660",
              "50538",
              "48658",
              "Electronics",
              "Fashion-Accessories",
              "Home-Garden",
              "Auto-Transportation",
              "Gifts-Premiums",
              "Health-Beauty",
              "Computer-Networking",
              "Machinery-Industrial",
              "Building-Construction",
              "Telecommunications"
            ],
            "type": "string",
            "description": "Top-level Global Sources category to browse in categoryBrowse mode. Values from earlier versions are still accepted and mapped to the closest current category.",
            "default": "21067"
          },
          "verifiedOnly": {
            "title": "Verified suppliers only",
            "type": "boolean",
            "description": "Keep only listings whose supplier has a Global Sources verified-supplier or verified-manufacturer badge.",
            "default": false
          },
          "businessTypes": {
            "title": "Supplier business types",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep suppliers with at least one of these business types. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "Manufacturer",
                "Trading Company",
                "Online Seller",
                "Wholesaler",
                "Buying Office",
                "Exporter",
                "Distributor",
                "Agent",
                "Retailer",
                "Other",
                "Consultant",
                "Importer"
              ]
            },
            "default": []
          },
          "supplierCountries": {
            "title": "Supplier countries",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep suppliers located in one of these countries. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "China",
                "Hong Kong SAR",
                "Taiwan",
                "Thailand",
                "Vietnam",
                "India",
                "Bangladesh",
                "Pakistan",
                "Indonesia",
                "Malaysia",
                "Singapore",
                "Philippines",
                "South Korea",
                "Japan",
                "United States",
                "Canada",
                "Mexico",
                "Brazil",
                "United Kingdom",
                "Germany",
                "France",
                "Italy",
                "Spain",
                "Netherlands",
                "Belgium",
                "Poland",
                "Czech Republic",
                "Sweden",
                "Switzerland",
                "Denmark",
                "Turkey",
                "United Arab Emirates",
                "Saudi Arabia",
                "Egypt",
                "South Africa",
                "Australia",
                "Russia",
                "Ukraine"
              ]
            },
            "default": []
          },
          "productCertificates": {
            "title": "Product certificates",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep products with at least one of these verified product certificates. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "CE",
                "ROHS",
                "FCC",
                "Test Report",
                "REACH",
                "EN71",
                "EMC",
                "UL",
                "TUV",
                "ASTM",
                "UKCA",
                "CPC",
                "CB",
                "SGS",
                "Certificate of Compliance",
                "PSE",
                "Certificate of Conformity",
                "CCC",
                "OEKO-Tex 100",
                "ETL"
              ]
            },
            "default": []
          },
          "companyCertificates": {
            "title": "Company certificates",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep suppliers with at least one of these verified company certificates. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "ISO 9001:2015",
                "ISO 14001",
                "BSCI",
                "SGS",
                "FSC",
                "SA8000",
                "ISO 9001:2000",
                "ISO 13485",
                "ISO 9001:2008",
                "OHSAS 18001",
                "ISO/TS 16949"
              ]
            },
            "default": []
          },
          "supplierRank": {
            "title": "Supplier rank",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep suppliers at one of these Global Sources rank levels (P0 is unranked). Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "0",
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "P0",
                "P1",
                "P2",
                "P3",
                "P4",
                "P5",
                "P6"
              ]
            },
            "default": []
          },
          "yearsInBusiness": {
            "title": "Years in business",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep suppliers in one of these company-age bands. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "30",
                "15-25",
                "5-15",
                "-5"
              ],
              "enumTitles": [
                "30+ years",
                "15 - 24 years",
                "5 - 14 years",
                "0 - 4 years"
              ]
            },
            "default": []
          },
          "exportMarkets": {
            "title": "Past export markets",
            "uniqueItems": true,
            "type": "array",
            "description": "Supplier search only: keep suppliers that have exported to these regions. Empty means no filter.",
            "items": {
              "type": "string",
              "enum": [
                "Asia",
                "Australasia",
                "Central/South America",
                "Eastern Europe",
                "Mid East/Africa",
                "North America",
                "Western Europe"
              ]
            },
            "default": []
          },
          "fobPort": {
            "title": "FOB port",
            "type": "string",
            "description": "Product search only: keep products shipping from this port, for example Shenzhen or Guangzhou. Leave empty for all ports."
          },
          "oemServicesOnly": {
            "title": "OEM services only",
            "type": "boolean",
            "description": "Keep only suppliers that offer OEM/ODM services.",
            "default": false
          },
          "tradeShowOnly": {
            "title": "Trade-show suppliers only",
            "type": "boolean",
            "description": "Keep only suppliers with a Global Sources trade-show history.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of records to return across all keywords.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}