# Alibaba Product Details Scraper: Price Tiers, MOQ (`automation_craft/alibaba-product-details-scraper`) Actor

Scrape full Alibaba.com product pages from links, ids, a Google Sheet or searches, 1,000 a run, no login. Get USD price tiers, price at MOQ, variations, SKU stock, specs, customization, sample price, lead time and supplier facts. JSON, CSV or Excel, schedules and a real-time API; pay per product.

- **URL**: https://apify.com/automation_craft/alibaba-product-details-scraper.md
- **Developed by:** [Automation Craft](https://apify.com/automation_craft) (community)
- **Categories:** E-commerce, Developer tools, Lead generation
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.90 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Alibaba Product Details Scraper: Price Tiers, MOQ

**Alibaba product details scraper: paste product links or ids and get each Alibaba.com product page as one full row**, with the
quantity price tiers in USD, the price per unit at the minimum order quantity (MOQ), variations with their SKU ids and stock,
the specification table, customization options with price and MOQ, sample price, lead times, packaging, certifications, the
shipping options the page shows and the supplier's facts. Links can also come from a CSV file or a Google Sheet, or from
keyword searches with Alibaba's filters. No login, no cookies of yours, no browser.

It is built for sourcing agents and importers who compare a shortlist of products side by side, Amazon FBA and private label
sellers checking the real price at the order they plan, catalogue and price monitoring teams that re-read the same products on
a schedule, and apps and AI agents that need one product's record within seconds through the real-time API.

#### What it does

- **One row per product page, the whole record**: price tiers, price at MOQ with its basis, variations, specifications,
  customization, sample, lead times, packaging, certifications, images and videos, reviews count and rating, Trade Assurance,
  payment terms, and the supplier block (company, country, city, years, verification, ratings and their distribution, response
  time, on time delivery, orders and order value of the last 6 months, company scale, capabilities, contact person).
- **The price at the minimum order, named as such**: `unitPriceAtMoq` is the tier that holds the MOQ; `priceMin`, the low end
  of the range, is the price at the largest order and is kept apart. `priceBasis` says where the price came from.
- **The price at your quantity**: give `orderQuantity` and every row adds `unitPriceAtQuantity` from the product's own tiers.
- **71 delivery countries and 16 currencies**: `shipToCountry` reads each page as a buyer in that country sees it, and
  `currency` adds the page's own local prices beside the USD figures, as Alibaba shows them.
- **Every link ends in one row**: its product row, or one free row per outcome kind that lists the links and ids (removed,
  not offered in your delivery country, not read and why).
- **Optional supplier rows**: one row per distinct supplier of the run, with a supplier score whose parts are shown.
- **A real-time API**: one product (or up to 5) per HTTP request, answered within seconds, no run to start.

### Quick start

1. Open the Actor and paste one or more Alibaba product links or product ids into `productUrls`, one per line, for example
   `https://www.alibaba.com/product-detail/_1601190991934.html` or `1601190991934`.
2. For a long list, put the links in a CSV file or a Google Sheet shared by link and give its link in `productUrlsFile`.
3. Optional: set `orderQuantity` to the order size you plan, `shipToCountry` and `currency` for your market, and
   `includeSupplierRows` for one row per supplier.
4. Run it, then download the dataset as JSON, CSV or Excel, or read it through the API.

The prefilled input reads one product link: one product row in a few seconds.

### What you get

One row per product (`type: "product"`), billed as one Product. With `includeSupplierRows`, one row per distinct supplier
(`type: "supplier"`), billed as one Supplier. Each search adds one free coverage row (`type: "search"`), status rows
(`type: "status"`) say where every link that delivered no product ended and name any input problem, and the free run summary
(`type: "summary"`) comes last, with the run's products per supplier and their average price at MOQ.

Fill rates are measured over the 119 distinct product rows of the final build's platform runs on 2026-11-13 (the full test
matrix and five health runs; `research/fields-f404/fill-final-build.json`); a field counts as filled when it holds a value:

