{
  "openapi": "3.0.1",
  "info": {
    "title": "Alibaba RFQ & Buying Leads",
    "description": "See what buyers around the world are trying to source right now. Every live Alibaba RFQ as one clean row: what the buyer wants, how much, which country, how many quote slots are still open and when it closes. Filter by market, industry, keyword and freshness.",
    "version": "0.0",
    "x-build-id": "krwrQG4gVhwPJtVDZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/apt_marble~alibaba-rfq-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-apt_marble-alibaba-rfq-scraper",
        "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/apt_marble~alibaba-rfq-scraper/runs": {
      "post": {
        "operationId": "runs-sync-apt_marble-alibaba-rfq-scraper",
        "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/apt_marble~alibaba-rfq-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-apt_marble-alibaba-rfq-scraper",
        "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",
        "properties": {
          "searchTerms": {
            "title": "What buyers are looking for",
            "maxItems": 20,
            "type": "array",
            "description": "Words that must appear in the buying lead, such as \"solar panel\" or \"cotton t-shirt\". Each term is collected separately, so several terms multiply your coverage. Leave empty to take the whole board.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "buyerCountries": {
            "title": "Buyer countries to include",
            "type": "array",
            "description": "Only keep leads posted by buyers in these markets. Choosing several markets is also how you go past the volume any single filter combination publishes — each market is collected on its own. Leave empty for every market.",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "DZ",
                "AR",
                "AM",
                "AU",
                "AT",
                "AZ",
                "BH",
                "BD",
                "BY",
                "BE",
                "BO",
                "BR",
                "BN",
                "BG",
                "KH",
                "CA",
                "CL",
                "CN",
                "CO",
                "CR",
                "HR",
                "CY",
                "CZ",
                "DK",
                "DO",
                "EC",
                "EG",
                "EE",
                "FI",
                "FR",
                "GE",
                "DE",
                "GH",
                "GR",
                "GT",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IQ",
                "IE",
                "IL",
                "IT",
                "JM",
                "JP",
                "JO",
                "KZ",
                "KE",
                "KW",
                "LA",
                "LV",
                "LB",
                "LT",
                "LU",
                "MY",
                "MV",
                "MT",
                "MX",
                "MN",
                "MA",
                "MM",
                "NP",
                "NL",
                "NZ",
                "NG",
                "NO",
                "PK",
                "PA",
                "PY",
                "PE",
                "PH",
                "PL",
                "PT",
                "QA",
                "RO",
                "RU",
                "SA",
                "SG",
                "SK",
                "SI",
                "ZA",
                "KR",
                "ES",
                "LK",
                "SE",
                "CH",
                "TW",
                "TZ",
                "TH",
                "TT",
                "TN",
                "TR",
                "UA",
                "AE",
                "GB",
                "US",
                "UY",
                "VE",
                "VN",
                "YE"
              ],
              "enumTitles": [
                "Afghanistan (AF)",
                "Algeria (DZ)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Australia (AU)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Belarus (BY)",
                "Belgium (BE)",
                "Bolivia (BO)",
                "Brazil (BR)",
                "Brunei (BN)",
                "Bulgaria (BG)",
                "Cambodia (KH)",
                "Canada (CA)",
                "Chile (CL)",
                "China (CN)",
                "Colombia (CO)",
                "Costa Rica (CR)",
                "Croatia (HR)",
                "Cyprus (CY)",
                "Czechia (CZ)",
                "Denmark (DK)",
                "Dominican Republic (DO)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "Estonia (EE)",
                "Finland (FI)",
                "France (FR)",
                "Georgia (GE)",
                "Germany (DE)",
                "Ghana (GH)",
                "Greece (GR)",
                "Guatemala (GT)",
                "Hong Kong SAR China (HK)",
                "Hungary (HU)",
                "Iceland (IS)",
                "India (IN)",
                "Indonesia (ID)",
                "Iraq (IQ)",
                "Ireland (IE)",
                "Israel (IL)",
                "Italy (IT)",
                "Jamaica (JM)",
                "Japan (JP)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Kuwait (KW)",
                "Laos (LA)",
                "Latvia (LV)",
                "Lebanon (LB)",
                "Lithuania (LT)",
                "Luxembourg (LU)",
                "Malaysia (MY)",
                "Maldives (MV)",
                "Malta (MT)",
                "Mexico (MX)",
                "Mongolia (MN)",
                "Morocco (MA)",
                "Myanmar (Burma) (MM)",
                "Nepal (NP)",
                "Netherlands (NL)",
                "New Zealand (NZ)",
                "Nigeria (NG)",
                "Norway (NO)",
                "Pakistan (PK)",
                "Panama (PA)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Poland (PL)",
                "Portugal (PT)",
                "Qatar (QA)",
                "Romania (RO)",
                "Russia (RU)",
                "Saudi Arabia (SA)",
                "Singapore (SG)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "South Africa (ZA)",
                "South Korea (KR)",
                "Spain (ES)",
                "Sri Lanka (LK)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Taiwan (TW)",
                "Tanzania (TZ)",
                "Thailand (TH)",
                "Trinidad & Tobago (TT)",
                "Tunisia (TN)",
                "Türkiye (TR)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "United Kingdom (GB)",
                "United States (US)",
                "Uruguay (UY)",
                "Venezuela (VE)",
                "Vietnam (VN)",
                "Yemen (YE)"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Industries to include",
            "type": "array",
            "description": "Only keep leads filed under these industries. Like markets, several industries are collected separately and add up. Leave empty for every industry.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "3",
                "66",
                "28",
                "8",
                "2829",
                "201943703",
                "13",
                "44",
                "202200802",
                "5",
                "502",
                "11",
                "4",
                "41",
                "2",
                "1503",
                "17",
                "100002908",
                "15",
                "6",
                "43",
                "202201002",
                "36",
                "39",
                "202119005",
                "1524",
                "201725504",
                "16",
                "9",
                "26",
                "23",
                "201951502",
                "201946504",
                "201723202",
                "202201201",
                "202200803",
                "201726502",
                "80",
                "201727804",
                "21",
                "30",
                "322",
                "18",
                "202240208",
                "201734802",
                "1420",
                "202014504",
                "34",
                "201275273"
              ],
              "enumTitles": [
                "Agriculture",
                "Apparel & Accessories",
                "Beauty",
                "Business Services",
                "Chemicals",
                "Commercial Equipment & Machinery",
                "Construction & Building Machinery",
                "Construction & Real Estate",
                "Consumer Electronics",
                "Design Services",
                "Electrical Equipment & Supplies",
                "Electronic Components, Accessories & Telecommunications",
                "Environment",
                "Fabric & Textile Raw Material",
                "Fabrication Services",
                "Food & Beverage",
                "Furniture",
                "Gifts & Crafts",
                "Health Care",
                "Home & Garden",
                "Home Appliances",
                "Industrial Machinery",
                "Inspection, Testing & Certification",
                "Jewelry, Eyewear, Watches & Accessories",
                "Lights & Lighting",
                "Logistic Services",
                "Luggage, Bags & Cases",
                "Material Handling",
                "Medical devices & Supplies",
                "Metals & Alloys",
                "Mother, Kids & Toys",
                "Packaging & Printing",
                "Personal Care & Household Cleaning",
                "Pet Supplies",
                "Power Transmission",
                "Programming & Technology Services",
                "Purchasing agent",
                "Renewable Energy",
                "Rubber & Plastics",
                "Safety",
                "School & Office Supplies",
                "Security",
                "Shoes & Accessories",
                "Sports & Entertainment",
                "Sportswear & Outdoor Apparel",
                "Testing Instrument & Equipment",
                "Tools & Hardware",
                "Vehicle Accessories, Electronics & Tools",
                "Vehicle Parts & Accessories",
                "Vehicles & Transportation"
              ]
            },
            "default": []
          },
          "postedWithin": {
            "title": "How recent",
            "enum": [
              "any",
              "1h",
              "3h",
              "12h",
              "24h",
              "2i",
              "3i",
              "7i",
              "7b"
            ],
            "type": "string",
            "description": "Only keep leads posted inside this window. Fresh leads matter here — the board keeps a lead for two weeks and then drops it.",
            "default": "any"
          },
          "postingLanguage": {
            "title": "Language the buyer wrote in",
            "enum": [
              "any",
              "en",
              "es",
              "pt",
              "fr",
              "ru",
              "it",
              "de",
              "ja",
              "ko"
            ],
            "type": "string",
            "description": "Only keep leads written in this language. Useful when your sales team answers in one language.",
            "default": "any"
          },
          "qualityTier": {
            "title": "Buyer tier",
            "enum": [
              "any",
              "silver",
              "copper"
            ],
            "type": "string",
            "description": "The source grades buying leads into tiers. Silver and copper are the two tiers published openly; the higher grades are reserved for signed-in members and cannot be collected.",
            "default": "any"
          },
          "onlyOpenRequests": {
            "title": "Only leads still accepting quotes",
            "type": "boolean",
            "description": "Skip leads that have already closed to new quotes. On by default, because a closed lead is not a sales opportunity.",
            "default": true
          },
          "onlyWithAttachments": {
            "title": "Only leads with buyer attachments",
            "type": "boolean",
            "description": "Keep only leads where the buyer attached drawings, specifications or photos. These are usually the more serious ones.",
            "default": false
          },
          "onlyDetailedQuotesWanted": {
            "title": "Only leads asking for a full quotation",
            "type": "boolean",
            "description": "Keep only leads where the buyer asked for a complete quotation rather than an indication.",
            "default": false
          },
          "newestFirst": {
            "title": "Newest leads first",
            "type": "boolean",
            "description": "Order the board with the most recently posted leads at the top.",
            "default": true
          },
          "minQuotesRemaining": {
            "title": "Minimum quote slots still free",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Skip leads with fewer than this many free quote slots left. A lead with no slots left cannot be answered.",
            "default": 0
          },
          "addExactDates": {
            "title": "Add exact posting and closing dates",
            "type": "boolean",
            "description": "The board itself only says \"5 days ago\". Switch this on and every lead also gets the exact moment it was posted, the exact moment it closes, how long is left, and how many quotes it has already received. Billed as an enriched lead.",
            "default": false
          },
          "includeQuoteCompetition": {
            "title": "Add the competition already quoting",
            "type": "boolean",
            "description": "Attach the suppliers who have already answered this lead — their country and province, trade badges, years as a paying member, business type and the exact moment each quote landed. Company names are withheld by the source and come back as a mask, never as a name. Billed as an enriched lead.",
            "default": false
          },
          "maxEnrichedLeads": {
            "title": "Maximum enriched leads",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "A ceiling on how many leads get the extra detail above, so a large run cannot bill more than you expect. Leads beyond this ceiling are still collected, just without the extra fields. Set it to 0 to turn the extra detail off entirely, whatever the two switches above say.",
            "default": 1000
          },
          "includeBuyerIdentity": {
            "title": "Include the buyer contact name",
            "type": "boolean",
            "description": "The board shows the name and photo of the person who posted each lead. That is personal data about an identified individual, so it is left out unless you switch this on, and you are responsible for handling it lawfully.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum leads",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "How many leads to collect in total. Any single filter combination publishes at most 5,000 leads, so beyond that the actor automatically splits the job across markets or industries and tells you how in the run log.",
            "default": 100
          },
          "autoSliceBy": {
            "title": "How to split large jobs",
            "enum": [
              "country",
              "category",
              "none"
            ],
            "type": "string",
            "description": "When you ask for more leads than one filter combination publishes, split the job by buyer market (widest coverage) or by industry (best when you sell into one sector). Choose \"do not split\" to stop at the single-combination ceiling.",
            "default": "country"
          },
          "maxPagesPerCombination": {
            "title": "Maximum pages per combination",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "A lower ceiling on how deep to read each filter combination. Leave at the maximum unless you want a fast, shallow sample of many markets.",
            "default": 250
          },
          "country": {
            "title": "Country to read the site from",
            "enum": [
              "us",
              "gb",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "ca",
              "au",
              "br",
              "mx",
              "ru",
              "sa",
              "ae",
              "il",
              "kr",
              "jp",
              "in",
              "sg",
              "cl",
              "za"
            ],
            "type": "string",
            "description": "Which country version of the site to read. The sourcing board is the same worldwide, so this rarely changes the result; it is here for when you want results collected as a buyer in a specific country would see them.",
            "default": "us"
          },
          "parallelLeads": {
            "title": "Collection speed",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many leads to work on at the same time. The default is a good balance; raising it collects faster but the source may slow down under pressure.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}