# hbzhan Environmental Equipment Scraper 环保在线 – China (`rastriq/hbzhan-environmental-equipment-scraper`) Actor

Scrape hbzhan.com (环保在线), the Chinese environmental equipment B2B portal: products with reference price, brand, model, supplier company, city, photos and specs. HTTP only, no browser. 环保在线数据采集。

- **URL**: https://apify.com/rastriq/hbzhan-environmental-equipment-scraper.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.13 / 1,000 listing results

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

## hbzhan.com Scraper (环保在线) — Chinese environmental equipment products and suppliers

Extract the supplier product catalogue of **hbzhan.com (环保在线)**, a Chinese B2B portal for environmental-protection equipment: waste-water treatment, dust and gas treatment, water-quality and emission monitoring. Get **product titles, reference prices (or price-on-request), brands, models, supplier company names, cities, shop links, photos** and — optionally — **technical parameters, origin, MOQ and posted/updated dates**, in one clean JSON / CSV / Excel dataset.

> 🚀 **Try it free** — click **Start** with the defaults to get 10 products from *污水处理设备 (waste-water treatment equipment)* in a few seconds. No account, no browser, no API key.

### 🇨🇳 中文说明

**环保在线（hbzhan.com）产品数据采集工具**：无需浏览器、无需登录，按类目或店铺批量抓取环保在线上的环保设备：污水处理、除尘及废气处理、水质与排放监测仪器产品信息。

- **可采集字段：** 产品名称、类目路径、品牌、型号、参考价（含“面议”标记）、供应商公司名称、所在省份/城市、店铺链接、产品图片；开启“产品详情”后另含技术参数、产地、起订量、发布与更新时间。
- **选择类目：** 可通过下拉菜单按类目/子类目选择（支持中英文搜索；选择父类目即下载其全部子类目）。
- **使用方法：** 在下拉菜单中选择类目，或粘贴类目链接（例如 `https://www.hbzhan.com/chanpin-7692.html`）或店铺链接（`https://www.hbzhan.com/stN/`），也可输入类目关键词（如 污水处理设备、除尘器、水质分析仪），设置最大条数后点击 **Start**。
- **导出格式：** JSON、CSV、Excel 或通过 API 获取，字段结构与 Rastriq 其他中国工业设备采集器统一。
- **适用人群：** 环保工程公司、设备贸易商、采购与行业研究团队。
- **合规说明：** 遵守网站 robots.txt；仅采集公开的企业与产品信息，不采集联系人姓名、手机号码等个人信息。
- **计费：** 按结果计费：列表数据每 1,000 条 $1.50，含详情每 1,000 条 $3.50（每条只计费一次），每次运行另收 $0.005；更高等级的 Apify 套餐自动享受折扣。平台算力已包含；如自备代理（例如住宅代理），代理流量费用由您的代理服务商收取，不含在本工具价格内。

### Who is it for?

- **Environmental-engineering contractors, equipment importers and ESG / infrastructure analysts.**
- **Sourcing & procurement teams** building supplier long-lists (company, city, province, shop URL).
- **Market-intelligence and data teams** tracking brand presence, price disclosure and catalogue changes by category.
- **AI / RAG builders** who need a clean, structured Chinese industrial product corpus.

### What you get

| Mode | Requests per item | What you get |
|---|---|---|
| **Listing only** (default) | ~0.01–0.04 (30–100 products per request) | title, category path, price / price-on-request, supplier name + shop URL, city (+ province), image, brand (when shown), model (from title), member years |
| **With details** (`includeDetails`) | ~1.05 | everything above **plus** exact brand & model, origin (产地), supplier type, technical parameters (`specs`), all photos, posted/updated timestamps, MOQ, full category breadcrumb |

#### Output fields

