# Taobao API | Taobao Data API

> Access real-time Taobao and 1688 product search, details, pricing, images, SKUs, and shop data through one simple API.

One API for live Taobao and 1688 product discovery plus compatibility with popular marketplace integrations. Search by keyword, retrieve product details and SKUs, browse shop inventory, resolve marketplace links, inspect reviews, and use image-search workflows. This is an unofficial API for public marketplace data. It is not affiliated with or endorsed by Alibaba Group, Taobao, Tmall, or 1688.

- Provider: CAVSN Data, operated by CAVSN DATA LLC.
- Category: E-Commerce.
- Catalog status: live.
- [Interactive documentation](https://cavsndata.com/apis/tata)
- [OpenAPI specification](https://cavsndata.com/api/openapi/tata)
- [Current plans and pricing](https://cavsndata.com/pricing)
- [Purchase access or credits](https://cavsndata.com/purchase?api=tata)

## Authentication and access

Base URL: ` https://cavsndata.com/gateway/tata `

Create an account and API key, and activate a plan for this API. Send the key in the X-API-Key header or as an Authorization: Bearer token. Each API has its own plan and quota. The per-key gateway rate limit is 300 requests per second across the catalog; a plan's request allowance is separate.

Paid plans and credits are purchased through direct contact and activated after payment confirmation. See the purchase page for current options.

See the [gateway guide](https://cavsndata.com/docs) for authentication, response headers, errors, and quotas.

## Features

- asdas

## Endpoint reference (34)

Append each endpoint path below to the base URL, use its HTTP method, replace path placeholders, and supply its required parameters. Authentication values are not included in this reference.

### GET ` /item_search `

Search items by keyword

Returns marketplace listings with titles, CNY prices when available, images, numeric IDs, stable itemIdStr values, marketplace classification, and listing status. When a shop-like keyword is verified as an exact seller name, the response switches to that seller's inventory and reports search_scope=shop plus the verified shop_id. A valid search with no matches returns HTTP 200 with empty items and item arrays. Temporary search unavailability returns HTTP 502 when no cached catalog result is available.

- ` q `: query parameter; string; required. Product search keyword.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.
- ` sort `: query parameter; string; optional. default/relevance preserve provider order, not guaranteed personalized Taobao relevance. price_asc and price_desc collect up to 24 source pages within a 6.5-second collection budget, deduplicate and sort the entire collected result set before pagination. sort_scope=result_set and result_set_sort_verified=true. This is not complete Taobao coverage: global_sort_verified=false and collection_truncated/source_pages_missing disclose collection limits. total_results is exact for this frozen set, with total_results_scope=result_set. Reuse search_id for subsequent pages or the opposite price direction; sets expire after ten minutes and expired IDs return HTTP 410 SEARCH_EXPIRED. Null prices appear last. Sales modes return HTTP 422 SORT_UNAVAILABLE because verified sales ranking is unavailable. Unknown sort values return HTTP 400 INVALID_SORT. Failed/busy collection returns HTTP 503 with Retry-After.
- ` search_id `: query parameter; string; optional. Optional immutable result-set ID returned by a price-sorted search. Reuse it with the same keyword and marketplace for stable pagination and either price direction. Valid for ten minutes. Expired or mismatched IDs return HTTP 410 SEARCH_EXPIRED; malformed IDs return HTTP 400.

### GET ` /item_search_x `

Search items by keyword (X-compatible)

Returns both the numeric itemId and this API's stable itemIdStr for every product, with CNY prices when available. A valid search with no matches returns HTTP 200 with empty items and item arrays. Temporary search unavailability returns HTTP 502 when no cached catalog result is available.

- ` q `: query parameter; string; required. Product search keyword.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.
- ` sort `: query parameter; string; optional. default/relevance preserve provider order, not guaranteed personalized Taobao relevance. price_asc and price_desc collect up to 24 source pages within a 6.5-second collection budget, deduplicate and sort the entire collected result set before pagination. sort_scope=result_set and result_set_sort_verified=true. This is not complete Taobao coverage: global_sort_verified=false and collection_truncated/source_pages_missing disclose collection limits. total_results is exact for this frozen set, with total_results_scope=result_set. Reuse search_id for subsequent pages or the opposite price direction; sets expire after ten minutes and expired IDs return HTTP 410 SEARCH_EXPIRED. Null prices appear last. Sales modes return HTTP 422 SORT_UNAVAILABLE because verified sales ranking is unavailable. Unknown sort values return HTTP 400 INVALID_SORT. Failed/busy collection returns HTTP 503 with Retry-After.
- ` search_id `: query parameter; string; optional. Optional immutable result-set ID returned by a price-sorted search. Reuse it with the same keyword and marketplace for stable pagination and either price direction. Valid for ten minutes. Expired or mismatched IDs return HTTP 410 SEARCH_EXPIRED; malformed IDs return HTTP 400.

### GET ` /item_detail `

Get item details

Returns product data plus marketplace and listing state. Set props to en or zn for English-compatible properties, original or zh for untranslated original-language properties, or both-original for English plus untranslated Chinese aliases. No local-translation fallback is used. Original fields may be incomplete or stale; their presence does not verify the current marketplace table. The response retains both props and attributes aliases.

- ` itemId `: query parameter; string; required. Numeric Taobao/Tmall product ID, an itemIdStr returned by this API, or an opaque Taobao mi_id product token. Another provider's encrypted itemIdStr is not portable.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### POST ` /item_detail `

Get item details from a JSON body

Get item details from a JSON body

- ` body `: body parameter; json; required. JSON request body

### GET ` /item_detail_owen `

Get Owen's partial item details by ID or URL

Provide one product using id, itemId, or url (item_id, num_iid, itemIdStr and mi_id are also accepted). No demo ID is substituted. Returns title, price, promotion_price, sales, location, seller_id, seller_nick, attributes, shop_id, skus and description in data, with result as a compatibility alias. SKU objects retain their full fields. Missing source values remain null or empty. English is the default; props=original selects native Chinese. Status/freshness information is retained in meta.field_status. With bilingual props values the extra Chinese table is in meta.attributes_zh.

- ` id `: query parameter; string; optional. Numeric item ID, API-issued itemIdStr, or product URL. Provide this, itemId, or url.
- ` itemId `: query parameter; string; optional. Alias for id.
- ` url `: query parameter; string; optional. Full marketplace product URL; short Taobao links require a resolvable redirect.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### POST ` /item_detail_owen `

Get Owen's partial item details using JSON

Same response as GET; accepts one ID or product URL and the standard language options.

- ` body `: body parameter; json; required. JSON request body

### GET ` /item_detail_x `

Get simplified item details

Get simplified item details

- ` itemId `: query parameter; string; required. Numeric Taobao/Tmall product ID, an itemIdStr returned by this API, or an opaque Taobao mi_id product token. Another provider's encrypted itemIdStr is not portable.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /item_review `

Get item reviews

Get item reviews

- ` itemId `: query parameter; string; required. Numeric Taobao/Tmall product ID, an itemIdStr returned by this API, or an opaque Taobao mi_id product token. Another provider's encrypted itemIdStr is not portable.
- ` page `: query parameter; number; optional. One-based result page.

### GET ` /item_search_image `

Search items by image URL

Search items by image URL

- ` url `: query parameter; string; required. Publicly reachable image URL.
- ` page `: query parameter; number; optional. One-based result page.

### GET ` /item_search_image_2 `

Search items by image URL (alternate route)

Search items by image URL (alternate route)

- ` url `: query parameter; string; required. Publicly reachable image URL.
- ` page `: query parameter; number; optional. One-based result page.

### GET ` /item_search_image_x `

Search items by image URL (X-compatible)

Search items by image URL (X-compatible)

- ` url `: query parameter; string; required. Publicly reachable image URL.
- ` page `: query parameter; number; optional. One-based result page.

### POST ` /itemidstr_convert `

Convert a product link or itemIdStr to an item ID

Resolves numeric IDs, marketplace URLs, and itemIdStr values issued by this API. Encrypted identifiers issued by unrelated providers are not portable and return PROVIDER_SCOPED_ITEM_ID.

- ` body `: body parameter; json; required. JSON request body

### GET ` /areas_list `

List supported Chinese shipping areas

List supported Chinese shipping areas

No endpoint-specific parameters are documented.

### GET ` /convert `

Resolve a Taobao, Tmall, or 1688 link

Resolve a Taobao, Tmall, or 1688 link

- ` url `: query parameter; string; required. Marketplace product URL or short link.

### GET ` /taobao/shop `

Get Taobao items by shop or seller ID

Get Taobao items by shop or seller ID

- ` shopId `: query parameter; string; required. Numeric Taobao/Tmall shop or seller ID. Every product contains both a numeric itemId and this API's stable itemIdStr.
- ` page `: query parameter; number; optional. One-based inventory page. Continue while `has_more` is true.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.

### GET ` /lading/journey `

Get a package journey

Get a package journey

- ` trackingNumber `: query parameter; string; required.

### GET ` /v{version}/detail `

Get product details through a version-compatible route

Get product details through a version-compatible route

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` itemId `: query parameter; string; required. Numeric Taobao/Tmall product ID, an itemIdStr returned by this API, or an opaque Taobao mi_id product token. Another provider's encrypted itemIdStr is not portable.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /v{version}/search `

Search products through a version-compatible route

Uses the same catalog response as /item_search, including CNY prices when available, HTTP 200 with empty items and item arrays for no matches, and HTTP 502 when search is temporarily unavailable and no cached catalog result is available.

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` q `: query parameter; string; required. Product search keyword.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.
- ` sort `: query parameter; string; optional. default/relevance preserve provider order, not guaranteed personalized Taobao relevance. price_asc and price_desc collect up to 24 source pages within a 6.5-second collection budget, deduplicate and sort the entire collected result set before pagination. sort_scope=result_set and result_set_sort_verified=true. This is not complete Taobao coverage: global_sort_verified=false and collection_truncated/source_pages_missing disclose collection limits. total_results is exact for this frozen set, with total_results_scope=result_set. Reuse search_id for subsequent pages or the opposite price direction; sets expire after ten minutes and expired IDs return HTTP 410 SEARCH_EXPIRED. Null prices appear last. Sales modes return HTTP 422 SORT_UNAVAILABLE because verified sales ranking is unavailable. Unknown sort values return HTTP 400 INVALID_SORT. Failed/busy collection returns HTTP 503 with Retry-After.
- ` search_id `: query parameter; string; optional. Optional immutable result-set ID returned by a price-sorted search. Reuse it with the same keyword and marketplace for stable pagination and either price direction. Valid for ten minutes. Expired or mismatched IDs return HTTP 410 SEARCH_EXPIRED; malformed IDs return HTTP 400.

### GET ` /v{version}/shop `

Get shop items through a version-compatible route

Returns live Taobao/Tmall inventory by numeric Shop ID without requiring a customer marketplace session. Results include product IDs, CNY prices when available, pagination metadata, and stable itemIdStr values. Temporary upstream unavailability returns HTTP 502 only when no recent exact-shop cache is available.

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` shopId `: query parameter; string; required. Numeric Taobao/Tmall shop or seller ID. Every product contains both a numeric itemId and this API's stable itemIdStr.
- ` page `: query parameter; number; optional. One-based inventory page. Continue while `has_more` is true.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.

### GET ` /v{version}/detail/translate `

Get translated-compatible product details

Get translated-compatible product details

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` itemId `: query parameter; string; required. Numeric Taobao/Tmall product ID, an itemIdStr returned by this API, or an opaque Taobao mi_id product token. Another provider's encrypted itemIdStr is not portable.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /v{version}/search-image `

Search by image through a version-compatible GET route

Search by image through a version-compatible GET route

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` url `: query parameter; string; required. Publicly reachable image URL.

### POST ` /v{version}/search-image `

Search by image through a version-compatible POST route

Search by image through a version-compatible POST route

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` body `: body parameter; json; required. JSON request body

### POST ` /v{version}/search-image-path `

Search by an uploaded image ID

Search by an uploaded image ID

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` body `: body parameter; json; required. JSON request body

### POST ` /v{version}/upload-image `

Upload a base64 image and receive an image ID

Upload a base64 image and receive an image ID

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` body `: body parameter; json; required. JSON request body

### GET ` /1688/detail `

Get 1688 product details

Get 1688 product details

- ` itemId `: query parameter; string; required. Numeric 1688 offer ID.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /1688/search-keyword `

Search 1688 by keyword

Returns 1688 products with CNY prices when available. A valid search with no matches returns HTTP 200 with empty items and item arrays. Temporary search unavailability returns HTTP 502 when no cached catalog result is available.

- ` q `: query parameter; string; required. 1688 product search keyword.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.
- ` sort `: query parameter; string; optional. default/relevance preserve provider order, not guaranteed personalized Taobao relevance. price_asc and price_desc collect up to 24 source pages within a 6.5-second collection budget, deduplicate and sort the entire collected result set before pagination. sort_scope=result_set and result_set_sort_verified=true. This is not complete Taobao coverage: global_sort_verified=false and collection_truncated/source_pages_missing disclose collection limits. total_results is exact for this frozen set, with total_results_scope=result_set. Reuse search_id for subsequent pages or the opposite price direction; sets expire after ten minutes and expired IDs return HTTP 410 SEARCH_EXPIRED. Null prices appear last. Sales modes return HTTP 422 SORT_UNAVAILABLE because verified sales ranking is unavailable. Unknown sort values return HTTP 400 INVALID_SORT. Failed/busy collection returns HTTP 503 with Retry-After.
- ` search_id `: query parameter; string; optional. Optional immutable result-set ID returned by a price-sorted search. Reuse it with the same keyword and marketplace for stable pagination and either price direction. Valid for ten minutes. Expired or mismatched IDs return HTTP 410 SEARCH_EXPIRED; malformed IDs return HTTP 400.

### GET ` /1688/search-keyword/v2 `

Search 1688 by keyword (v2 route)

Uses the same catalog response as /1688/search-keyword, including CNY prices when available, HTTP 200 with empty items and item arrays for no matches, and HTTP 502 when search is temporarily unavailable and no cached catalog result is available.

- ` q `: query parameter; string; required. 1688 product search keyword.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.
- ` sort `: query parameter; string; optional. default/relevance preserve provider order, not guaranteed personalized Taobao relevance. price_asc and price_desc collect up to 24 source pages within a 6.5-second collection budget, deduplicate and sort the entire collected result set before pagination. sort_scope=result_set and result_set_sort_verified=true. This is not complete Taobao coverage: global_sort_verified=false and collection_truncated/source_pages_missing disclose collection limits. total_results is exact for this frozen set, with total_results_scope=result_set. Reuse search_id for subsequent pages or the opposite price direction; sets expire after ten minutes and expired IDs return HTTP 410 SEARCH_EXPIRED. Null prices appear last. Sales modes return HTTP 422 SORT_UNAVAILABLE because verified sales ranking is unavailable. Unknown sort values return HTTP 400 INVALID_SORT. Failed/busy collection returns HTTP 503 with Retry-After.
- ` search_id `: query parameter; string; optional. Optional immutable result-set ID returned by a price-sorted search. Reuse it with the same keyword and marketplace for stable pagination and either price direction. Valid for ten minutes. Expired or mismatched IDs return HTTP 410 SEARCH_EXPIRED; malformed IDs return HTTP 400.

### GET ` /1688/search-image `

Search 1688 by image URL

Search 1688 by image URL

- ` url `: query parameter; string; required. Publicly reachable image URL.

### POST ` /1688/upload-image `

Upload a base64 image for 1688 image search

Upload a base64 image for 1688 image search

- ` body `: body parameter; json; required. JSON request body

### GET ` /v{version}/detail/1688 `

Get 1688 details through a version-compatible route

Get 1688 details through a version-compatible route

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` itemId `: query parameter; string; required. Numeric 1688 offer ID.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /v{version}/search/1688 `

Search 1688 through a version-compatible route

Uses the same catalog response as /1688/search-keyword, including CNY prices when available, HTTP 200 with empty items and item arrays for no matches, and HTTP 502 when search is temporarily unavailable and no cached catalog result is available.

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` q `: query parameter; string; required. 1688 product search keyword.

### GET ` /v{version}/shop/1688 `

Get 1688 shop items through a version-compatible route

Get 1688 shop items through a version-compatible route

- ` version `: path parameter; string; required. Compatibility route version. Current recommended value is 53.
- ` shopId `: query parameter; string; required. Numeric Taobao/Tmall shop or seller ID. Every product contains both a numeric itemId and this API's stable itemIdStr.
- ` page `: query parameter; number; optional. One-based inventory page. Continue while `has_more` is true.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.

### GET ` /taobao_detail `

Get item details from an item ID or URL

Get item details from an item ID or URL

- ` url `: query parameter; string; required.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.

### GET ` /api `

Unified legacy operation endpoint

Set `api` to `item_search`, `item_detail`, `item_description`, `item_delivery_fee`, `shop_search`, or `item_sku`. Product search returns CNY prices when available. A valid search with no matches returns HTTP 200 with empty items and item arrays. Temporary search unavailability returns HTTP 502 when no cached catalog result is available.

- ` api `: query parameter; string; required.
- ` q `: query parameter; string; required. Product search keyword.
- ` itemId `: query parameter; string; optional. Product ID, used by detail-oriented operations.
- ` props `: query parameter; string; optional. Select the language of `props`, `attributes`, and SKU labels. `en` and its compatibility spelling `zn` return the English-compatible property table. `original` and `zh` use original-language source fields without local translation. Missing general properties produce an empty property list; missing original SKU labels remain null without removing IDs. `both-original` and `both` retain English-compatible fields and add only untranslated Chinese aliases. SKU option groups remain separate in `sku_properties`/`props_list`. Translation-completeness flags describe returned-field coverage, not independently verified marketplace completeness or freshness. `attribute_language` remains accepted as an alias.
- ` shopId `: query parameter; string; optional. Shop or seller ID, used by shop operations.
- ` page `: query parameter; number; optional. One-based result page.
- ` page_size `: query parameter; number; optional. Number of results to return, up to 40.

## Support

Email: support@cavsndata.com. Telegram: https://t.me/hkeydesign. WeChat: cavsndata.
