# Made-in-China.com API Scraper (`rl1987/made-in-china-api-scraper`) Actor

Scrapes product search results and product details from Made-in-China.com via its mobile app JSON API.

- **URL**: https://apify.com/rl1987/made-in-china-api-scraper.md
- **Developed by:** [R.L.](https://apify.com/rl1987) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 plp rows

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Made-in-China.com API Scraper do?

This **Made-in-China.com API scraper** extracts product listings and product details from [Made-in-China.com](https://www.made-in-china.com) by calling the same open JSON API used by its official mobile app. Give it one or more search **keywords** and it returns structured data: product name, company, price, minimum order, image, and (optionally) full product detail. Runs on the Apify platform with proxy rotation, scheduling, and API access built in.

### Why use Made-in-China.com API Scraper?

- Lead generation: build supplier/product lists for sourcing and procurement research.
- Price monitoring: track unit prices and minimum order quantities across keywords over time.
- Market research: analyze product assortment and competitor listings on a category.

### How to use Made-in-China.com API Scraper

1. Click **Try for free** or **Run**.
2. Enter one or more search **keywords** (e.g. `led light`).
3. Set **Max pages per keyword** and, optionally, **Max items per keyword**.
4. Toggle **Fetch product detail** if you want full PDP data merged into each item.
5. Click **Start** and download results from the **Dataset** tab in JSON, CSV, Excel, or other formats.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `keywords` | array of strings | Search keywords, required. |
| `maxPages` | integer | Max search-result pages per keyword (default 3). |
| `pageSize` | integer | Products per page (default 20). |
| `maxItems` | integer | Max products per keyword, 0 = unlimited (default 0). |
| `fetchProductDetail` | boolean | Also fetch product detail page per product (default true). |
| `requestDelaySecs` | number | Delay between requests, seconds (default 1). |
| `proxyConfiguration` | object | Apify Proxy settings (default: Apify Proxy enabled). |

See the **Input** tab for the full schema.

### Output

Each dataset item looks like:

```json
{
    "searchKeyword": "led light",
    "productId": "1234567890",
    "name": "High Power LED Light",
    "productName": "High Power LED Light",
    "companyName": "Example Manufacturing Co., Ltd.",
    "unitPrice": "1.5-3.0",
    "minOrder": "100 Pieces",
    "image": "https://image.made-in-china.com/...",
    "customPropertyList": { "Brand": "Example", "Warranty": "2 Years" },
    "productProperty": { "Model NO.": "EX-100", "Power": "100W" },
    "tradeInfo": { "tradeCondition": { "Port": "Shenzhen, China" } }
}
```

Search-result fields (from the PLP API) and, when `fetchProductDetail` is on, full product-detail fields (from the PDP API) are merged into a single flat item — no nested `plp`/`pdp` wrapper objects.

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field | Description |
| --- | --- |
| productId | Made-in-China internal product ID |
| productName | Product title |
| companyName | Supplier/company name |
| unitPrice | Unit price or price range |
| minOrder | Minimum order quantity |
| image | Product image URL |
| pdp | Full product detail payload (prices, properties, keywords, etc.), when enabled |

### Pricing / Cost estimation

This Actor makes lightweight JSON API calls (no browser rendering), so it is cheap to run. Cost scales with keywords × pages × (2 requests per product if detail fetching is on). Start with a small `maxPages`/`maxItems` to estimate cost before scaling up.

### Tips

- Set `fetchProductDetail` to `false` for faster, cheaper runs when you only need search-result fields.
- Increase `requestDelaySecs` if you see request failures, to avoid overloading the target server.
- Use Apify Proxy (enabled by default) to reduce the chance of IP-based rate limiting.

### FAQ, disclaimers, and support

This Actor scrapes publicly accessible data from Made-in-China.com's own app API. Use responsibly and in accordance with Made-in-China.com's Terms of Service. Made-in-China.com may change its API at any time, which can break this Actor; please report issues via the Issues tab. Need a custom variant? Reach out via Apify.

# Actor input Schema

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

List of keywords to search for on Made-in-China.com.

## `maxPages` (type: `integer`):

Maximum number of search result pages to fetch per keyword.

## `pageSize` (type: `integer`):

Number of products per search result page.

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

Maximum number of products to collect per keyword (0 = unlimited, bounded by maxPages).

## `fetchProductDetail` (type: `boolean`):

Also fetch the product detail page (PDP) for every product found and merge it into the output item.

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

Delay between individual API requests, to avoid overloading the target server.

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

Proxy settings for the requests made to Made-in-China.com.

## Actor input object example

```json
{
  "keywords": [
    "sneakers"
  ],
  "maxPages": 3,
  "pageSize": 20,
  "maxItems": 0,
  "fetchProductDetail": true,
  "requestDelaySecs": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "keywords": [
        "sneakers"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rl1987/made-in-china-api-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 = { "keywords": ["sneakers"] }

# Run the Actor and wait for it to finish
run = client.actor("rl1987/made-in-china-api-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 '{
  "keywords": [
    "sneakers"
  ]
}' |
apify call rl1987/made-in-china-api-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rl1987/made-in-china-api-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/BrgxoifhOWbXYwOTW/builds/LvR5NfWcInZbjt1y8/openapi.json