| Field | Type | Description |
|---|---|---|
| `source` | string | `hbzhan.com` |
| `sourceSection` | string | `new_catalog` |
| `listingId` | string | Product ID on the portal |
| `url` | string | Product page URL |
| `title` | string | Product title (Chinese) |
| `category`, `categoryPath` | string, string\[] | Category and breadcrumb |
| `brand`, `model` | string | null | Brand / model (see `qualityFlags` for how they were derived) |
| `condition` | `new` | `used` | null | When the product page states it |
| `priceCny` | number | null | Numeric reference price in CNY (万 converted) |
| `priceText`, `priceType` | string | Original text (`面议`, `¥ 175000`) and `reference` / `on_request` |
| `location` | object | `{province, city, raw}` |
| `seller` | object | `{name, type: company \| dealer, shopUrl}` — **company data only** |
| `images` | string\[] | Full-size image URLs |
| `specs` | object | Technical parameters, key → value (Chinese as on the site) |
| `postedAt`, `updatedAt` | ISO 8601 | China time (+08:00) — with details |
| `qualityFlags` | string\[] | Data-quality markers (never used to drop items) |
| `scrapedAt` | ISO 8601 | UTC |
| `ext_categoryEn` | string | null | English name of the product's category (leaf), taken from the category tree — e.g. `Wastewater treatment equipment` |
| `ext_*` | various | Site-specific extras: `ext_siteName`, `ext_classId`, `ext_shopId`, `ext_memberYears`, `ext_origin`, `ext_sellerNature`, `ext_views`, `ext_moq`, `ext_moqUnit` … |

`year` and `hours` exist for schema compatibility with Rastriq's used-machinery actors and are always `null` here (new-equipment catalogue).

**Quality flags**: `price_on_request`, `price_missing`, `price_placeholder` (listed price ≤ ¥10), `brand_missing`, `model_missing`, `model_from_title` / `model_from_specs`, `city_missing`, `location_from_origin`, `image_missing`, `listing_only`, `detail_failed`, `specs_multi_model` (parameter table has one column per model; values joined with `|`).

### 📂 Category tree / 类目

The **📂 Categories** dropdown mirrors the site's own category tree, with **English and Chinese names** for every entry (type either language to filter; picking a top-level group downloads all its subcategories). Top-level groups (34):

| English | 中文 |
|---|---|
| Analytical instruments - popular categories | 分析仪器-热搜分类 |
| Biological reagents | 生物试剂 |
| Cable carriers/hardware materials/tools/warehousing | 拖链/五金材料/工具/仓储 |
| Crushing/pulverizing/sorting/feeding/conveying | 破碎/粉碎/分选/给料/输送 |
| Drying equipment/mixing/granulation | 干燥设备/混合/制粒 |
| Electrical equipment/industrial electrical appliances | 电气设备/工业电器 |
| Energy-saving equipment | 节能装备 |
| Environmental protection services | 环保服务 |
| Environmental testing instruments | 环境检测仪器 |
| Environmental/insulation/sealing/waterproof and fireproof materials | 环保/保温/密封/防水防火材料 |
| Filtration/fans/centrifuges/boilers/heat exchange | 过滤/风机/离心机/锅炉/换热 |
| Industry-specific instruments - popular categories | 行业专用仪器-热搜分类 |
| Information management|electronic equipment | 信息化管理|电子设备 |
| Instrument main categories | 仪表大类 |
| Laboratory equipment - popular categories | 实验室仪器设备-热搜分类 |
| Landscaping | 园林景观 |
| Life science instruments - popular categories | 生命科学仪器-热搜分类 |
| Machine tools/anti-corrosion/refrigeration/air separation/ultrasonic | 机床/防腐/制冷/空分/超声波 |
| Main instrument categories | 仪器主类 |
| Measuring instruments - popular categories | 测量仪器-热搜分类 |
| Mechanical parts | 机械零部件 |
| New energy | 新能源 |
| Noise control | 噪声控制 |
| Optical instruments - popular categories | 光学仪器-热搜分类 |
| Other machinery | 其它机械 |
| Physical property instruments - popular categories | 物性仪器-热搜分类 |
| Pipe fittings|storage tanks|water tanks | 管件|储罐|水箱 |
| Pumps (main category) | 泵-主分类 |
| Renewable resources | 再生资源 |
| Sanitation and cleaning | 环卫清洁 |
| Solid waste treatment equipment | 固废处理设备 |
| Valves (main category) | 阀门-主分类 |
| Waste gas treatment/air purification | 废气处理/空气净化 |
| Water treatment equipment | 水处理设备 |

