# 1688 Offer Detail Scraper (`apt_marble/1688-offer-detail-scraper`) Actor

Turn any 1688 offer link into a complete wholesale record: price ladder, MOQ, images, specifications, SKUs, supplier and freight terms. Paste up to 500 links per run. No account, no login.

- **URL**: https://apify.com/apt\_marble/1688-offer-detail-scraper.md
- **Developed by:** [Hamza](https://apify.com/apt_marble) (community)
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 1688 Offer Detail Scraper

Get the full record behind any 1688 offer. Paste offer links or bare offer
IDs and each one comes back complete: title, price range and best price,
MOQ, the gallery image set, specification attributes, per-SKU prices with
stock, the supplier record and freight terms. No account and no login are
needed, and reads are direct and fast — no browser, nothing signed in.

### What you can do with it

- **Build a wholesale catalog.** Turn a list of offer links into a structured
  catalog with prices, MOQs and supplier records attached.
- **Check factory pricing before you negotiate.** The price band, MOQ and unit
  tell you the opening position before you contact the supplier.
- **Audit variants and stock.** Per-SKU prices, availability and sales show
  which variants move and which sit.
- **Verify the supplier inline.** Every record carries the company name, shop
  link, trust signals and ship-from city, so candidates sort themselves.
- **Feed a store or spreadsheet.** Every field is a plain column — export to
  Excel, Google Sheets, CSV or JSON in one click.

### What you get

One row per offer. Abridged real example:

```json
{
  "offerId": "989739058744",
  "title": "5D升级汽车头枕车用纳帕皮靠枕车内座椅枕头腰靠垫护颈枕冲孔透气",
  "url": "https://detail.1688.com/offer/989739058744.html",
  "imageUrl": "https://cbu01.alicdn.com/img/ibank/O1CN01WfQUoz1EDh38OGAZn_!!2214970560318-0-cib.jpg",
  "priceRange": "18.8-53.8",
  "bestPrice": 18.8,
  "maxPrice": 53.8,
  "priceCurrency": "CNY",
  "moq": 1,
  "unit": "个",
  "saleCount": 4500,
  "badges": ["一件代发"],
  "images": ["https://cbu01.alicdn.com/img/ibank/O1CN01WfQUoz1EDh38OGAZn_!!2214970560318-0-cib.jpg"],
  "attributes": [{ "name": "填充物", "value": "合成纤维" }, { "name": "适用汽车品牌", "value": "通用" }],
  "priceTiers": [{ "minQuantity": 1, "price": 18.8, "maxQuantity": null }],
  "skuCount": 74,
  "skus": [{ "spec": "摩卡棕泡泡款翻毛皮头枕+腰靠套装", "skuId": "5959123121951", "price": 53.8, "stock": 5641, "sold": 0 }],
  "supplier": {
    "name": "桐莲汽车用品源头工厂",
    "companyName": "上饶市桐莲汽车用品有限公司",
    "shopUrl": "https://shop04e972ow00037.1688.com",
    "powerMerchant": true
  },
  "shipFrom": "江西省上饶市",
  "freeShipping": false,
  "deliveryPromise": "承诺48小时发货·常发圆通快递",
  "rating": 4.9,
  "totalReviews": 510
}
```

### Input reference

| Field | Type | Default | What it does |
| --- | --- | --- | --- |
| `offerUrls` | list of text | *(example link)* | 1688 offer links (`detail.1688.com/offer/ID.html`) or bare numeric offer IDs. Up to 500 per run. |
| `maxImages` | number | `10` | How many gallery images to keep per offer (1–30). |
| `maxSkus` | number | `10` | How many SKU price/stock rows to keep per offer (0–50, `0` keeps none). |
| `maxAttributes` | number | `50` | How many specification attributes to keep per offer (0–100, `0` keeps none). |
| `maxConcurrency` | number | `3` | How many offers to read at the same time (1–8). |
| `proxyCountry` | text | `us` | Two-letter region code used for the read (e.g. us, gb, de). |

### Output fields

| Field | Type | Description |
| --- | --- | --- |
| `offerId` | text | The offer's identifier on the site. |
| `title` | text | Offer title, as printed. |
| `url` | text | Direct link to the offer. |
| `imageUrl` | text | Main product image — shown as the first column in the dataset table. |
| `priceRange` | text | The price band the site prints (for example `18.8-53.8`). |
| `bestPrice`, `maxPrice` | number | Cheapest and priciest ends of the band, in yuan. |
| `priceCurrency` | text | Always `CNY`. |
| `moq` | number | Minimum order quantity — the smallest tier's starting quantity. |
| `unit` | text | Pricing unit (for example `个`). |
| `saleCount` | number | Units sold, as printed. |
| `badges` | list | Service badges on the offer (for example `一件代发` for dropshipping). |
| `images` | list | Gallery image URLs, up to `maxImages`. |
| `attributes` | list | Specification attributes as `{ name, value }` pairs. |
| `priceTiers` | list | Quantity breaks as `{ minQuantity, maxQuantity, price }`; the last tier's `maxQuantity` is empty (open-ended). |
| `skuCount`, `skus` | number / list | How many SKUs exist, and up to `maxSkus` rows of `{ spec, skuId, price, stock, sold }`. |
| `supplier` | object | Supplier name, company, shop link, trust signals and scores. |
| `shipFrom` | text | Where the offer ships from, as printed. |
| `freeShipping` | true/false/empty | Whether the offer ships free, when the site states it. |
| `deliveryPromise` | text | The shipping promise printed on the offer, when there is one. |
| `rating`, `totalReviews` | number | Buyer rating and review total, as published. |
| `inputUrl`, `scrapedAt` | text | The link you passed and when the row was collected. |

### Pricing

You pay per offer returned — nothing else, and nothing for a link that
points to a removed or unreadable offer.

| What you pay for | Price |
| --- | --- |
| Each complete offer record | $2.00 per 1,000 |

**Worked example.** A catalog of 400 offers costs **$0.80**. A daily price
check on 200 offers costs $0.40 per run.

### Limits & what this actor cannot do

- Removed, expired or otherwise unreadable offers return no row and cost
  nothing. They are listed in the run summary so you can tell them apart from
  successful reads.
- Prices, tiers, stock and scores are a snapshot at the moment of collection
  and keep changing afterwards.
- The site prints review aggregates (totals, rating, tags) but no per-review
  list on this surface — individual review texts are not returned.
- Supplier history details such as years open or headcount are not printed on
  this surface and are not returned; only what the site prints is returned.
- Speed depends on the size of the job and on the source site's own response
  times; no fixed throughput is promised.
- The source site's terms govern automated access. You are responsible for
  using the data lawfully and in line with those terms, and for handling any
  personal data in line with applicable privacy law.

### FAQ

**Do I need a 1688 account?**
No. Nothing is signed in to and nothing is bought.

**Which links work?**
Any `detail.1688.com/offer/ID.html` offer link — or just the numeric offer ID
on its own.

**What happens with a dead link?**
It returns no row, costs nothing, and is named in the run summary under
failures so you can clean your list.

**Can I schedule price checks?**
Yes. Save your links as a task and run it on any schedule Apify supports,
then compare prices and tiers over time.

**How many SKUs come back?**
Up to `maxSkus` (50 at most). The `skuCount` field always tells you the full
total, so you know when a list was trimmed.

# Actor input Schema

## `offerUrls` (type: `array`):

1688 offer links (detail.1688.com/offer/ID.html) or bare numeric offer IDs. Up to 500 per run.

## `maxImages` (type: `integer`):

How many gallery images to keep per offer (up to 30).

## `maxSkus` (type: `integer`):

How many SKU price/stock rows to keep per offer (0 keeps none).

## `maxAttributes` (type: `integer`):

How many specification attributes to keep per offer (0 keeps none).

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

How many offers to read at the same time. Higher is faster; lower is gentler on the source site.

## `proxyCountry` (type: `string`):

Two-letter region code used for the read (e.g. us, gb, de).

## Actor input object example

```json
{
  "offerUrls": [
    "https://detail.1688.com/offer/989739058744.html"
  ],
  "maxImages": 10,
  "maxSkus": 10,
  "maxAttributes": 50,
  "maxConcurrency": 3,
  "proxyCountry": "us"
}
```

# Actor output Schema

## `results` (type: `string`):

Every offers you asked for, as a clean record.

## `runSummary` (type: `string`):

Counts per offer, including any item that could not be read.

# 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 = {
    "offerUrls": [
        "https://detail.1688.com/offer/989739058744.html"
    ],
    "maxImages": 10,
    "maxSkus": 10,
    "maxAttributes": 50,
    "maxConcurrency": 3,
    "proxyCountry": "us"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/1688-offer-detail-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 = {
    "offerUrls": ["https://detail.1688.com/offer/989739058744.html"],
    "maxImages": 10,
    "maxSkus": 10,
    "maxAttributes": 50,
    "maxConcurrency": 3,
    "proxyCountry": "us",
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/1688-offer-detail-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 '{
  "offerUrls": [
    "https://detail.1688.com/offer/989739058744.html"
  ],
  "maxImages": 10,
  "maxSkus": 10,
  "maxAttributes": 50,
  "maxConcurrency": 3,
  "proxyCountry": "us"
}' |
apify call apt_marble/1688-offer-detail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apt_marble/1688-offer-detail-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/bFqgG1a5nErDNQ2LD/builds/IPoxfPssi31MpMbaX/openapi.json
