# Get category listings (v1)

Get the top 20 Taobao and Tmall listings in a category, with CNY prices and shop, plus the category path and listing count.

- Platform: Taobao
- Request: `GET https://api.toolzerhub.com/v1/taobao/category`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/taobao/search/get-taobao-category

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `category_id` | query | yes | string | Taobao category ID from category_path[].category_id or items[].category_id in another response. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/taobao/category?category_id=<category_id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