In the output, `category` / `categoryPath` keep the site's Chinese names and `ext_categoryEn` gives the English name of the category.

下拉菜单与网站类目树一致，每个类目均提供中英文名称，可用中文或英文搜索；选择一级类目即下载其全部子类目。输出中 `category` / `categoryPath` 为网站中文类目，`ext_categoryEn` 为英文类目名称。

### How to use

1. Pick one or more entries in the **📂 Categories (类目)** dropdown — the portal's real category tree (34 top-level groups, 312 categories, 3133 subcategories; the deepest level is omitted for 68 very large branches and can be pasted as a URL). Type to filter in English or Chinese. Picking a **parent** (entries ending in `(all)`) downloads all its subcategories; the default is a light, popular category.
2. And/or paste **category or shop URLs** — e.g. `https://www.hbzhan.com/chanpin-7692.html` or `https://www.hbzhan.com/stN/` (merged and de-duplicated with the dropdown selection; clear the dropdown if you only want the URLs).
3. Set **Max items**, optionally enable **Include product details**, and press **Start**.

Neither? Give a **keyword** (e.g. `污水处理设备` (wastewater treatment equipment), `除尘器` (dust collectors), `水质分析仪` (water quality analyzers)): it is matched against the portal's category names (Chinese or English) and the matching categories are scraped. With no keyword either, the default category is used. The `categories` input also accepts plain category IDs through the API (e.g. `7692`), including IDs that are not in the dropdown.

#### Example input

```json
{
  "categories": [
    "7692"
  ],
  "categoryUrls": [
    {
      "url": "https://www.hbzhan.com/chanpin-7692.html"
    }
  ],
  "maxItems": 100,
  "includeDetails": true
}
```

#### Example output (with details)

```json
{
  "source": "hbzhan.com",
  "sourceSection": "new_catalog",
  "listingId": "18176963",
  "url": "https://www.hbzhan.com/chanpin/18176963.html",
  "title": "一体化提升泵站",
  "category": "泵站",
  "categoryPath": [
    "管件|储罐|水箱",
    "泵",
    "泵站"
  ],
  "brand": "舜治",
  "model": null,
  "year": null,
  "hours": null,
  "condition": null,
  "priceCny": 30000.0,
  "priceText": "¥ 30000",
  "priceType": "reference",
  "location": {
    "province": "江苏",
    "city": "泰州市",
    "raw": "泰州市"
  },
  "seller": {
    "name": "江苏舜工机械有限公司",
    "type": "company",
    "shopUrl": "https://www.hbzhan.com/st595294/"
  },
  "images": [
    "https://img44.hbzhan.com/6/20260902/639239544597457030459.jpg",
    "https://img44.hbzhan.com/aa34cddb152813e91daf32f523ae58a6299d520589e0c014470cef9d682d2439840905d3d299877b.jpg",
    "https://img44.hbzhan.com/aa34cddb152813e91daf32f523ae58a60c3a4155c28b17567a79e3ca071e7056db953f8ec3392f14.jpg",
    "https://img44.hbzhan.com/aa34cddb152813e91daf32f523ae58a6212781daf7815b9f273a97c03ea7a9d576f788c0550a3da4.jpg",
    "https://img44.hbzhan.com/aa34cddb152813e91daf32f523ae58a69ea03f2a654b2272a9265a3eb5383c585ab901e14889e664.jpg",
    "https://img44.hbzhan.com/aa34cddb152813e91daf32f523ae58a6c05df91517fc83a6df15c69f5f089a31f30890454045c127.jpg"
  ],
  "specs": {
    "加工定制": "是",
    "驱动方式": "电动",
    "原理": "其他"
  },
  "postedAt": "2018-09-24T17:47:25+08:00",
  "updatedAt": "2026-09-14T10:10:36+08:00",
  "qualityFlags": [
    "model_missing"
  ],
  "scrapedAt": "2026-10-20T22:56:33Z",
  "ext_siteName": "环保在线",
  "ext_classId": "20441",
  "ext_categoryEn": "Pump stations",
  "ext_shopId": "595294",
  "ext_memberYears": 1,
  "ext_origin": null,
  "ext_sellerNature": "生产厂家",
  "ext_views": 538,
  "ext_moq": 2,
  "ext_moqUnit": "件",
  "ext_summary": null,
  "ext_shopProductUrl": "https://www.hbzhan.com/st595294/product_18176963.html"
}
```

