# Taobao Shop Product List API

> Get products from a Taobao or Tmall shop using both seller or user ID and shop ID, with page-based pagination and sorting by sales, new arrivals, credit, or price. Use it to browse a known shop catalog.

Source: https://www.sandbase.ai/model/taobao/shop-item-list
API reference: https://www.sandbase.ai/model/taobao/shop-item-list/docs

## Facts

- Provider: Taobao
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/taobao/shop-item-list`
- Price: $0.04 per call
- Capabilities: api, taobao, ecommerce
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/taobao/shop-item-list` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `userId` | string | yes |  |
| `shopId` | string | yes |  |
| `sort` | string | no | sales-des, new-des, credit-des, price-asc, price-des |
| `page` | integer | no |  |

## FAQ

### How do I use the Taobao Shop Product List API?

Send a POST request to https://api.sandbase.ai/v1/api/taobao/shop-item-list with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Taobao Shop Product List API cost?

$0.04 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Taobao Shop Product List API accept?

Required: userId (string) and shopId (string). Optional: sort (one of sales-des, new-des, credit-des, price-asc, price-des) and page (integer). The Parameters table and the Playground on this page list every field.

### What does the Taobao Shop Product List API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Taobao developer account or API key?

No. Taobao Shop Product List runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Taobao API access separately.

## README

### Taobao Shop Product List API

Get products from a Taobao or Tmall shop using both seller or user ID and shop ID, with page-based pagination and sorting by sales, new arrivals, credit, or price. Use it to browse a known shop catalog.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "taobao/shop-item-list", "userId": "1659916565", "shopId": "103710607"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `userId` | string | Yes | Shop identifier. Also known as Seller ID or User ID (they refer to the same value). |
| `shopId` | string | Yes | Unique shop identifier on Taobao/Tmall (shop ID). |
| `sort` | string | No | Sort order for the result set. |
| `page` | integer | No | Page number for pagination. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
