# Taobao Scraper & API | EveryInfra (`blushing_parachute/everyinfra-taobao-api`) Actor

Unofficial Taobao data via one Actor: search, product_detail, shop, reviews, questions. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.

- **URL**: https://apify.com/blushing_parachute/everyinfra-taobao-api.md
- **Developed by:** [ECHO](https://apify.com/blushing_parachute) (community)
- **Categories:** E-commerce, Developer tools
- **Features:** Limited permissions
- **Stats:** 13 total users, 6 monthly users, 33.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.40 / 1,000 search requests

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

## Taobao Scraper & API | EveryInfra

Search Taobao and Tmall products to retrieve specifications, pricing, reviews, shop details and user questions.

Product URLs must include a numeric ID. Short links and promotional tokens cannot be read directly.

### Actions

| Action | What you get | Required | Optional | Results per request | Price per request |
|---|---|---|---|---|---|
| `search` | Search Taobao and Tmall listings by keyword. Get price and ship-from location, plus units sold, rating, shop and coupon or discount details when available. Plain keyword searches are the most reliable and can page with `page`, 20 per page, though most of their rows lack units sold and shop name. Price ranges, `popular`, `price_desc` and `tmall_only` cannot page, and the last three cap a request at 10. Stock, authenticity and delivery are not confirmed. | keyword | max_price, min_price, page, sort, tmall_only | 20 (up to 20) | $0.0114 |
| `product_detail` | Get the full record of one Taobao or Tmall product. It covers brand, prices, stock, every SKU, attributes, images, shipping fees and shop scores. Pass a numeric item ID, a product link or share text with exactly one product link. Bare share codes and expired links are rejected. | url | — | 1 | $0.0011 |
| `shop` | List the items a Taobao seller has on sale now: up to 20 per call, or page through the shop 60 at a time. Get the struck-through price, category, a postage-included flag, main image and shop ratings; rows have no sales or review counts. `shop` takes the seller's numeric user ID or a shop link, not a store name. | shop | page, seller, sort, user_id | 20 (up to 20) | $0.0112 |
| `reviews` | Read buyer reviews of a Taobao product, up to 100 per call, and page through for more. Each review has rating, variant bought, helpful votes, photos, follow-up review and seller reply. Pass the item ID, a product link or share text with one product link. The batch may not include every review. | url | page, page_token | 20 (up to 100) | $0.0101 |
| `questions` | Pull the buyer questions and answers on a Taobao product page, with the answer count and posting date for each question. `answer_count` can differ from the answers returned, and answers are not guaranteed to come from the seller. | url | — | 10 (up to 100) | $0.0408 |

### Input

Pick an `action` and fill the fields it uses. Example:

```json
{
  "action": "search",
  "keyword": "\u4fbf\u643a\u5496\u5561\u79e4"
}
```

Fields that another action needs are ignored when left empty. API users can also pass `{"action": ..., "params": {...}}`.

### Output

Each result is one dataset row. Rows keep every field the source page exposes for that action; a field the platform hides or leaves empty for a record is omitted rather than filled with a placeholder. When there is a next page, the run's `OUTPUT` record holds `next_page_token`.

- `search`: `id`, `url`, `title`, `price`, `currency`, `price_basis`, `sold_count`, `rating`, `rating_scale`, `location`, `shop_name`, `image_url`, `stock`, `shop_id`, `sold_text`, `original_price`, `coupon_price`, `discount_type`, `is_tmall`, `brand`, `category_id`, `seller_credit_level`, `seller_positive_rate`, `shop_score_description`, `shop_score_service`, `shop_score_delivery`, `subtitle`, `search_rank`, `free_shipping`, `selling_points`, `review_tags`, `images`, `discount_rate`, `spu_id`, `category_path`, `review_count`, `latest_review`, `seller_type`, `shop_opened_at`, `shop_age_years`, `shop_item_count`, `shop_score_vs_industry`, `platform`
- `product_detail`: `id`, `url`, `title`, `brand`, `price`, `original_price`, `currency`, `price_basis`, `stock`, `sold_count`, `category_id`, `location`, `is_tmall`, `shop_name`, `shop_id`, `shipping_fee`, `ems_fee`, `express_fee`, `skus`, `sku_count`, `spec_values`, `props_images`, `attributes`, `main_image_url`, `description_images`, `description_html`, `video_url`, `coupon_price`, `price_usd`, `total_price`, `suggestive_price`, `has_discount`, `is_promotion`, `promo_type`, `is_virtual`, `brand_id`, `root_category_id`, `category_path`, `weight`, `size`, `favorite_count`, `fans_count`, `min_order_quantity`, `shipping_to`, `listed_at`, `modified_at`, `delist_at`, `images`, `category_name`, `description`, `keywords`, `shop_score_description`, `shop_score_service`, `shop_score_delivery`, `free_shipping`, `promotion_price`, `discount_price`, `discount_type`, `price_note`, `has_price_range`, `payment_methods`, `seller_id`, `seller_credit_level`, `seller_type`, `seller_type_label`, `selling_points`, `shop_logo_url`, `shop_url`, `shop_item_count`, `shop_new_item_count`, `shop_opened_at`, `review_tags`, `review_count`, `positive_rate`, `seven_day_return`, `reviews`, `platform`
- `shop`: `id`, `url`, `title`, `original_price`, `currency`, `category_id`, `free_shipping`, `shop_name`, `shop_id`, `seller_id`, `image_url`, `shop_url`, `shop_logo_url`, `shop_score_description`, `shop_score_service`, `shop_score_delivery`, `shop_item_count`, `platform`
- `reviews`: `id`, `text`, `rating`, `rating_scale`, `posted_at`, `sku`, `buy_count`, `useful_count`, `author_name`, `author_avatar_url`, `images`, `review_append`, `platform`, `next_page_token`, `seller_reply`
- `questions`: `id`, `url`, `text`, `answer_count`, `posted_at`, `answers`, `platform`

#### Field notes

- `review_append`: Buyer's follow-up (appended) review text. Several follow-ups are joined with line breaks in posting order; the field is absent when there is none.
- `sold_text`: Sales figure as shown (search), for example 100k+; figures with + or 10k units are rounded displays, not exact sales.
- `discount_type`: Discount or campaign type as written (for example flash sale).
- `seller_credit_level`: Seller credit level (a number; higher is better).
- `seller_positive_rate`: Seller positive-feedback rate (search), as a percentage: 100 means 100%.
- `shop_score_description`: Shop rating for item-as-described, on a 5-point scale.
- `shop_score_service`: Shop rating for service, on a 5-point scale.
- `shop_score_delivery`: Shop rating for delivery, on a 5-point scale.
- `subtitle`: Product subtitle (search), a short selling-point line.
- `search_rank`: Position in this search result (search), starting at 1; when paging it keeps counting, so page 3 starts at 41.
- `selling_points`: Selling-point tags.
- `review_tags`: Review tags, each with tag (the label) and count (how often it was mentioned; may be missing).
- `category_name`: Leaf category name (product_detail).
- `keywords`: Keywords from the product page (product_detail).
- `promotion_price`: Promotional price (product_detail; often missing).
- `discount_price`: Discounted price (product_detail; often missing).
- `price_note`: Price note as written (product_detail).
- `has_price_range`: Whether the price is a range because variants cost different amounts (product_detail).
- `payment_methods`: Accepted payment methods (product_detail).
- `seller_id`: Seller ID (can be missing in shop; in product_detail, some sources do not return it).
- `seller_type`: Seller type code (product_detail).
- `seller_type_label`: Seller type name (product_detail), for example Tmall or business shop.
- `shop_logo_url`: Shop logo link (product_detail, shop; can be missing in shop).
- `shop_url`: Shop link (product_detail, shop).
- `shop_item_count`: Number of items on sale in the shop (product_detail, search, shop).
- `shop_new_item_count`: Number of new items in the shop (product_detail).
- `shop_opened_at`: When the shop opened, as written (product_detail).
- `positive_rate`: Product positive-review rate (product_detail), as a percentage; often missing.
- `seven_day_return`: Whether seven-day no-reason returns are supported (product_detail).
- `author_avatar_url`: Reviewer avatar link (reviews).
- `free_shipping`: Whether shipping is free.
- `brand`: Brand.
- `original_price`: Original (struck-through) price. In product_detail it is empty on most calls. In shop it is the only price: the struck-through figure the listing shows, not the selling price, and it can be well above it; use product_detail for the selling price.
- `stock`: Stock count. For sellers with several warehouses, calls for the same product can return different stock (and a different ship-from location). In product_detail, when the source gives no stock for the whole product, this is the sum of the SKU stocks.
- `sold_count`: Units sold. In product_detail only part of the calls return it, and that share changes from day to day.
- `category_id`: Category ID.
- `is_tmall`: Whether the store is a Tmall store, as opposed to a regular Taobao shop; the two have different entry requirements and buyer guarantees. In product_detail, some sources do not return it.
- `shop_name`: Shop name.
- `shop_id`: Shop ID.
- `shipping_fee`: Shipping fee. In product_detail it is empty on most calls.
- `ems_fee`: EMS shipping fee. In product_detail it is empty on most calls.
- `express_fee`: Express delivery fee. In product_detail it is empty on most calls.
- `skus`: Every variant (SKU) of the listing. Each entry can carry id, name, price, original_price, coupon_price, stock, props_ids and image_url; price can be a converted price (see price). The coupon_price in an entry is the after-coupon price shown on the product page, not worked out per variant from the store coupon, and not every call returns it; see the top-level coupon_price.
- `price`: Price as a number without a currency symbol; see currency. In product_detail, prices (including each skus row's price) are either the CNY price shown on the Taobao page or a CNY price converted from US dollars, which can be about 1–4% above or below the page price; the page price is authoritative. In search, each row's price can be the current page price, the struck-through list price or a promotion price. price_basis says which kind you got.
- `price_basis`: How price was obtained (present only when there is a price). In product_detail: page is the CNY price shown on the Taobao page; converted is a CNY price converted from US dollars and can be about 1–4% above or below the price on the Taobao page. In search (one per row): page is the current price shown on the Taobao page; list is the struck-through list price, which is above the actual selling price when the item is discounted, sometimes twice as much; promotion is a Taobao affiliate promotion price and is often well below the page price. currency is CNY in every case, and calls for the same product can differ.
- `location`: Ship-from location. For sellers with several warehouses, calls for the same product can show different ship-from locations.
- `sku_count`: Number of SKUs.
- `spec_values`: Full table of variant values, including combinations not on sale; id identifies the value and text is its label.
- `props_images`: Images for variant values: id matches spec_values and props_ids, and image_url is that variant's display image.
- `attributes`: Product attributes as {name, value} rows, such as brand, model and place of origin.
- `main_image_url`: Main (first) image. For product detail (product_detail), a call that returns neither this nor `images` is not charged; the other fields still come back.
- `description_images`: Long images in the description area, in page order. In product_detail it is empty on some calls.
- `description_html`: Raw HTML of the description area, mostly image tags. In product_detail it is empty on some calls.
- `video_url`: Direct link to the main-image video. This field is usually empty because the video is rarely available; an empty value does not mean the product has no video.
- `coupon_price`: Price after coupon: lower than price when a coupon applies, absent otherwise. It is the price shown on the product page, not worked out per variant from the store coupon. In product_detail only part of the calls return it (that share changes from day to day), so a missing value does not always mean there is no coupon.
- `price_usd`: Reference price in US dollars, as converted in the returned data. In product_detail it is empty on most calls.
- `total_price`: Total price as returned; often absent.
- `suggestive_price`: Suggested retail price; often absent.
- `has_discount`: Whether a discount applies. In product_detail it is empty on most calls.
- `is_promotion`: Whether the product is on promotion. In product_detail it is empty on most calls.
- `promo_type`: Promotion type.
- `is_virtual`: Whether the product is virtual (not a physical good). In product_detail it is empty on most calls.
- `brand_id`: Brand ID.
- `root_category_id`: Root category ID.
- `category_path`: Category path (breadcrumb).
- `weight`: Product weight as returned; often 0 or absent. In product_detail it is empty on most calls.
- `size`: Product dimensions; often absent.
- `favorite_count`: Number of times the product was added to favorites.
- `fans_count`: Follower count as returned; often absent.
- `min_order_quantity`: Minimum order quantity. In product_detail it is empty on most calls.
- `shipping_to`: Delivery area note; often absent.
- `listed_at`: Listing time (ISO 8601); the field is absent when the data has none.
- `modified_at`: Last modified time (ISO 8601); the field is absent when the data has none.
- `delist_at`: Delisting time (ISO 8601); the field is absent when the data has none.
- `answer_count`: Number of answers to the buyer question.
- `answers`: Answers to the buyer question.
- `images`: Image links: product photos on product_detail, the buyer's photos on reviews (absent when the review has none).
- `sku`: Variant the buyer purchased (reviews), such as color or size, as written on the review.
- `buy_count`: How many times the reviewer bought the product, as shown on the review.
- `useful_count`: How many times the review was marked useful.
- `seller_reply`: The seller's reply to the review; absent when there is none.
- `next_page_token`: Page token: pass it back unchanged as `page_token`, with the other parameters the same, to fetch the next page; valid for 24 hours and only for the same product. Every row of a page carries the same value, which also appears at the top level of the response. Absent on the last page.
- `discount_rate`: Current price as a percentage of the original price (search; 46.2 means 53.8% off, and 100 means no discount).
- `latest_review`: Latest review (search): rating, text, posted_at, sku.
- `reviews`: Buyer reviews shown on the product page (product_detail). Each has the same shape as a row of the reviews endpoint: text, rating, posted_at, sku, author_name, author_avatar_url, etc. Text is in Simplified Chinese. Only the few reviews displayed on the page; call reviews to fetch a given number.
- `shop_age_years`: Years since the shop opened (search).
- `shop_score_vs_industry`: The shop's three scores compared with the industry (search): description, service and delivery, each higher / same / lower.
- `spu_id`: Standard product SPU ID (search). The same item sold by different shops shares one, so it can be used to group identical products.

### Pricing

Pay per event, charged only when a run delivers data:

- `search`: $0.0114, one event per non-empty request, whatever the row count.
- `product_detail`: $0.0011, one event per non-empty request, whatever the row count.
- `shop`: $0.0112, one event per non-empty request, whatever the row count.
- `reviews`: $0.0101, one event per started block of 20 results.
- `questions`: $0.0408, one event per started block of 10 results.

Empty or failed requests are never charged. There is no actor-start fee and no per-row fee, and platform usage is included in these prices.

### Free trial

The first 3 accepted data requests per Apify account are free across all EveryInfra Actors combined (a lifetime total, not per Actor and not reset). Invalid input does not use a trial; an accepted request that returns no data still does. After that a paid Apify plan is required.

### Notes

- Results reflect what is publicly visible when the run happens; counts can be lower than requested.
- One run makes one request. For more pages, start another run with `page_token` where the action supports it.
- This is an independent Actor. It is not affiliated with, sponsored by, or endorsed by Taobao or its owner; names and trademarks belong to their respective owners.

### Support

Open an issue on this Actor's Issues tab with the run ID.

# Actor input Schema

## `action` (type: `string`):

What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.

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

Used by `search` (required). Specifies the Taobao or Tmall product search term for the search action. It does not perform an exact search by store name.

## `max_price` (type: `number`):

Used by `search`. Sets the maximum item price filter for the search action in combination with min_price. It does not control SKU inventory limits. Decimals may be rounded up to a whole number. Searches with a price range cannot be paged.

## `min_price` (type: `number`):

Used by `search`. Sets the minimum item price filter for the search action. It is not a review score filter or an API fee parameter, and it does not apply to shop, product_detail, reviews, or questions. Decimals may be rounded down to a whole number. Searches with a price range cannot be paged.

## `page` (type: `integer`):

Used by `search`, `shop`, `reviews`. Page number for product search, from 1 to 50, with 20 results per page. Omit it for page 1; each page is billed as one call. Only plain keyword searches can page (no min_price, max_price or tmall_only, and sort omitted or relevance). They are the more reliable way to search, though most rows carry no sales figures or shop name. A page above 1 combined with any of those filters is rejected before charging, so drop those filters to page. limit only sets how many results of that page you get, so keep it at 20 while paging. Rankings update in real time, so neighbouring pages can occasionally repeat a few items; dedupe by id when merging pages.

## `sort` (type: `string`):

Used by `search`, `shop`. For product search, use relevance (default), popular, or price_desc. Default and relevance searches allow up to 20 results; popular and price_desc allow up to 10 and cannot be paged. Requests above the applicable limit are rejected before charging, and price_asc is not supported. Reviews and questions do not accept sort. For shop, sort applies only when paging with page; see the shop parameters.

## `tmall_only` (type: `boolean`):

Used by `search`. Filters product search to Tmall-only items when set to the boolean true and limits the request to 10 results, without paging. Pass a JSON boolean only; strings such as "false" and requests above this limit are rejected before charging.

## `url` (type: `string`):

Used by `product_detail` (required), `reviews` (required), `questions` (required). For product_detail, reviews, or questions, use a numeric item ID, a Taobao/Tmall product URL, or a share message containing exactly one product URL. e.tb.cn and m.tb.cn links work only when they can be safely resolved to a product page. TaoPassword-only tokens, expired links, and non-product pages are rejected. A sync call takes at most about 85 seconds; set your client timeout to at least 95 seconds. For product_detail, when the item has been taken down or does not exist, the result is empty with empty_reason item_not_found and nothing is charged. When a call cannot confirm whether the item still exists, it returns a 502 or 503 error (an async task ends as failed) and nothing is charged either; you can check again later.

## `shop` (type: `string`):

Used by `shop` (required). Specifies the seller's numeric userId (sellerId) or a shop link (shop<shopId>.taobao.com) for the shop action. Returns items that seller has on sale. Without page, each request returns at most 20: a larger limit still returns 20, at the same price per call. With page, it goes through the shop one Taobao page at a time, usually 60 items per page. It is not a store name. Repeat requests for the same shop with the same sort and the same page (or the same limit when you send no page) within 12 hours return the same data as the first one, and are charged as usual. When the shop does not exist, the result is empty with empty_reason shop_not_found and the request is charged as one call; a repeat within 24 hours returns the same result and is charged the same way. Other empty results are not charged.

## `seller` (type: `string`):

Used by `shop`. Provides a compatibility fallback for the seller's numeric userId in the shop action. It accepts only numeric user IDs, not seller nicknames, and takes lower precedence than shop and user_id.

## `user_id` (type: `string`):

Used by `shop`. Provides a compatibility fallback for the seller's numeric userId in the shop action. It takes lower precedence than shop and cannot be used as a product ID.

## `page_token` (type: `string`):

Used by `reviews`. Page token. Leave it out for the first page. When the response has a `next_page_token`, pass it back as `page_token`, exactly as received, to get the next page, with the other parameters unchanged (`limit` can change). You can also skip the token and ask for a page number with `page`; when both are sent, `page_token` wins. A token is valid for 24 hours and works only for the same product and the same account; a token used with another product is rejected with 422 and not charged. No `next_page_token` (or `pagination.has_more` false) means you have reached the end. Each page returns `limit` reviews (default 20, up to 100), and the next page continues after the last review returned. Reviews are newest first; if new reviews arrive while you page, neighbouring pages can repeat a review or two, so dedupe by review `id` when merging. Each page is billed on its own by its row count, one call per 20 rows (20 rows is one call, 21–40 is two, 100 is five); calls not used because fewer rows came back are refunded, and an empty page is not charged.

## `limit` (type: `integer`):

How many results to request for list actions. Defaults and maximums per action: `search` 20 (max 20); `shop` 20 (max 20); `reviews` 20 (max 100); `questions` 10 (max 100). Billing: `search` one event per non-empty request, whatever the row count; `shop` one event per non-empty request, whatever the row count; `reviews` one event per started block of 20 results; `questions` one event per started block of 10 results.

## `params` (type: `object`):

Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree.

## Actor input object example

```json
{
  "action": "search",
  "keyword": "便携咖啡秤"
}
```

# Actor output Schema

## `records` (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 = {
    "keyword": "便携咖啡秤"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blushing_parachute/everyinfra-taobao-api").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 = { "keyword": "便携咖啡秤" }

# Run the Actor and wait for it to finish
run = client.actor("blushing_parachute/everyinfra-taobao-api").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 '{
  "keyword": "便携咖啡秤"
}' |
apify call blushing_parachute/everyinfra-taobao-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blushing_parachute/everyinfra-taobao-api"
        }
    }
}
```

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/KCmKSHk80t0hIDNKb/builds/AOkIIdTNbftjycn1k/openapi.json
