# TikTok Shop products by category ID

Get product list by category ID. Needs category id. Served by TikHub.

Purpose:
- Get product list by category ID
- Can be used to build category browsing feature
Parameters:
- category_id: Category ID (required, from fetch_products_category_list API)
- offset: Offset for pagination (default 0)
    - Default 20 products per page, increase by 20 for each request. If `hasMore` in response is true, can request next page, otherwise reached last page.
    - Example: Page 1 offset=0, Page 2 offset=20, Page 3 offset=40, and so on.
- region: Region code (US/SG/MY/PH/TH/VN/ID/JP/MX)
Important Notice:
- Due to API rate limiting, please set request timeout to 30 seconds
- If you encounter error code 400, please retry the request 3 times
Response Structure:
```json
{
    "code": 0,
    "message": "success",
    "data": {
        "products": [                // Product list (up to 20)
            {
                "product_id": "xxx",
                "title": "Product title",
                "image": "Product image",
                "price": {},              // Price info
                "rating": {},             // Rating info
                "sales": {}               // Sales info
            }
        ]
    }
}
```

- Tool ID: `tikhub/tiktok-shop-web-fetch-products-by-category-id`
- Name in the catalog: Tiktok, Get products by category ID
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [TikTok Shop products](/tools/tiktok/shop.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "category_id": {
      "description": "分类ID/Category ID Use an exact decimal string for IDs beyond JavaScript's safe integer range.",
      "title": "Category Id",
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991
        },
        {
          "type": "string",
          "pattern": "^[0-9]+$",
          "minLength": 1,
          "maxLength": 30
        }
      ]
    },
    "offset": {
      "type": "integer",
      "description": "翻页偏移量/Offset for pagination",
      "default": 0,
      "title": "Offset"
    },
    "region": {
      "type": "string",
      "description": "地区代码/Region code: US, SG, MY, PH, TH, VN, ID, JP, MX。GB 和 BR 暂不支持 / GB and BR are unavailable. Unsupported regions return HTTP 200 with data.region_supported=false and supported_regions.",
      "default": "US",
      "title": "Region"
    }
  },
  "required": [
    "category_id"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/tiktok-shop-web-fetch-products-by-category-id",
  "input": {
    "category_id": 963976,
    "offset": 0,
    "region": "US"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/TikTok-Shop-Web-API/fetch_products_by_category_id_api_v1_tiktok_shop_web_fetch_products_by_category_id_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/tiktok-shop-web-fetch-products-by-category-id) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/tiktok-shop-web-fetch-products-by-category-id) · [Agent index](/llms.txt)