| Field | What it holds | Filled |
|---|---|---|
| `productId`, `title`, `url`, `categoryPath` | the product and Alibaba's category path | 100% |
| `priceBasis` | `quantity_ladder` (91 of 119), `price_range` (priced by variant, 12), `single_price` (16) | 100% |
| `unitPriceAtMoq` | USD price per unit at the minimum order | 89.9% (the rest are priced by variant: `unitPriceAtMoqMin`, `unitPriceAtMoqMax`, 100%) |
| `priceTiers` | the quantity tiers: `minQuantity`, `maxQuantity`, `priceUsd` | 88.2% |
| `priceMin`, `priceMax` | the USD range; `priceMin` is the price at the largest order | 100% |
| `moq`, `moqUnit`, `priceUnit`, `isPerPiece`, `unitClass` | the minimum order, its unit and a clean unit class | 100% |
| `tradePriceTerm` | the trade term (FOB) | 100% |
| `variants` | the variation names and values | 94.1% |
| `variantSkus` | SKU ids with price, sample price and stock per warehouse | 94.1% |
| `variantPrices` | priced variants with their USD price | 8.4% |
| `attributes` | the specification table | 100% |
| `customizationOptions` | logo, packaging and other options with `priceUsd` and `moq` | 58.8% |
| `sample` | `available`, `free`, `priceUsd`, `maxQuantity` | 25.2% |
| `leadTimes`, `dispatchTime` | days to dispatch by quantity | 99.2%, 99.2% |
| `packaging`, `packagingDetails` | package size and gross weight | 71.4%, 75.6% |
| `shipsFrom` | places of dispatch | 100% |
| `shippingOptions` | shipping methods with fee and delivery dates, where the page shows them | 20.2% |
| `certifications`, `certificationDetails` | name, validity and issuer; images, scope and regions | 40.3%, 40.3% |
| `images`, `videos` | product images; video links in HD, SD and LD | 100%, 59.7% |
| `salesVolume` | units sold as Alibaba shows it | 37.8% |
| `productReviews` | the product's own review count and rating | 32.8% |
| `storeRating`, `storeReviewCount` | the supplier store's rating out of 5 and review count | 69.7% |
| `description`, `faq` | the description and FAQ the page embeds | 20.2%, 18.5% |
| `atAGlance` | Alibaba's "at a glance" lines, flagged `generatedByAi` | 41.2% |
| `listedSince`, `tradeAssurance`, `protections` | listing date, Trade Assurance, order protections | 100%, 100%, 100% |
| `supplier.id`, `supplier.name`, `supplier.country`, `supplier.years`, `supplier.verified` (Alibaba's Verified Supplier badge), `supplier.goldPlus`, `supplier.passedAssessment`, `supplier.responseTime` | the supplier | 100% |
| `supplier.businessTypes`, `supplier.onTimeDeliveryRate`, `supplier.rating` | business type, on time delivery in percent, rating out of 5 | 100%, 99.2%, 90.8% |
| `supplier.ordersLast6Months`, `supplier.orderValueLast6Months`, `supplier.ratingDistribution` | orders and value of the last 6 months, stars per rating dimension | 94.1%, 94.1%, 90.8% |
| `supplier.cityName`, `supplier.customizationCapabilities`, `supplier.qualityControl` | city and capabilities | 63%, 62.2%, 58.8% |
| `supplier.companyScale` | staff, floorspace, lines, QA and R\&D staff | 63% |
| `supplier.onlineExportRevenue` | online export revenue band | 42% |
| `contactPerson` | `name`, `firstName`, `lastName`, `gender`, `jobTitle`, `photoUrl`, `loginId` | `loginId` 100%, `name` 100% |

Also on the row: `firstLevelCategoryId`, `promotionTiers`, `discount`, `coupons`, `saleType`, `sellingUnits`,
`variantOptionImages`, `localWarehouseStock`, `fastCustomizations`, `customizationPreviewImages`, `servicePromises`,
`highlights`, `certificationLogos`, `rank`, `orderProtection`, `paymentTerms`, `bnplProviders`, `tariffIncluded`,
`complianceTips`, `keywords`, `supplier.logoUrl`, `supplier.profileUrl`, `supplier.storeUrl`, `supplier.links`,
`placeholderSuspected`, `scrapedAt`, and `texts`: one text line per list (tiers, attributes, lead times, certifications,
variants) for spreadsheets. A product found by a search also carries `foundBy`: the search, page and position, and its search
card's facts (ad flag, delivery estimate, shipping cost text, views, the card's supplier block, star level, live and contact
links).

A product row of the prefilled link (platform run of 2026-11-13, trimmed):

```json
{
  "type": "product",
  "productId": "1601190991934",
  "url": "https://www.alibaba.com/product-detail/_1601190991934.html",
  "input": { "setting": "productUrls", "position": 1 },
  "title": "SHENGDE PU Rubber Hot Yoga Mat Natural Anti Slip Sweat Absorbent Custom Logo Wholesale Animal Print Black Oval Arch",
  "currency": "USD",
  "priceBasis": "quantity_ladder",
  "unitPriceAtMoq": 9.99,
  "priceMin": 7.5,
  "priceMax": 9.99,
  "priceTiers": [
    { "minQuantity": 100, "maxQuantity": 299, "priceUsd": 9.99 },
    { "minQuantity": 300, "maxQuantity": 999, "priceUsd": 8.99 },
    { "minQuantity": 1000, "maxQuantity": 4999, "priceUsd": 7.99 },
    { "minQuantity": 5000, "maxQuantity": null, "priceUsd": 7.5 }
  ],
  "moq": 100,
  "moqUnit": "piece",
  "isPerPiece": true,
  "tradePriceTerm": "FOB",
  "customizationOptions": [
    { "type": "Logo/Pattern", "option": "Laser Carving", "priceUsd": 0, "moq": 100 },
    { "type": "Packaging", "option": "Style 1", "priceUsd": 0.5, "moq": 300 }
  ],
  "leadTimes": [
    { "minQuantity": 1, "maxQuantity": 100, "days": 10 },
    { "minQuantity": 101, "maxQuantity": 300, "days": 20 },
    { "minQuantity": 301, "maxQuantity": 1000, "days": 25 }
  ],
  "listedSince": "2024.06.21",
  "shipsFrom": [{ "country": "CN", "name": "China" }],
  "storeRating": 4.5,
  "storeReviewCount": 48,
  "salesVolume": "1302 sold",
  "supplier": {
    "id": "282993354",
    "name": "Fuqing Shengde Ruibo Technology Co., Ltd.",
    "country": "CN",
    "cityName": "Fuzhou",
    "years": 3,
    "businessTypes": ["Trading Company"],
    "verified": true,
    "goldPlus": true,
    "passedAssessment": false,
    "onTimeDeliveryRate": 93.9,
    "rating": 4.5,
    "ordersLast6Months": 89,
    "orderValueLast6Months": "220,000+",
    "employeesBand": "11-50"
  },
  "texts": { "priceTiers": "100-299: $9.99; 300-999: $8.99; 1000-4999: $7.99; 5000+: $7.5" },
  "scrapedAt": "2026-11-13T13:04:55.166Z"
}
```

#### How to read the price fields

