# 1688 Image Search Scraper - Reverse Image & Supplier Finder (`ai-lead-gen-tools/1688-image-search-scraper`) Actor

\[💰$0.10/1K] Reverse image search on 1688 plus supplier and keyword modes. Rows keep price, MOQ, sold count, repeat rate, shop score, review summary and a similarity score. Detail mode adds stock, SKU prices, logistics and 2 latest reviews. CN proxy, no login, no key.

- **URL**: https://apify.com/ai-lead-gen-tools/1688-image-search-scraper.md
- **Developed by:** [Vladimir Che](https://apify.com/ai-lead-gen-tools) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 1,000 offer scrapeds

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

## 1688 Image Search Scraper - Reverse Image & Supplier Finder

**Reverse image search on 1688 without a login, an account or an API key.** Upload a photo and the actor returns the offers 1688 matches to it, with price, minimum order quantity, sold count, repeat purchase rate, shop score, review summary and a similarity score that tells you how far down the pool each row sat. The same actor also reads a supplier storefront by `memberId`, sweeps a keyword for 650+ unique offers, and opens any offer id as a full detail record with stock, SKU prices, attributes, logistics and the latest reviews.

Every request goes through a Chinese residential address that is preconfigured in the input, so a first run needs nothing but a photo. Keywords are sent to 1688 in GBK, the encoding the search endpoint expects. A single cookie jar answers about three keyword pages and then 1688 hands back a validation page, while a fresh jar from the same address answers normally, so the actor starts a new jar for every query variant instead of retrying the blocked one.

1688 以图搜货接口：上传一张图片即可返回同款或相似商品，包含价格、起批量、销量、回头率、店铺评分、评价摘要以及相似度评分。同一个 Actor 还支持按供应商 memberId 抓取店铺商品，按关键词批量搜索，以及按 offerId 打开商品详情，取得库存、SKU 价格、属性、物流与最新评价。全程无需登录、无需账号、无需 API 密钥，请求走中国住宅代理，关键词按 GBK 编码发送，适合 1688 选品、跨境货源比价与供应商筛选。

### What you get

| Field | Description |
|---|---|
| `recordType` | `offer` for a listing row, `offer-detail` for an enriched detail record |
| `offerId` | Numeric 1688 offer id, unique across the marketplace and stable across runs |
| `title` | Offer title as 1688 prints it, untranslated |
| `url` | Canonical desktop offer URL built from the id, for copy and paste |
| `image` | Main offer image URL |
| `price` | Price in CNY as 1688 returns it, empty when the card cannot be parsed |
| `priceText` | Price exactly as printed on the card |
| `currency` | Always empty: mtop responses carry no currency code, and CNY is never invented |
| `moq` | Minimum order quantity in pieces |
| `moqText` | MOQ as printed, such as `10件起批` |
| `saleQuantity` | Units sold as 1688 reports it |
| `saleText` | Sold count as printed, such as `30+件` |
| `bookedCount` | Orders booked in the last period |
| `repurchaseRate` | Repeat purchase rate printed on the card, empty when absent |
| `similarityScore` | 0-100 estimate of how close the row is to your query, from position and title overlap |
| `isP4P` | Whether the row is a paid placement |
| `isAd` | Whether the card is marked as advertising |
| `docType` | Raw document type from the pool, such as `b2bxad` |
| `badges` | Badge labels printed on the card, such as `回头率39%` |
| `material` | Material tag when the pool exposes one |
| `promotion` | Promotion text from the card |
| `shopName` | Supplier company name |
| `shopLoginId` | Supplier login id used in the storefront URL |
| `memberId` | Supplier member id, usable as a `memberIds` input |
| `shopUrl` | Mobile storefront URL of the supplier |
| `shopScore` | Supplier composite score, the only rating that actually differs between shops |
| `shopYears` | Years the supplier has traded on 1688 |
| `shopOfferCount` | Number of offers the storefront reports |
| `shopResponseRate` | Response rate as printed, empty when 1688 prints zero for everybody |
| `shopShip48hRate` | Share of orders shipped within 48 hours as printed |
| `province` | Supplier province |
| `city` | Supplier city |
| `bizType` | Business type, such as `生产加工` |
| `sourceType` | Which mode produced the row: `image`, `supplier`, `keyword` or `offerId` |
| `sourceQuery` | Keyword, photo index or supplier id that produced the row |
| `page` | Listing page the row was read from, starting at 1 |
| `position` | Position of the row inside that page, starting at 1 |
| `markers` | Block markers found in the response, empty on a clean payload |
| `scrapedAt` | Time the row was collected, in ISO 8601 |
| `stock` | Stock reported on the detail page, detail records only |
| `unit` | Sales unit from the detail page |
| `soldCount`, `soldText` | Sold count and its printed form, detail records only |
| `images` | Full gallery from the detail page |
| `videoUrl` | Product video when the offer has one |
| `variantImages` | Image per SKU value |
| `variantPrices` | Price per SKU value, always populated when the offer has SKUs |
| `priceTiers` | Volume price tiers, populated only when the offer really has several `beginAmount` values |
| `attributes` | Attribute table from the detail page |
| `services` | Service commitments offered on the offer |
| `location` | Supplier address block from the detail page |
| `deliveryText` | Delivery promise as printed |
| `deliveryDays` | Delivery window in days |
| `shippingFrom` | Dispatch location |
| `unitWeightKg` | Unit weight in kilograms |
| `packageAmount` | Pieces per package |
| `descriptionUrl` | URL of the full product description |
| `hasNewDescription` | Whether the offer uses the newer description format |
| `sellerUserId` | Supplier user id, the leading block of `memberId` |
| `reviewCountText` | Review counter exactly as the offer card shows it: a bucket such as `3` or `30+` |
| `reviewCountTextExact` | Number of reviews that actually carry text, a different number from the bucket |
| `goodRateText` | Positive feedback rate as printed, such as `好评率100%` |
| `goodRatePct` | Positive feedback rate as a number |
| `averageStar` | Average star level as visible on the card, automatically assigned by 1688 |
| `hasTextReviews` | Whether the offer has any review with text |
| `reviewTags` | Review tags returned with the summary |
| `reviews` | Up to two latest reviews, each with content, star level, quantity and an auto remark flag |
| `reviewsSourceUrl` | Offer the review block belongs to |
| `reviewsScrapedAt` | Time the review block was collected |

A field 1688 does not return stays empty, it is never guessed. Output is available as JSON, CSV or Excel, and the dataset ships three views: offers, details and suppliers.

```json
{
  "recordType": "offer",
  "offerId": "1046010624334",
  "title": "创意亚克力眼镜架定制二次元周边动漫眼镜支架展示架桌面立牌摆件",
  "url": "https://detail.1688.com/offer/1046010624334.html",
  "image": "https://cbu01.alicdn.com/img/ibank/O1CN01RpzrZS1bCXFEK5t5t_!!2222249363429-0-cib.jpg",
  "price": 8.5,
  "priceText": "8.5",
  "currency": null,
  "moq": 10,
  "moqText": "10件起批",
  "saleQuantity": 35,
  "saleText": "30+件",
  "bookedCount": 6,
  "repurchaseRate": "39%",
  "similarityScore": 100,
  "isP4P": true,
  "isAd": true,
  "badges": ["先采后付", "回头率39%"],
  "shopName": "温州金石达亚克力制品有限公司",
  "memberId": "b2b-222224936342960779",
  "shopScore": 5,
  "shopYears": 1,
  "bizType": "生产加工",
  "sourceType": "image",
  "page": 1,
  "position": 1,
  "markers": [],
  "scrapedAt": "2026-11-22T00:00:00.000Z"
}
```

### How to use it

1. Put one or more photos into `imageUrls`. A public https link, a `data:` URL and a raw base64 payload all work.
2. Optionally add `keywords` for a text sweep or `memberIds` for storefronts. All three can run in one job and each input is paged separately.
3. Turn on `includeDetails` if you need stock, SKU prices, attributes and reviews, and set `maxItems` to the number of detail records you are willing to pay for.
4. Cap the run with `maxResults`, `maxTotalChargeUsd` and `runBudgetSecs`, then download the dataset.

```json
{
  "imageUrls": ["https://example.com/product.jpg"],
  "keywords": ["亚克力眼镜架"],
  "maxResults": 300,
  "maxResultsPerImage": 120,
  "maxItems": 50,
  "includeDetails": true,
  "reviews": true,
  "excludeAds": true,
  "sortBy": "relevance",
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1.5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "CN"
  }
}
```

That proxy block is the default the actor ships with. Leave `proxyConfiguration` empty and the run uses exactly it, so a first job needs no setup.

| Input field | Type | Default | What it does |
|---|---|---|---|
| `imageUrls` | array | `[]` | Photos to reverse search: public https links, `data:` URLs or raw base64. Prefilled with a sample photo so a QA run returns rows without any setup |
| `keywords` | array | `[]` | Chinese or Latin search terms, sent to 1688 in GBK. Prefilled with `亚克力眼镜架` |
| `memberIds` | array | `[]` | Supplier ids to read as storefronts, taken from the `memberId` field of any row |
| `offerIds` | array | `[]` | Offer ids to open as detail records, no search needed |
| `maxResults` | integer | `300` | Total listing rows across all inputs before the run stops |
| `maxResultsPerImage` | integer | `120` | Listing rows per photo |
| `maxItems` | integer | `50` | Maximum detail records per run |
| `includeDetails` | boolean | `false` | Open every listing row as a detail record with stock, SKU prices, attributes and reviews |
| `reviews` | boolean | `true` | Attach the review summary to detail records |
| `excludeAds` | boolean | `true` | Drop paid placements from the listing |
| `minPrice` | number | none | Lower price bound in CNY, applied to the pool as a preference rather than a hard server filter |
| `maxPrice` | number | none | Upper price bound in CNY, same behaviour |
| `minOrderQuantity` | number | none | Drop offers whose MOQ is above this number of pieces |
| `sortBy` | string | `relevance` | `relevance` or `price`, the sort 1688 applies to the pool |
| `maxTotalChargeUsd` | number | none | Hard stop on the actor's own bill for this run |
| `requestDelaySecs` | number | `1.5` | Pause between requests, the main lever against a validation page |
| `requestTimeoutSecs` | integer | `60` | Timeout of a single request |
| `proxyConfiguration` | object | CN residential | Apify proxy settings, prefilled with Chinese residential addresses |
| `runBudgetSecs` | integer | none | Wall-clock budget, prefilled at 205 seconds |

#### Ready-made tasks

| Task | Input | Question it answers |
|---|---|---|
| [1688 Reverse Image Search: Offers From a Photo](https://apify.com/ai-lead-gen-tools/1688-image-search-scraper/examples/1688-reverse-image-search) | `imageUrls`, `maxResults: 120`, `maxResultsPerImage: 60` | which Chinese factories make this product, at what price and MOQ, and which shop is behind each offer |
| [1688 Keyword Search: Sourcing Offers by Term](https://apify.com/ai-lead-gen-tools/1688-image-search-scraper/examples/1688-keyword-supply-search) | `keywords: ["亚克力眼镜架"]`, `maxResults: 200`, `sortBy: relevance` | what the price ladder and MOQ distribution of one keyword look like, across price bands |
| [1688 Supplier Storefront: One Shop Catalogue](https://apify.com/ai-lead-gen-tools/1688-image-search-scraper/examples/1688-supplier-storefront) | `memberIds`, `imageUrls`, `maxResultsPerImage: 60` | what one supplier publishes, priced and ranked, before contacting them |
| [1688 Offer Details: Stock, SKU Prices, Reviews](https://apify.com/ai-lead-gen-tools/1688-image-search-scraper/examples/1688-offer-details) | `offerIds`, `maxItems: 2`, `reviews: true` | stock, SKU prices, attributes, logistics and the latest reviews behind an offer id you already hold |

### Modes

| Mode | Input | Requests for a typical run | Rows |
|---|---|---|---|
| Image search | `imageUrls` | 3 listing pages plus 2 jar-priming requests per photo | up to 700 matches per photo, capped by `maxResultsPerImage` |
| Supplier storefront | `memberIds` | 2 per page, the pool is small | 51 to 108 offers per shop, exact `found` |
| Keyword sweep | `keywords` | 4 base pages plus ten query splits per keyword | 650+ unique offers per keyword, no overlap between pages |
| Offer detail | `offerIds`, or `includeDetails` | 1 page plus 1 review request per offer | one `offer-detail` record per offer |

The modes run in that order in a single job, and rows are deduplicated by `offerId` across all of them. A supplier run reuses the image search session, so it needs at least one entry in `imageUrls`.

### Use cases

- **Sourcing a product from a photo** - upload a photo of a retail item and get the Chinese factories that make it, with MOQ, unit price and shop score, ready for a quote request.
- **Supplier shortlisting** - read a storefront by `memberId` and compare its full catalogue by price, sold count and repeat purchase rate before contacting anyone.
- **Category research** - sweep a Chinese keyword and get a 650+ offer sample to study the price ladder, the MOQ distribution and how crowded the niche is.
- **Price and stock monitoring** - open a fixed list of `offerIds` on a schedule and diff stock, price, booked count and review counters between runs.

### Cost

**$0.10 per 1 000 rows** on the highest volume tier, $0.11 on silver and $0.12 on bronze. The Store adds its margin on top of that price and the buyer sees it in the invoice, not in this number.

You pay per row the actor actually pushed into the default dataset:

- `image-search` - one listing row, charged only after the row is written.
- `detail-item` - one detail record collected through `includeDetails`.
- `offer-detail` - one detail record collected from `offerIds`.
- `apify-actor-start` - charged once per run.

Rows that were not charged are the ones you did not receive: duplicates dropped by `offerId`, ads removed by `excludeAds`, rows cut by a price or MOQ bound, rows cut by `maxResults`, and every record after `maxTotalChargeUsd` was reached. A surface that came back empty produces no rows and no charge.

Residential proxy traffic is not included in the per-row price: it is billed to the account that runs the actor at the platform proxy rate. A 650-offer keyword run moves roughly 1.2 MB because every request is about 41 KB compressed, which is about 1.8 KB per row. At $8 per GB that is under a cent of proxy for 1 000 rows.

### Honest limits

- **Image search returns a sample, not the whole pool.** 1688 reports 700 matches for a photo and serves 60 per page. The actor pages until `maxResultsPerImage`, the end of the pool or the page cap, so the number of rows you get is bounded by your own cap, not by the pool.
- **Keyword depth is bounded at four pages, and volume comes from splitting.** Anonymous pagination answers pages one to four and then returns `pc_search_no_login_intercept`. The actor works around it by running the same keyword across price bands and both sort directions, which produced 650 unique offers with zero overlap in measurement. There is no login, no account and no session cookie in this actor, by design.
- **There is no strict server-side price filter.** A price range shifts the pool but still leaks offers outside it, so `minPrice` and `maxPrice` cut rows after parsing. Rows whose price could not be read are dropped when either bound is set.
- **`currency` is empty on purpose.** mtop responses carry price but no currency code, and the currency on the HTML surface is set by a cookie. The actor returns `null` rather than assuming CNY.
- **Reviews are a summary plus at most two texts.** 1688 serves one summary and no pagination. `reviewCountText` is the bucket a buyer sees on the card and `reviewCountTextExact` is the number of reviews that carry text; they are separate fields and never substitute for each other. The same offer returned zero entries in one run and two in another, so the promise is "up to two".
- **Supplier response rate is not a differentiator.** 1688 prints `0%` for every shop in the sample, so the field is passed through and nothing is claimed about it. Offer star level is automatically assigned by 1688 and is reported as what the card shows, not as a quality signal.
- **`similarityScore` is derived, not a 1688 field.** It comes from the position of the row and the overlap between its title and your query, so it ranks rows inside one run and is not comparable between runs or keywords.

### FAQ

**Can I search by a photo I have on disk?**

Yes. Pass it as a `data:` URL or as raw base64 in `imageUrls`. A public link works too, and the actor downloads it through the same proxy.

**Do I need a 1688 account?**

No. There is no login, no cookie and no key anywhere in the input. The actor works anonymously by design.

**Why is my keyword run returning fewer rows than 650?**

The sweep stops early when `maxResults` or `maxTotalChargeUsd` is reached, and a validation page on one query variant makes the actor move to the next variant instead of retrying. The summary reports both the block count and the reason each surface stopped.

**Why are there no review fields in my rows?**

Reviews are attached to detail records only. Turn on `includeDetails` or use `offerIds`, and keep `reviews` on.

**What does `similarityScore` mean?**

It is an estimate computed by this actor from the position of the row and the overlap between its title and your query. It is a ranking aid, not a value from 1688.

**Can I get more than 700 offers for one photo?**

Not from one photo. Use several photos of the same product, or add a keyword for the same item and let deduplication merge the results.

**My run says the charge cap was reached. What happened?**

The actor stopped before the next paid event would cross `maxTotalChargeUsd`, kept everything it had already pushed and flagged `chargeCapReached` in the run summary.

### Related actors

- [Tokopedia Scraper](/tokopedia-scraper) - Indonesian marketplace listings, for comparing a 1688 sourcing price against a retail price in Southeast Asia.
- [Etsy Listings Scraper](/etsy-listings-scraper) - Etsy category and keyword listings with price, rating and shop identity, for pricing a 1688 source against a western retail listing.
- [Amazon Search Results Scraper](/amazon-search) - Amazon search results with the full product card, when a 1688 offer needs a retail comparison on the largest marketplace.
- [Amazon Keywords Scraper](/amazon-keywords) - keyword ideas for Amazon, useful when a 1688 offer needs an English demand check.

### Changelog

- 2026-11-22: actor published to the Store with tiered pricing at $0.10, $0.11 and $0.12 per 1 000 rows, and links to the published task examples added.
- 2026-11-22: first release. Reverse image search, supplier storefront by `memberId`, keyword sweep with ten query splits, detail records with stock, SKU prices, attributes, logistics and up to two latest reviews, ad exclusion, similarity score, spend cap and Chinese residential proxy enabled by default.

# Actor input Schema

## `imageUrls` (type: `array`):

Photos to reverse-search on 1688, one entry per photo. A public http or https link, a data URL such as data:image/jpeg;base64,... or a raw base64 payload all work. Each entry costs one `image-search` event and returns up to `maxResultsPerImage` offers. Up to 25 photos per run.

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

Chinese or English search terms, one target per entry. Keywords reach further than a photo: the search pools about 2 000 offers per term and the actor fills a 650+ offer sample per keyword by splitting the same query across price bands and sort orders, with no overlap between the base pages. Keywords are sent to 1688 in GBK, the encoding the search endpoint expects; Latin and Cyrillic terms are covered by that encoding, and a term with characters outside GBK is skipped with a clear message instead of being sent as garbage.

## `memberIds` (type: `array`):

1688 supplier ids such as b2b-2218295605397bd or a bare 2218295605397bd. Each id reads that supplier storefront and returns a bounded sample around 51 to 108 offers depending on the shop. Supplier mode reuses the image search session, so it needs at least one entry in `imageUrls`; without a photo the storefront comes back empty.

## `offerIds` (type: `array`):

Offer ids to open as full detail records, one per entry. A bare number, a mobile link or a desktop link all work: only the id is used and the desktop address is never requested. Each entry always produces an `offer-detail` row and costs one `offer-detail` event, regardless of the other modes.

## `maxResults` (type: `integer`):

Hard cap on listing rows for the whole run, shared across photos, keywords and suppliers. Duplicates by offer id are already dropped before the cap is applied. The run stops requesting as soon as the cap is reached.

## `maxResultsPerImage` (type: `integer`):

Listing cap for a single photo, so one broad photo cannot eat the whole budget. A photo search pool reports 700 matches and the actor pages through it 60 rows at a time until this cap or the end of the pool.

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

Limit on enriched detail records, not on listing rows. One detail record costs one request, while a listing page brings 60 rows in one request, so the two caps are counted separately. Detail records are only produced when `includeDetails` is on or when `offerIds` is filled.

## `includeDetails` (type: `boolean`):

Open the mobile offer page of every collected listing row and push a second record with stock, MOQ, SKU prices, images, attributes, logistics and the review summary. Each of those records costs a `detail-item` event and one extra request, so keep `maxItems` low when the flag is on.

## `reviews` (type: `boolean`):

Attach the review summary and the latest review texts to every detail record. 1688 returns one summary plus at most two review entries per offer in a single request, with no pagination: `reviewCountText` is the rounded counter shown on the offer card, `reviewCountTextExact` is the number of reviews that actually carry text, and the two are never swapped. Turning this off saves one request per detail record and leaves the review fields empty.

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

Drop paid placements from the dataset. 1688 repeats a sponsored card as a second entry with the same offer id and `isP4P: true`, so the row is deduplicated anyway; this switch decides whether that deduplicated row is pushed at all. Turn it off to keep sponsored offers and see the `isP4P` and `isAd` flags on the row.

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

Lower price bound in CNY, applied by this actor after parsing. 1688 has no strict server-side price filter: a price range shifts the pool but still leaks offers outside it, so this bound cuts rows the actor already received instead of narrowing the request.

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

Upper price bound in CNY, applied by this actor after parsing. Rows whose price could not be read are dropped when either bound is set, because an unknown price cannot be proven to match.

## `minOrderQuantity` (type: `number`):

Keep only offers whose minimum order quantity is at least this value. Useful for buyers who cannot take single pieces. Rows without a readable MOQ are dropped when the bound is set.

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

Ordering applied to keyword searches only, because photo and supplier pools come back in 1688 relevance order. Price sorting is sent to 1688 as a query parameter and also adds two extra query variants to the keyword sweep, which shifts the sample rather than strictly sorting it.

## `maxTotalChargeUsd` (type: `number`):

Spending cap for this run in US dollars, checked before every paid event. The actor stops once the next event would cross the cap, keeps everything it already pushed and reports `chargeCapReached` in the summary. Leave empty to run without a cap.

## `requestDelaySecs` (type: `number`):

Pause between requests, in seconds. A cookie jar survives about three keyword page calls before 1688 answers with a validation page, and the actor rotates the jar on every query variant, so a short pause is enough. Raising the delay is the cheapest way to stretch a run when 1688 answers with a validation page.

## `requestTimeoutSecs` (type: `integer`):

Timeout of one request in seconds. Keyword pages come back around 185 KB and detail pages around 190 KB over a Chinese residential proxy, where two to three seconds is normal and ten seconds is not.

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

Proxy the run goes through. The default is a Chinese residential pool, preconfigured so a run needs no setup. Keyword search only answers from a Chinese residential address: a US residential pool returned nothing in ten attempts, and the photos also work from a datacenter address but the run is priced as one job. Proxy traffic is billed to your Apify account, and a 650 offer keyword run costs roughly 1.2 MB.

## `runBudgetSecs` (type: `integer`):

Soft time budget for the whole run, in seconds. The run stops requesting before the platform timeout, keeps the rows it already pushed and reports the budget as exhausted in the summary. Leave empty to use the whole platform allowance.

## Actor input object example

```json
{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
  ],
  "keywords": [
    "亚克力眼镜架"
  ],
  "memberIds": [],
  "offerIds": [],
  "maxResults": 300,
  "maxResultsPerImage": 120,
  "maxItems": 50,
  "includeDetails": false,
  "reviews": true,
  "excludeAds": true,
  "sortBy": "relevance",
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1.5,
  "requestTimeoutSecs": 60,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  },
  "runBudgetSecs": 205
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per offer: id, title, offer link, photo, price, MOQ, sold and booked counters, repeat purchase rate, similarity score, ad flags, badges, supplier name and member id, supplier score, years, offer count and dispatch rate, province, city, business type, the input that produced the row, page and position, blocking markers and the timestamp. Detail records add stock, unit, gallery, video, variant photos and prices, attributes, services, logistics, weight, description address and the review block. Every field is always present and unknown values are null, so the column set stays stable between runs.

## `summary` (type: `string`):

Counters for the run: requests and bytes spent, pages fetched, offers and detail records collected, duplicates skipped, ads dropped, rows cut by price or MOQ bounds, blocked answers, failed detail and review calls, the caps actually applied, estimated spend against the charge cap, the budget state, charge totals, and every input that produced nothing with the reason attached.

# 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 = {
    "imageUrls": [
        "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
    ],
    "keywords": [
        "亚克力眼镜架"
    ],
    "maxResults": 300,
    "maxResultsPerImage": 120,
    "maxItems": 50,
    "includeDetails": false,
    "reviews": true,
    "excludeAds": true,
    "sortBy": "relevance",
    "maxTotalChargeUsd": 1,
    "requestDelaySecs": 1.5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "CN"
    },
    "runBudgetSecs": 205
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai-lead-gen-tools/1688-image-search-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 = {
    "imageUrls": ["https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"],
    "keywords": ["亚克力眼镜架"],
    "maxResults": 300,
    "maxResultsPerImage": 120,
    "maxItems": 50,
    "includeDetails": False,
    "reviews": True,
    "excludeAds": True,
    "sortBy": "relevance",
    "maxTotalChargeUsd": 1,
    "requestDelaySecs": 1.5,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "CN",
    },
    "runBudgetSecs": 205,
}

# Run the Actor and wait for it to finish
run = client.actor("ai-lead-gen-tools/1688-image-search-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 '{
  "imageUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png"
  ],
  "keywords": [
    "亚克力眼镜架"
  ],
  "maxResults": 300,
  "maxResultsPerImage": 120,
  "maxItems": 50,
  "includeDetails": false,
  "reviews": true,
  "excludeAds": true,
  "sortBy": "relevance",
  "maxTotalChargeUsd": 1,
  "requestDelaySecs": 1.5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "CN"
  },
  "runBudgetSecs": 205
}' |
apify call ai-lead-gen-tools/1688-image-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai-lead-gen-tools/1688-image-search-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/xkQxSeBcCCnACMxM0/builds/stPCALIqorUwpbyd6/openapi.json
