Com APIpconline.com.cn ↗
Access PConline's product database via API. Fetch categories, listings, full specs, and retailer prices for mobile phones, laptops, tablets, cameras, and more.
What is the Com API?
The PConline API exposes 5 endpoints covering China's major tech product comparison database at pconline.com.cn. Use get_product_specs to retrieve complete technical specification sheets, list_products_by_category to page through up to 48 products per request, or get_product_price to pull retailer pricing alongside a reference price — all returning structured JSON with clearly named fields.
curl -X GET 'https://api.parse.bot/scraper/f7f45adc-1a2d-46a2-8ce2-d2bce794cae0/list_products_by_category?page=1&category=mobile' \ -H 'X-API-Key: $PARSE_API_KEY'
List products in a specific category with pagination support. Returns product names, URLs, prices, descriptions, and scores from the category listing page. Each page returns up to ~48 products.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for pagination. |
| category | string | Category slug from category URL path. |
{
"type": "object",
"fields": {
"items": "array of product objects with name, url, price, description, score"
},
"sample": {
"data": {
"items": [
{
"url": "https://product.pconline.com.cn/mobile/huawei/2904191.html",
"name": "HUAWEI nova 16",
"price": "¥2999",
"score": "暂无评分",
"description": "华为nova16搭载麒麟9010S芯片"
}
]
},
"status": "success"
}
}About the Com API
Category and Product Browsing
get_product_categories returns every top-level category on the PConline product homepage — including mobile phones, notebooks, tablets, cameras, TVs, home appliances, and smart wearables — as an array of {name, url} objects. Pass any category's URL slug as the category parameter to list_products_by_category, which paginates results in pages of roughly 48 products. Each item in the items array carries name, url, price, description, and score fields.
Product Detail and Versions
get_product_detail takes a full canonical product URL (e.g. https://product.pconline.com.cn/mobile/huawei/2904191.html) and returns a structured record with name, full_name, price, key_specs, available_versions, mall_prices, and related_articles. The available_versions array lists variant strings for products sold in multiple configurations. The related_articles array provides titles and URLs to editorial content associated with that product on PConline.
Specifications and Pricing
get_product_specs automatically converts a standard product URL to the corresponding specs page and returns a flat specs object mapping every specification attribute name to its string value — covering fields like screen size, processor, battery, connectivity, and camera specs depending on category. get_product_price similarly converts the URL to the pricing page and returns reference_price plus a mall_prices array, where each entry includes mall, product_name, price, and url. Note that mall_prices may be empty for products not yet commercially available in retail channels.
The Com API is a managed, monitored endpoint for pconline.com.cn — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when pconline.com.cn changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official pconline.com.cn API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Build a product comparison tool for Chinese consumer electronics using
get_product_specsto align spec sheets across models. - Track retailer price changes over time by polling
get_product_pricefor specific product URLs and storingmall_pricesarrays. - Populate a category browse page by combining
get_product_categoriesslugs with paginatedlist_products_by_categorycalls. - Enrich an e-commerce dataset with
key_specsandavailable_versionsfromget_product_detailfor laptops and tablets. - Feed editorial content links into a recommendation engine using the
related_articlesfield from product detail responses. - Monitor new product listings by comparing successive
list_products_by_categorypages for a given category slug. - Aggregate reference prices across mobile phone categories to analyze pricing trends in the Chinese tech market.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does PConline offer an official developer API?+
What does `get_product_specs` return beyond what `get_product_detail` already provides?+
get_product_detail returns a key_specs object with a curated subset of highlighted attributes alongside price, versions, and related articles. get_product_specs returns a comprehensive flat specs object covering all technical specification fields listed on the product's dedicated spec page — typically many more attributes than key_specs includes.Is user review data — ratings, review text, or review counts — available through this API?+
What happens when `mall_prices` is empty in a `get_product_price` response?+
mall_prices array indicates the product has no active retailer listings on PConline's price page — typically because the product is announced but not yet commercially available for purchase. The reference_price field may still be populated as an editorial estimate.Does the API cover product search by keyword or filter by spec attributes?+
list_products_by_category with pagination, but there is no keyword search endpoint and no spec-based filtering parameter. You can fork this API on Parse and revise it to add a search endpoint covering PConline's keyword search functionality.