- `unitPriceAtMoq` is the price per unit when you order the minimum. `priceBasis: "price_range"` means the price depends on
  the variant: `unitPriceAtMoq` stays empty and `unitPriceAtMoqMin` and `unitPriceAtMoqMax` give the range.
- `unitPriceAtQuantity` (with `orderQuantity`) is read from the tiers; it is empty with `belowMoq: true` below the MOQ, and
  empty with `belowMoq: false` on a product priced only by variant (`priceBasis: price_range`, which has no tiers).
- `placeholderSuspected` marks an MOQ of 100,000 or more, or a price of USD 0.01 or less, which suppliers often use as
  placeholders.

### Delivery country and currency

`shipToCountry` (a two letter code, 71 countries, for example `DE`, `GB`, `AU`) reads each product page as a buyer in that
country, with Alibaba's own country setting on the product page itself: the shipping options the page shows are that
country's, and `shippingToCountry` and `servedToCountry` say which country the page was served for. A product the page does
not offer in that country is read once more as a buyer in the United States, so a free `not_offered_in_country` row tells it
apart from a removed product (`not_found`). Left out, pages are read as a buyer in the United States.

`currency` (USD, EUR, GBP, CAD, AUD, INR, BRL, MXN, AED, SAR, JPY, KRW, SGD, ZAR, RUB, TRY) adds a `local` block beside the
USD figures: the page's own tiers and range in that currency (`price` and Alibaba's `priceText`), its `rate` and `pattern`,
and `served`, which is true only when the page's own figures prove that currency (its price pattern, its rate, and local
figures that agree with the USD figures); a page that cannot be proven, such as a product its supplier lists in another
currency than US dollars, carries no local figures. The figures are Alibaba's own, never converted by
this Actor; all 16 currencies were served in a platform test. USD stays the primary figure on every row.

### A file of links

`productUrlsFile` takes one https link to a text or CSV file, or to a Google Sheet shared with anyone who has the link. Each
line or cell holding a product link or id is read like an entry of `productUrls`. Rows name each entry's place: `position`
counts the file's non-empty entries in order (1 is the first; blank lines and cells hold none), `line` is its line (in a CSV,
its record) and, in a CSV, `column` its cell. Entries that are not product links, repeats and entries past 1,000 products
end in free rows that name their positions and lines. In a CSV with a heading row (a dataset export, one column or many), a
bare number is read as a product id only under a heading that names products (such as product, offer, item, url, link or
id); supplier and category ids of the export are never read as products. The file may be up to 2 MB.

Accepted product forms, in the list and in the file: `www.alibaba.com/product-detail/<name>_<id>.html`, the same page on a
language site (`german.alibaba.com/product-detail/...`), a mobile link (`m.alibaba.com/product/<id>/...`) and a bare product
id. Every form is read as its `www.alibaba.com/product-detail/` page.

### Searches that find products

`keywords`, `searchUrls` (search, catalog and showroom links, their filters read) and `categoryIds` find products: each
product a search finds and your filters keep is read from its product page and delivered as a full product row. Search
pages are not billed; you pay for the product rows they lead to.

Filters (they apply to searches; a product link is always read as given): price range, smallest and largest MOQ, supplier
countries, Verified, Verified Pro, Gold Supplier, Trade Assurance, business types, years on Alibaba, store rating, company and
product certifications, Ready to Ship, samples, an Alibaba product tag, lead time, ads, title match, ids to leave out, and
places of dispatch read on the product page. Orders: `best_match`, `sales` and `trade_ranking` are Alibaba's own orders;
`price_low`, `price_high` and `response_rate` sort the products the run read. A product that fails a filter is left out and
not charged. A product found by several searches is delivered and billed once per run.

### Every link ends in one row

Each product link or id ends in exactly one place: its product row, or one free status row per outcome kind listing the
positions and product ids (up to 200 of each, with the count):

| `status` | Meaning |
|---|---|
| `not_found` | Alibaba shows no product page ("Product Not Available"): removed, or never existed |
| `not_offered_in_country` | not offered to buyers in the delivery country you set |
| `other_product` | Alibaba answered the link with another product's page |
| `failed` | the page could not be read; run it again |
| `not_read_verification_page` | Alibaba answered the run with its verification page (see below) |
| `not_read_max_items` | the run reached `maxItems` |
| `not_read_charge_limit` | the run reached the maximum charge you set |
| `not_read_allowance` | the run's allowance for work that bills nothing was spent |
| `not_read_stopped` | the run stopped first (its timeout, `maxRunSeconds`, an abort) |
| `not_read_unreachable` | Alibaba could not be reached |

None of these rows is charged. Input problems (an entry that is not a product link, a repeat) get free rows of their own.

### How much does it cost to scrape Alibaba product pages?

