{
  "openapi": "3.0.1",
  "info": {
    "title": "Taobao 淘宝 & Tmall 天猫 Product Scraper - USD & Reviews",
    "description": "Scrape Taobao (淘宝) and Tmall (天猫) products from links, share links or item IDs. Get English titles, CNY and USD prices, shop details, seller ratings, buyer tags and sample reviews as clean JSON. Bulk input, live results, no account or cookies needed.",
    "version": "1.0",
    "x-build-id": "SIKm5YJ6KvtP5xti7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/insights_data~taobao-tmall-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-insights_data-taobao-tmall-product-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/insights_data~taobao-tmall-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-insights_data-taobao-tmall-product-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/insights_data~taobao-tmall-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-insights_data-taobao-tmall-product-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "🛒 Taobao / Tmall products",
            "minItems": 1,
            "type": "array",
            "description": "One link or code per line. Works: world.taobao.com product links (any language, e.g. https://world.taobao.com/lang/en-us/item/<code>.htm), www.taobao.com/list/item/<code>.htm links, the bare <code>, shop links (https://world.taobao.com/dianpu/<shopId>.htm or https://shop<shopId>.taobao.com, expanded into up to \"Max products per shop link\" products) and the rare short share link (e.tb.cn, m.tb.cn) that leads to a product page. Numeric item IDs and item.taobao.com / detail.tmall.com links are accepted, but Taobao does not open them for anonymous visitors, so they give a free row in the Inputs table and no product. Search and category pages are not supported. Duplicates are saved once.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerShop": {
            "title": "🏪 Max products per shop link",
            "minimum": 1,
            "maximum": 360,
            "type": "integer",
            "description": "How many products each shop link gives. Taobao shows anonymous visitors 60 products per sort order, so the Actor reads up to six sort orders; a large shop usually gives 150 to 200 different products, a small shop all of them. Product links are not affected.",
            "default": 10
          },
          "language": {
            "title": "🌍 Output language",
            "enum": [
              "en",
              "ru",
              "ms",
              "th",
              "zh-tw",
              "original"
            ],
            "type": "string",
            "description": "Language of the title, description and category path. Some titles are left untranslated by Taobao; titleLanguage tells you which language the title really is in. Traditional and Original Chinese take the title and category path from the Chinese page and the USD price and description from the English page.",
            "default": "en"
          },
          "includeOriginalTitle": {
            "title": "🈶 Original Chinese title",
            "type": "boolean",
            "description": "Adds titleOriginal, the Chinese title, next to the translated title.",
            "default": true
          },
          "includeDescription": {
            "title": "📝 Product description",
            "type": "boolean",
            "description": "Adds descriptionHtml, the translated description as HTML.",
            "default": true
          },
          "includeDescriptionImages": {
            "title": "🌄 Description images",
            "type": "boolean",
            "description": "Adds descriptionImages, the list of images shown in the product description.",
            "default": true
          },
          "includeCategoryPath": {
            "title": "📂 Category path",
            "type": "boolean",
            "description": "Adds categoryPath, the breadcrumb of categories the product belongs to.",
            "default": true
          },
          "includeSellerRatings": {
            "title": "⭐ Seller ratings",
            "type": "boolean",
            "description": "Adds sellerRatings: store rating plus description, service and logistics scores.",
            "default": true
          },
          "includeCoupon": {
            "title": "🎫 Coupon link",
            "type": "boolean",
            "description": "Adds couponUrl, the promotion link shown for the product, and shopCoupons, the shop coupons.",
            "default": true
          },
          "includeSkus": {
            "title": "🧩 SKUs and attributes",
            "type": "boolean",
            "description": "Adds skuProperties, skus, skuCount and attributes when Taobao gives them. Taobao usually does not give them to anonymous visitors, so expect these fields empty; the _unavailable field lists what a row is missing.",
            "default": true
          },
          "includeReviews": {
            "title": "💬 Reviews",
            "type": "boolean",
            "description": "Adds reviews (the buyer reviews shown on the product page, usually one sample review: rating, text, photos, video, follow-up), reviewsCount and hasMoreReviews, and fills the Reviews table. reviewSummary (total / good / bad counts) is always included.",
            "default": true
          },
          "maxReviewsPerItem": {
            "title": "🔢 Max reviews per product",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap on reviews per product (0 = all available). The product page carries a sample (usually one review); more pages are only read when Taobao gives them.",
            "default": 20
          },
          "includeReviewTags": {
            "title": "🏷️ Buyer impression tags",
            "type": "boolean",
            "description": "Adds reviewTags: the aggregated buyer-impression tags with their counts.",
            "default": true
          },
          "includeAvailableLanguages": {
            "title": "🔤 Available languages",
            "type": "boolean",
            "description": "Adds availableLanguages, the languages Taobao offers for the product.",
            "default": false
          },
          "tryExtraData": {
            "title": "✨ Try for extra data",
            "type": "boolean",
            "description": "Also tries once per run for SKUs, sales and more reviews. If Taobao refuses the extra request it is skipped for the rest of the run. Costs one or two extra requests.",
            "default": true
          },
          "maxRetries": {
            "title": "🔄 Retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How often a failed request is tried again before giving up on that product (0 to 10).",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Leave off for the automatic behaviour, or choose your own Apify proxy group or custom proxies."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}