# Taobao Shop Products API

> List products in a Taobao or Tmall shop by seller ID and shop ID, with optional keyword search, shop-category filter, sorting and pagination.

Source: https://www.sandbase.ai/apis/taobao/shop/items
API reference: https://www.sandbase.ai/apis/taobao/shop/items#api

## Facts

- Provider: Taobao
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/taobao/shop/items`
- Price: $0.021429 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/items` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `sellerId` | string | yes |  |
| `shopId` | string | yes |  |
| `catId` | string | no |  |
| `keyword` | string | no |  |
| `sort` | string | no | comprehensive, sales, new, price-asc, price-desc |
| `page` | integer | no |  |

## FAQ

### How do I use the Taobao Shop Products API?

Send a POST request to https://api.sandbase.ai/v1/api/taobao/shop/items 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 Products API cost?

$0.021429 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 Products API accept?

Required: sellerId (string) and shopId (string). Optional: catId (string), keyword (string), sort (one of comprehensive, sales, new, price-asc, price-desc) and page (integer). The Parameters table and the Playground on this page list every field.

### What does the Taobao Shop Products 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 Products 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 Products API

List products in a Taobao or Tmall shop by seller ID and shop ID, with optional keyword search, shop-category filter, sorting and pagination.

The result is returned in `outputs[0].data` in the platform's original structure.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `sellerId` | string | Yes | Taobao seller user ID associated with the shop. |
| `shopId` | string | Yes | Taobao shop ID associated with the seller. |
| `catId` | string | No | Shop category ID from Shop Detail. Omit to include all shop categories. |
| `keyword` | string | No | Keyword to search for products within the shop. Omit to list products without a keyword filter. |
| `sort` | string | No | Product sort order. |
| `page` | integer | No | Page number, starting from 1. |

#### Pricing

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