### Input parameters

| Parameter | Description |
|---|---|
| `categories` | Dropdown of the portal's category tree (L1/L2/L3, English + Chinese). A parent downloads all its subcategories. Unknown IDs are treated as plain category IDs. |
| `categoryUrls` | hbzhan.com category pages or supplier shop URLs (merged with `categories`). |
| `keyword` | Without categories/URLs: matched against category names (Chinese or English). With them: keeps products whose title contains it. |
| `maxItems` | Default 100, `0` = unlimited. Strictly enforced across all selected categories and URLs: each gets a fair share first (at least 10 items), then the rest is filled in order. |
| `includeDetails` | Open each product page (1 extra request per item). |
| `maxPagesPerCategory` | Cap pages per category/shop (0 = all). |
| `maxConcurrency` / `requestDelayMs` | Politeness controls (defaults 3 / 500 ms). |
| `proxyUrl` | Ignored — the Actor always runs without a proxy (kept for input compatibility). |
| `debugMode` | One log line per request. |

### Cost

Pay-per-event pricing — you pay only for items that land in your dataset, never for retries or failed pages. Higher Apify plans get automatic volume discounts:

| Event (per 1,000 results) | Free | Bronze | Silver | Gold | Platinum | Diamond |
|---|---|---|---|---|---|---|
| **Listing result** (Include details off) | $1.50 | $1.35 | $1.275 | $1.125 | $0.975 | $0.90 |
| **Detailed result** (Include details on) | $3.50 | $3.15 | $2.975 | $2.625 | $2.275 | $2.10 |

Plus **$0.005 per run** (Actor start). Each item is charged **either** as a listing result **or** as a detailed result — never both; if a detail page cannot be fetched, that item is charged at the listing price.

*Example:* 1,000 items with details on the Free plan ≈ **$3.50**; 10,000 listing-only items ≈ **$15.00**.

Platform compute is included in the price. **Proxy:** not needed and not used — any proxy setting is ignored. Use *Max items* or the run's *Maximum cost per run* to cap your spend.

Speed: a 100-item listing-only run takes a few seconds; 100 items with details take about 45–60 seconds at the default politeness settings.

### Limits & good to know

- **100 pages per category.** The portal exposes at most 100 listing pages per category. For deeper coverage use sub-category URLs or supplier shop URLs (`/stN/`).
- **Shop links:** hbzhan.com listing pages do not show the supplier shop link, so `seller.shopUrl` is filled only with **Include product details**.
- **No free-text search.** The portal's search endpoints are disallowed by `robots.txt`; keywords are matched against category names or product titles instead.
- **Prices** are reference prices (参考价). Roughly 35–60 % of listings carry a numeric reference price; the rest are `面议` (price on request). Placeholder prices such as ¥1 are kept and flagged `price_placeholder`.
- **Brand / city coverage** in listing-only mode depends on the supplier (roughly 30–95 %); **Include product details** raises both.
- Text fields are in Chinese as published. Timestamps from the site are China local time (+08:00).
- **Privacy:** only company data (name, city, shop URL) is extracted. Contact persons, phone numbers and other personal contact details are never collected.

### FAQ

**Do I need a proxy?** No — proxy settings are ignored, because the site only accepts the session from the run's own IP. The actor works from Apify's standard servers; latency to China varies, so it retries with exponential back-off (up to 4 attempts) and detects block/captcha pages.

**Can I get only new or changed products?** Use `updatedAt` (with details) to filter downstream; each run is a full snapshot of the requested categories.

**How do I find a category ID?** Use the **Categories** dropdown (type to search), or open the category on the site and paste its URL directly.

**Is scraping this site allowed?** The actor only collects publicly visible catalogue data and follows the site's `robots.txt`. You are responsible for using the data in line with applicable law and the site's terms.

### Related Rastriq actors