You pay per event (Apify's pay per event model): per product row delivered and, if you turn them on, per supplier row. Prices
per 1,000 events by Apify plan:

| Event | What it is | Free | Bronze | Silver | Gold |
|---|---|---|---|---|---|
| Product (`product-detail`) | one product page read and delivered as a row | $2.66 | $2.43 | $2.20 | $1.90 |
| Supplier (`supplier`) | with `includeSupplierRows`: one row per distinct supplier, built from the product rows | $0.28 | $0.256 | $0.232 | $0.20 |
| Real-time API request (`api-request`) | real-time API only: once per request that delivered at least one product | $1.00 | $1.00 | $1.00 | $1.00 |

Platinum and Diamond plans pay the Gold price. The Actor start event is $0.0075 per run at the default 256 MB, at every plan
(Apify charges it per GB of the run's memory); it is not charged on the real-time API. The Store pricing card shows these same
prices per 1,000 events: "$1.90 / 1,000" on the Product row means one product costs 0.19 cents at Gold (less than 0.2 cents),
"$0.20 / 1,000" on the Supplier row means one supplier row costs 0.02 cents, and "$1.00 / 1,000" on the Real-time API request
row means one request costs 0.1 cents.

Worked example on the Gold plan: 100 product links cost 100 x $0.0019 = $0.19, plus the $0.0075 start fee: $0.1975. With
`includeSupplierRows` and 40 distinct suppliers among them, add 40 x $0.0002 = $0.008. On the Free plan the same 100 products
cost 100 x $0.00266 + $0.0075 = $0.2735.

Never billed: a link Alibaba shows no page for, a product not offered in your delivery country, a page that could not be
read, a link the run did not reach, a repeat of a product already delivered in the run (a product you also gave as a link is never read again by a search: it ends in its link's row), a product your filters leave out,
search pages, and the coverage, status and summary rows. `maxItems` (100 by default, at most 1,000) caps the product rows of a
run, and a product whose charge does not fit your run's charge limit is not delivered: the run stops there. Work that bills nothing has an allowance
(USD 0.0012 plus a share of what each billed row pays); past it the run stops reading, with a free row that says so.

#### How long a run takes, and the timeout for big lists

Alibaba rations product pages per address, so the Actor reads them one at a time at a measured pace: about 15 products in the
first minute of a run, then about 5 a minute (one product page every 11 seconds). At that pace 200 of 200 and 220 of 220
product pages were read on the platform. 100 products take about 17 minutes and 1,000 products (the most a run takes) about
3 hours. Give a big run a timeout to match, under the run's options in the Console or `timeout` in the API: about 11 seconds
per product plus 10 minutes, for example 12,000 seconds for 1,000 products. The run stops reading shortly before its timeout
and still writes every row and the free `not_read_stopped` row for the links it did not reach; `maxRunSeconds` sets an
earlier stop of your own.

### Input

At least one of `productUrls`, `productUrlsFile`, `keywords`, `searchUrls` or `categoryIds`. Every setting is described in the
input schema.

#### Products

| Setting | What it does |
|---|---|
| `productUrls` | product links or ids, one per line; each delivered as one row, billed as one Product |
| `productUrlsFile` | one https link to a text or CSV file or a Google Sheet shared by link, holding product links or ids |

#### Find products by search

| Setting | What it does |
|---|---|
| `keywords` | words to search Alibaba.com for; each product found is read from its page (a pasted Alibaba link is read as a link) |
| `searchUrls` | search links (`trade/search?SearchText=...`), catalog links (`catalog/<name>_cid<id>`) or showroom links (`products/<words>.html`), their filters read |
| `categoryIds` | with keywords, each keyword is searched in each category; alone, each category is browsed |

A run takes at most 200 searches (keywords x categories x supplier countries, plus links) and 1,000 products.

#### How many and in what order

| Setting | What it does |
|---|---|
| `maxResultsPerKeyword` | the most product rows one search delivers, 1 to 960 (default 10) |
| `maxPagesPerKeyword` | result pages of 48 offers per search, 1 to 20 |
| `startPage` | the result page each search starts at, 1 to 20 |
| `maxItems` | the most product rows of the whole run, 1 to 1,000 (default 100) |
| `sortBy` | `best_match`, `sales`, `trade_ranking` (Alibaba's orders), `price_low`, `price_high`, `response_rate` (sorts the products read) |

#### Price and order quantity

| Setting | What it does |
|---|---|
| `minPrice`, `maxPrice` | Alibaba's price filter in USD per unit; each row says `outOfRange` when its price at MOQ lies outside |
| `minMoq`, `maxMoq` | only products whose MOQ is at least, or at most, this (checked on each row) |

#### Supplier

| Setting | What it does |
|---|---|
| `supplierCountries` | two letter codes or English names; each search is read once per country |
| `verifiedOnly`, `verifiedProOnly`, `goldSupplierOnly` | Alibaba's Verified, Verified Pro and Gold Supplier badges (Gold Supplier is judged on the search card) |
| `tradeAssuranceOnly` | suppliers that take Trade Assurance orders |
| `businessTypes` | `manufacturer`, `trading_company`, `distributor`, `buying_office`, `other` |
| `minSupplierYears`, `minSupplierRating` | least years on Alibaba; lowest store rating out of 5 |
| `companyCertifications` | management certifications such as ISO, BSCI, IATF 16949 |
| `excludeSupplierIds` | supplier ids left out, free (up to 100,000) |

#### Product

| Setting | What it does |
|---|---|
| `productCertifications` | product certifications such as CE, ROHS, FCC, UL |
| `readyToShip`, `samplesAvailable` | Alibaba's Ready to Ship and samples filters |
| `productTagId` | an Alibaba product tag id (7 to 16 digits) |
| `maxLeadTimeDays` | the longest lead time on the search card, judged again on the product page at the lead time of an order of the MOQ |
| `excludeAds`, `onlyTitleMatches` | leave out products a search found through a paid ad (`foundBy.card.isAd`); leave out titles holding fewer than half of the keyword's words (judged on the card and on the page) |
| `excludeOfferIds` | product ids (`productId`) of earlier runs a search leaves out, free (up to 100,000) |
| `shipsFromCountries` | only products whose page lists one of these places of dispatch; a page that lists no place of dispatch is left out too, free, counted apart (`shipsFromNotServed`) |

#### Delivery country, currency and quantity

| Setting | What it does |
|---|---|
| `orderQuantity` | adds `unitPriceAtQuantity` to every row |
| `shipToCountry` | read each page as a buyer in this country (two letter code); left out: the United States |
| `currency` | also deliver the page's own prices in this currency beside USD; left out: USD only |

#### Add-ons and output

| Setting | What it does |
|---|---|
| `includeSupplierRows` | one row per distinct supplier of the run's products, billed as one Supplier each (default off) |
| `extendOutputFunction` | your JavaScript function runs on each product row in an isolated child process with no network and no access to the run, at most 1 s per row; its result is stored under `custom` |
| `maxConcurrency` | search pages read at once, 1 to 3 (default 2); product pages are always read one at a time |
| `maxRequestRetries` | retries per failed request, 0 to 5 (default 2) |
| `maxRunSeconds` | the run stops reading after this many seconds and writes its rows (30 to 86,400) |
| `debugLog` | detailed log lines (default off) |
| `proxyConfiguration` | leave the default (the run's own address with one Apify datacenter session behind it) or Apify datacenter; residential exits and your own proxies are not used |

Example: 3 products priced at 500 pieces, as a buyer in Germany, with euro prices and supplier rows:

```json
{
  "productUrls": ["1601190991934", "https://www.alibaba.com/product-detail/_1601763611824.html", "https://m.alibaba.com/product/1601832762797/rib-knit-fabric.html"],
  "orderQuantity": 500,
  "shipToCountry": "DE",
  "currency": "EUR",
  "includeSupplierRows": true
}
```

### Real-time API

This Actor is also a Server Actor: next to normal runs it answers plain HTTP requests in real time, with no run to start and no
dataset to read. Send an Alibaba.com product link or id and get the product's full record back in the response, with the same
fields as a dataset row. Use it inside your own app, a sourcing tool, an automation step or an AI agent that needs one product
now.

Copy the server URL from the **Server** tab of the Actor page (it looks like
`https://automation-craft--alibaba-product-details-scraper.apify.actor`) and authenticate with your Apify token, as for the
Apify API.

| Endpoint | What it does |
|---|---|
| `GET /product?url=<product link or id>` | one product: its record with the product row. Options: `shipToCountry` (a two letter delivery country code: the API takes the code only, never a country name), `currency` (one of the 16 currencies above), `orderQuantity` (1 to 1,000,000,000: adds `unitPriceAtQuantity`, empty below the MOQ and on a product priced only by variant) |
| `POST /products` with `{"urls": ["...", "..."], "shipToCountry": "DE"}` | up to 5 products in one request, with the same options in the body; one record per element, in the order given; an element that is invalid, a duplicate, not found, not offered in the delivery country, answered with another product's page, failed or not read gets a free record in its place |
| `GET /` | a short JSON description of the endpoints, limits and charges; free |

```bash
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  "https://automation-craft--alibaba-product-details-scraper.apify.actor/product?url=1601190991934&orderQuantity=500"
```

```bash
curl -X POST -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"urls":["https://www.alibaba.com/product-detail/_1601190991934.html","1601763611824"],"shipToCountry":"DE","currency":"EUR"}' \
  "https://automation-craft--alibaba-product-details-scraper.apify.actor/products"
```

The response of `GET /product` (shortened):

```json
{
  "position": 0,
  "productId": "1601190991934",
  "status": "ok",
  "product": {
    "type": "product",
    "productId": "1601190991934",
    "url": "https://www.alibaba.com/product-detail/_1601190991934.html",
    "input": { "setting": "url", "position": 1 },
    "title": "SHENGDE PU Rubber Hot Yoga Mat Natural Anti Slip Sweat Absorbent Custom Logo Wholesale Animal Print Black Oval Arch",
    "currency": "USD",
    "unitPriceAtMoq": 9.99,
    "moq": 100,
    "orderQuantity": 500,
    "unitPriceAtQuantity": 8.99,
    "supplier": { "id": "282993354", "name": "Fuqing Shengde Ruibo Technology Co., Ltd.", "years": 3, "country": "CN", "verified": true }
  }
}
```

A product is named by a value that is, as a whole, an Alibaba.com product id (9 to 16 digits) or one product link
(`www.alibaba.com`, `alibaba.com` or a language site, with or without `https://` and tracking parameters, or a mobile link).
The real-time API is stricter than the input form: a value that only contains a product inside a longer text, names two
products, or uses `http://` is an invalid value (free), never a guess.

Anything else is a JSON error with an HTTP status, `{"error": {"type": "...", "message": "..."}, "record": {...}}`: `400` the
product is missing, is not one product id or link, is longer than 2,000 characters, or an option is unknown or out of its list
(input interface options such as `includeSupplierRows`, `keywords` or `maxItems` are refused); `402` the platform refused the
request event of your last three requests (for example a spending limit), so your requests pause for up to ten minutes on
that server run; `404` Alibaba shows no page for the product (`product-not-found`), does not offer it in your delivery country
(`product-not-offered-in-country`), or answered with another product's page (`other-product`); `408` the body did not arrive
in time; `409` a request id was used twice; `413` the body is larger than 16 KB; `429` too many lookups from your account (12
product lookups a minute and 5 at a time per account on one server run; wait for the seconds in `Retry-After`); `502` Alibaba
answered with an error (try again); `503` the server is busy or restarting, Alibaba is refusing this server run's address for
now (`source-refused`, retry after `Retry-After`), a server run the platform restarted after an unclean stop reads nothing
more, since it cannot prove Alibaba had not refused it (`door-closed`), or the charge was not accepted (no product is returned without its charge);
`504` the product was not read within the request's time limit. An error response is not charged, with two exceptions that
say so: `503` with the type `charge-unconfirmed` (the platform did not confirm the charge, so no data was returned although
the charge may have been recorded once) and `500` with the type `internal-error-after-charge` (the request failed on our side
after its charge). Report either through the Issues tab with the `X-Actor-Request-ID` response header. A response arrives
within 95 seconds at most.

The `X-Charged-Events` response header says what the request charged, for example `product-detail=2; api-request=1`; the
value `unconfirmed` means the platform did not confirm that charge.

Each server run reads product pages at the same pace as a normal run (the first 15 about 3 seconds apart, then about one every
11 seconds), and requests that reach the same server run take turns, one product page per caller in rotation. A single product
usually answers within a few seconds; a request after a quiet spell takes a few seconds longer while a server starts, and a
`POST /products` with 5 products on a busy server run can take most of a minute. A product not reached within the request's
time limit is a free `not_read` record (send it again). Supplier rows are not offered on the real-time API: the supplier's
facts are inside every product record.

#### How much does a real-time request cost?

You pay per request and only for what the response delivers. There is no Actor start event on the real-time API and you pay
no platform usage.

| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| Real-time API request (`api-request`, once per request that delivers at least one product) | $0.001 | $0.001 | $0.001 | $0.001 |
| Product (`product-detail`, per product delivered) | $2.66 / 1,000 | $2.43 / 1,000 | $2.20 / 1,000 | $1.90 / 1,000 |

Worked example on the Bronze plan: one product costs $0.001 + $0.00243 = $0.00343; five products in one `POST /products`
cost $0.001 + 5 x $0.00243 = $0.01315. A request that delivers no product is free. Platinum and Diamond plans pay the Gold
price.

For lists, use normal runs: up to 1,000 product links a run, a file or Google Sheet of links, searches with their filters,
supplier rows, a dataset you can export, and no Real-time API request event.

### API

Run the Actor and read its dataset (for up to about 15 products the synchronous endpoint answers within its 5 minute limit):

```bash
curl -X POST "https://api.apify.com/v2/acts/automation_craft~alibaba-product-details-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"productUrls": ["https://www.alibaba.com/product-detail/_1601190991934.html"], "orderQuantity": 500}'
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automation_craft/alibaba-product-details-scraper').call(
    { productUrlsFile: 'https://docs.google.com/spreadsheets/d/<your sheet id>/edit', maxItems: 1000 },
    { timeout: 12000 },
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
const products = items.filter((r) => r.type === 'product');
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("automation_craft/alibaba-product-details-scraper").call(
    run_input={"productUrls": ["1601190991934"], "shipToCountry": "GB", "currency": "GBP"},
    timeout_secs=3600,
)
items = client.dataset(run["defaultDatasetId"]).list_items().items
products = [r for r in items if r["type"] == "product"]
```

### FAQ

#### How do I scrape Alibaba product details from a list of product links?

Paste the links or product ids into `productUrls`, or put them in a CSV file or a Google Sheet shared by link and give its
link in `productUrlsFile`. Each product is read from its www.alibaba.com product page and delivered as one row with its full
record; a run takes up to 1,000 products, read at about 5 a minute after the first 15.

#### Is there an Alibaba product details API?

This Actor works as one: its real-time API returns one product's record (or up to 5) for a link or id within seconds, and the
Apify API runs whole lists and returns the rows as JSON. It needs no Alibaba account or key, and reads Alibaba logged out.

#### How do Alibaba price tiers and MOQ work on a product page?

A product shows a minimum order quantity and, for most products, quantity tiers whose unit price falls as the order grows,
so the low end of the price range is the price at the largest order. Each row carries the tiers in USD (`priceTiers`), the
MOQ (`moq`, `moqUnit`), the price at the minimum order (`unitPriceAtMoq`) and, with `orderQuantity`, the price at your own
quantity (`unitPriceAtQuantity`).

#### How do I export Alibaba product data to CSV or Excel?

Run the Actor and open the dataset: the Products view shows the main columns (price at MOQ, unit, MOQ, tiers, supplier, lead
times, sample price). Keep the rows whose `type` is `product` and download them as CSV, Excel or JSON from the run or through
the API; `texts` holds each list as one text line for spreadsheets.

#### What happens when Alibaba shows its "slide to verify" page?

The Actor reads product pages at a pace Alibaba's per address ration allows (220 of 220 pages read on the platform at one page
every 11 seconds) and never solves the verification page. If Alibaba shows it anyway, the run reads no more product pages
(one move to a fresh session is made only when it comes within the first 3 calls), and every link it did not reach ends in a
free `not_read_verification_page` row: run those again later.

#### Why does this Actor run with limited permissions?

Least privilege: it only reads and writes its own run's storages (the run's dataset and key value store). This Actor opens no
named store, so it cannot read anything else in your account.

### What this Actor does NOT do

- No buyer review texts, reviewer names or review photos: Alibaba serves them from a signed API on a host whose robots.txt
  disallows every path, and this Actor reads only the product pages robots.txt allows. Rows carry the product's own review
  count and rating (`productReviews`), the store rating and review count, and the supplier's rating distribution.
- No seller's long description beyond what the product page embeds: the page's description frame loads its text from a path
  robots.txt disallows. The description and FAQ the page embeds are delivered (on 20.2% and 18.5% of the product rows measured).
- No shipping fee for a destination beyond what the page shows: Alibaba's fee calculator sits on a path robots.txt disallows.
  The shipping options the page shows are delivered (`shippingOptions`, for your `shipToCountry`), and a product found by a
  search also carries its search card's shipping text.
- No supplier store pages and no supplier search: this Actor reads product pages; each row carries its supplier's facts, and
  `includeSupplierRows` adds one row per supplier.
- No factory verification reports: they live under `/company_profile/` on supplier sites, which robots.txt disallows. Rows
  carry the report link (`supplier.assessmentReportUrl`), the company scale, quality control and customization capabilities
  the product page shows.
- No buying requests (RFQ): those live on another Alibaba site, which this Actor does not read.
- No monitor and no change tracking: each run delivers what it reads. Schedule a run of the same list to read it again.
- No residential exits: product pages are read from the run's own address or an Apify datacenter session; the delivery
  country comes from Alibaba's own country setting (`shipToCountry`). Your own proxy links are not used either.
- No switch that bills duplicates: a product is delivered and billed once per run, however many links or searches reach it.
- No supplier star level, live stream or contact links on products given by link: the product page does not carry them;
  products found by a search have them from their search card (`foundBy.card`).
- No solving of Alibaba's slider verification page and no move to another address to get past it (one move to a fresh
  session is made only when the page comes within the product door's first 3 calls).
- No currency conversion: USD figures are Alibaba's, and `local` figures are Alibaba's own in the currency you chose.
- No more than 1,000 products and 200 searches a run.
- Every product row carries the supplier's contact person as the page shows it (name, job title, portrait, login id). You are
  responsible for a lawful use of personal data, GDPR included.

### Changelog

- 0.1 (2026-11-13): first release. Alibaba.com product pages by link, id, file or search, one full row each; delivery country
  and 16 currencies; supplier rows; a real-time API. The full list is on the Changelog tab.

### More data tools by Automation Craft

- [Alibaba Scraper: Products, Prices, MOQ, Suppliers](https://apify.com/automation_craft/alibaba-scraper)
- [IndiaMART Scraper: B2B Products, Prices, Suppliers](https://apify.com/automation_craft/indiamart-scraper)
- [AliExpress Search Scraper - Products and Prices](https://apify.com/automation_craft/aliexpress-search-scraper)
- [Amazon Product Scraper - Search, Best Sellers](https://apify.com/automation_craft/amazon-data-scraper)
- [Shopify Products Scraper - Variants, Stock, API](https://apify.com/automation_craft/shopify-products-scraper)
- [Walmart Scraper: Products, Prices, Sellers](https://apify.com/automation_craft/walmart-scraper)

# Changelog

This Actor's version history is a separate document: https://apify.com/automation_craft/alibaba-product-details-scraper/changelog.md

# Actor input Schema

## `productUrls` (type: `array`):

Alibaba product pages, one per line: alibaba.com/product-detail/...\_<id>.html, the same page on a language site (german.alibaba.com/product-detail/...), a mobile link (m.alibaba.com/product/<id>/...) or a bare product id. Each product is read from its www.alibaba.com product page and delivered as one row with its full record, billed as one Product. A product Alibaba does not show (removed, or not offered in the delivery country) is a free row.

## `productUrlsFile` (type: `string`):

One https link to a text or CSV file, or to a Google Sheet shared with anyone who has the link, holding product links or ids (one per line or one per cell). Each link or id is read like an entry of the list above; at most 1,000 products a run.

## `keywords` (type: `array`):

Words to search Alibaba.com for, for example yoga mat. The run reads the search results and then each product page, delivering one full product row per product (up to maxResultsPerKeyword a search). A keyword that is an Alibaba link is read as a search or product link.

## `searchUrls` (type: `array`):

Alibaba search links (alibaba.com/trade/search?SearchText=...), catalog links (alibaba.com/catalog/<name>\_cid<id>) or showroom links (alibaba.com/products/<words>.html), their filters read; each product found is read from its product page and delivered as one full product row.

## `categoryIds` (type: `array`):

Alibaba category ids (the digits after \_cid in a catalog link, or categoryId in a search link). With keywords, each keyword is searched inside each category; given alone, each category is browsed without words.

## `maxResultsPerKeyword` (type: `integer`):

The most product rows one search delivers (1 to 960). Each is one product page read at the Actor's pace (about 5 a minute after the first 15 of a run).

## `maxPagesPerKeyword` (type: `integer`):

Most result pages of 48 offers read per search, 1 to 20. Left out: up to 20 in Alibaba's own orders, 1 with a price or response rate order (which sorts the offers read).

## `startPage` (type: `integer`):

The result page each search starts at (1 to 20). Left out: page 1, or a search link's own page.

## `maxItems` (type: `integer`):

The most product rows the whole run delivers (1 to 1,000), from links and searches together. A run reads about 5 product pages a minute after its first 15, so 1,000 products take about 3 hours: give the run a timeout to match.

## `sortBy` (type: `string`):

best_match (Alibaba's order), sales (Alibaba's best sellers of the last 180 days) or trade_ranking (Alibaba's trade ranking, its own order that puts established trading suppliers first: another set of products than best match); price_low, price_high and response_rate sort the offers this run read (Alibaba serves no such order), and each row's search place says so. Left out: best match, or a search link's own order.

## `minPrice` (type: `number`):

Alibaba's own price filter for searches, in USD per unit. Each row then says outOfRange: true when its price at the minimum order lies outside your range.

## `maxPrice` (type: `number`):

Alibaba's own price filter, in USD per unit (see the lowest price).

## `minMoq` (type: `integer`):

Only offers whose minimum order quantity is at least this (checked on each row).

## `maxMoq` (type: `integer`):

Only offers you can order in this quantity or less, for example 10 for small test orders (Alibaba's own filter, checked on each row).

## `supplierCountries` (type: `array`):

Two letter codes or English names (CN, IN, VN, TR, US). Each search is read once per country with Alibaba's own country filter.

## `verifiedOnly` (type: `boolean`):

Suppliers checked by a third party inspection company (Alibaba's Verified badge).

## `verifiedProOnly` (type: `boolean`):

Alibaba's Verified Pro suppliers.

## `goldSupplierOnly` (type: `boolean`):

Searches only: keep only products whose supplier carries Alibaba's Gold Supplier badge on the search result (the product page does not show it); the others are left out and not charged.

## `tradeAssuranceOnly` (type: `boolean`):

Suppliers that take Trade Assurance orders (checked on each row; almost every supplier does).

## `businessTypes` (type: `array`):

Only suppliers of these business types: manufacturer, trading_company, distributor, buying_office, other. With Verified suppliers only, manufacturer gives verified manufacturers.

## `minSupplierYears` (type: `integer`):

Only suppliers with at least this many years on Alibaba.com (checked on each row).

## `minSupplierRating` (type: `number`):

Only suppliers with at least this store rating out of 5 (4.5 and 5 use Alibaba's own filter; every value is checked on each row).

## `companyCertifications` (type: `array`):

Only suppliers holding one of these management certifications, for example ISO, BSCI, IATF 16949 (Alibaba's own filter with the first, every row checked for any of them).

## `excludeSupplierIds` (type: `array`):

Supplier ids (supplier.id of earlier rows) whose offers are left out, free; they never count against a cap. Up to 100,000.

## `productCertifications` (type: `array`):

Only offers that show one of these product certifications, for example CE, ROHS, FCC, UL (Alibaba's own filter with the first, every row checked for any of them).

## `readyToShip` (type: `boolean`):

Alibaba's Ready to Ship offers.

## `samplesAvailable` (type: `boolean`):

Alibaba's filter for products you can order a sample of; a product whose page says it offers no samples is left out, free. Ads are left out under it (an ad slot need not follow the filter). Each row's sample block gives the terms the page shows (the sample price in USD where the page states it in US dollars).

## `productTagId` (type: `string`):

An Alibaba internal product tag id (7 to 16 digits) sent as Alibaba's product tag filter; rows that do not carry the tag are left out, free.

## `maxLeadTimeDays` (type: `integer`):

Only products whose lead time on the search card is at most this many days; a product is judged again on its page, at the lead time of an order of its MOQ.

## `excludeAds` (type: `boolean`):

Leave out products a search found through a paid ad (foundBy.card.isAd); they are free. Off: ads are delivered, with foundBy.card.isAd true.

## `onlyTitleMatches` (type: `boolean`):

Leave out, free, products a search found whose title (on the search card and on the product page) holds fewer than half of the keyword's words (Alibaba also returns related products).

## `excludeOfferIds` (type: `array`):

Product ids (productId of earlier rows) a search leaves out, free. Up to 100,000.

## `shipsFromCountries` (type: `array`):

Keep only products whose page lists one of these places of dispatch (two letter codes, for example US, DE): read on each product page; products that do not ship from them are left out and not charged.

## `orderQuantity` (type: `integer`):

Adds unitPriceAtQuantity to every row: the price per unit at this quantity, read from the product's own tiers (empty below its minimum order, and on a product priced only by variant, which has no tiers).

## `shipToCountry` (type: `string`):

Read each product page as a buyer in this country (two letter code, for example DE, GB, AU), with Alibaba's own country setting: the shipping options the page shows are that country's, and a product not offered there is a free row that says so. Prices stay in USD; with currency set, the page's local prices are delivered beside them. Left out: as a buyer in the United States.

## `currency` (type: `string`):

Also deliver the page's own prices in this currency (Alibaba's currency setting, the figures as Alibaba shows them, never converted by this Actor), beside the USD figures every row carries. Left out: USD only.

## `includeSupplierRows` (type: `boolean`):

Also deliver one row per distinct supplier of the products this run delivered (type supplier): company, country, years, verification, ratings, response time, on time delivery, orders and revenue of the last 6 months, company scale, capabilities and contact person. Billed as one Supplier each; built from the product rows, no extra page read.

## `extendOutputFunction` (type: `string`):

A JavaScript function that gets each product row and returns an object stored under custom on that row, for example ({ title, unitPriceAtMoq }) => ({ short: title.slice(0, 40) }). It runs in an isolated child process with no network and no access to the run, at most 1 s per row; an error is a note on the row.

## `maxConcurrency` (type: `integer`):

Search pages read at once (1 to 3). Product pages are always read one at a time, at the Actor's pace.

## `maxRequestRetries` (type: `integer`):

Times a failed request is asked again (0 to 5).

## `maxRunSeconds` (type: `integer`):

The run stops reading after this many seconds and writes its rows, summaries and status (30 to 86,400).

## `debugLog` (type: `boolean`):

Write detailed log lines.

## `proxyConfiguration` (type: `object`):

Leave the default: the run reads from its own address with one Apify datacenter session behind it. Apify datacenter from the start is also accepted. Residential exits and own proxies are not used (the delivery country is set with Alibaba's own setting).

## Actor input object example

```json
{
  "productUrls": [
    "https://www.alibaba.com/product-detail/_1601190991934.html"
  ],
  "maxResultsPerKeyword": 10,
  "maxItems": 100,
  "includeSupplierRows": false,
  "maxConcurrency": 2,
  "maxRequestRetries": 2,
  "debugLog": false
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productUrls": [
        "https://www.alibaba.com/product-detail/_1601190991934.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation_craft/alibaba-product-details-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "productUrls": ["https://www.alibaba.com/product-detail/_1601190991934.html"] }

# Run the Actor and wait for it to finish
run = client.actor("automation_craft/alibaba-product-details-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [
    "https://www.alibaba.com/product-detail/_1601190991934.html"
  ]
}' |
apify call automation_craft/alibaba-product-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_craft/alibaba-product-details-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/80CYh93vYGSHL5lX8/builds/Kv4Ra1MQ3p4XstXzO/openapi.json