Same output schema across China's industrial portals: [jc35.com (机床商务网)](https://apify.com/rastriq/jc35-machine-tools-scraper), [zyzhan.com (制药网)](https://apify.com/rastriq/zyzhan-pharma-machinery-scraper), [chem17.com (化工仪器网)](https://apify.com/rastriq/chem17-lab-instruments-scraper), [ybzhan.cn (仪表网)](https://apify.com/rastriq/ybzhan-instruments-scraper), plus jdzj.com (机电之家), lmjx.net (路面机械网), d1cm.com (第一工程机械网), 21-sun.com (铁臂商城) and tiebaobei.com (铁甲二手机).

***

Built and maintained by **Rastriq** — scraping and data infrastructure for industrial and automotive markets. Issues or feature requests: open an issue on the actor page.

# Actor input Schema

## `categories` (type: `array`):

Pick whole branches or single subcategories from the portal's category tree (type to filter, in English or Chinese). <b>A parent entry — the ones ending in <code>(all)</code> — downloads all its subcategories</b>; a leaf entry downloads just that category. The default is <i>Wastewater treatment equipment · 污水处理设备</i> (light and popular). You can also paste category or shop URLs in the next field, instead of or in addition to these categories (both are merged and de-duplicated); clear this list if you only want the URLs. <br><br><i>Note: to keep this form light, the deepest level is not listed for 68 large branches (more than 24 subcategories each). Selecting the parent still downloads all of them, and any deeper subcategory can be pasted as a URL below.</i>

## `categoryUrls` (type: `array`):

Category pages such as <code>https://www.hbzhan.com/chanpin-7692.html</code> or a supplier shop such as <code>https://www.hbzhan.com/st123456/</code>. Only hbzhan.com URLs are accepted (other portals have their own Rastriq actors). Optional: use instead of, or in addition to, the <b>Categories</b> dropdown above (everything is merged and de-duplicated). Leave both empty to use the default category (or the keyword below).<br><br>Note: each category exposes at most 100 pages. Use sub-category or shop URLs to go deeper.

## `keyword` (type: `string`):

The site's free-text search is disallowed by its robots.txt, so the keyword works in two ways: <b>(1)</b> without URLs it is matched against hbzhan.com <i>category names</i>, Chinese or English (e.g. <code>污水处理设备</code> (wastewater treatment equipment), <code>除尘器</code> (dust collectors), <code>水质分析仪</code> (water quality analyzers)) and those categories (with all their subcategories) are scraped; <b>(2)</b> with categories or URLs selected it keeps only products whose title contains the keyword (case-insensitive).

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

Maximum number of products to output. Use a small number for your first test. Set to <code>0</code> for no limit.

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

Also open every product page (<b>1 extra request per item</b>, slower) to add: full brand & model, origin, technical parameters (<code>specs</code>), all photos, posted/updated timestamps, minimum order quantity and the exact category path. Off = listing data only (fast: up to 100 products per request).

## `maxPagesPerCategory` (type: `integer`):

Stop after this many listing pages per category/shop. <code>0</code> = all available pages.

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

Parallel requests. Higher is faster but puts more load on the source site. Keep it low.

## `requestDelayMs` (type: `integer`):

Base delay before every request, with ±50% random jitter.

## `proxyUrl` (type: `string`):

Ignored. The site's verification works only from the run's own IP, so the Actor never uses a proxy; this field is kept so existing inputs keep working.

## `debugMode` (type: `boolean`):

Verbose logging: one line per HTTP request (URL, status, size, time).

## Actor input object example

```json
{
  "categories": [
    "7692"
  ],
  "maxItems": 10,
  "includeDetails": false,
  "maxPagesPerCategory": 0,
  "maxConcurrency": 3,
  "requestDelayMs": 500,
  "debugMode": false
}
```

# Actor output Schema

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

Dataset with all scraped products in the normalized Rastriq schema.

# 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 = {
    "categories": [
        "7692"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/hbzhan-environmental-equipment-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 = {
    "categories": ["7692"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/hbzhan-environmental-equipment-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 '{
  "categories": [
    "7692"
  ],
  "maxItems": 10
}' |
apify call rastriq/hbzhan-environmental-equipment-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rastriq/hbzhan-environmental-equipment-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/K6iXChwIKUQTQSUHt/builds/PapQwKr5SVRvOfZTv/openapi.json
