# Get products by category ID

Get TikTok Shop data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as category_id, offset, region, and retrieve structured data including business status code, continuation flag, returned product list field, and response message for content research and account lookup, and integration reference.

Documentation: https://openany.si/tiktok/tiktok-shop-c20ee6f5/9a5dda62-1951-48cd-bfc6-fb2222f4c108/
API ID: 9a5dda62-1951-48cd-bfc6-fb2222f4c108
Provider: tikhub
Contract revision: 5
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/shop/web/fetch_products_by_category_id
Page update time: 2026-12-03T02:53:41.897Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:38.559Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## TikTok Get products by category ID API

Retrieve products by category ID with the TikTok API. Provide category\_id in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## What You Can Build

- **Content research and account lookup**: Keep source records connected to their content and account identifiers.
- **Integration reference**: Use the selected request format and keep source identifiers with the returned result.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `code` | Business status code |
| `data.code` | Business status code |
| `data.data.hasMore` | Continuation flag |
| `data.data.productList` | Returned product list field |
| `data.message` | Response message |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Get products by category ID request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "category_id": {
          "type": "integer",
          "description": "分类ID/Category ID"
        },
        "offset": {
          "type": "integer",
          "description": "翻页偏移量/Offset for pagination"
        },
        "region": {
          "type": "string",
          "description": "地区代码/Region code: US, SG, MY, PH, TH, VN, ID, JP, MX。GB 和 BR 暂不支持 / GB and BR are unavailable."
        }
      },
      "required": [
        "category_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "code": {
          "type": "integer"
        },
        "data": {
          "type": "object",
          "properties": {
            "hasMore": {
              "type": "boolean"
            },
            "productList": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "image": {
                    "type": "object",
                    "properties": {}
                  },
                  "product_id": {
                    "type": "string"
                  },
                  "product_price_info": {
                    "type": "object",
                    "properties": {}
                  },
                  "rate_info": {
                    "type": "object",
                    "properties": {}
                  },
                  "seller_info": {
                    "type": "object",
                    "properties": {}
                  },
                  "seo_url": {
                    "type": "object",
                    "properties": {}
                  },
                  "sold_info": {
                    "type": "object",
                    "properties": {}
                  },
                  "title": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "message": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Documentation template (abridged; HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/shop/web/fetch_products_by_category_id?category_id=963976&offset=0&region=US' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "code": 200,
  "data": {
    "code": 0,
    "data": {
      "hasMore": true,
      "productList": [
        {
          "image": {},
          "product_id": "1731128793906516409",
          "product_price_info": {},
          "rate_info": {},
          "seller_info": {},
          "seo_url": {},
          "sold_info": {},
          "title": "Example product"
        }
      ]
    },
    "message": "success"
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide category_id in query (integer). Keep identifiers and URLs in the formats documented for this implementation.

### Which pagination or result-size inputs are exposed?
offset is integer. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

### What type does category_id use?
category_id uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

### Where do URL parameters belong?
Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/0ac9a489-499a-48af-ae7a-5678216febcc/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/4712350c-9fc7-4a52-85ac-98875be6c113/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/766d6ac3-87dd-4b9b-ad72-a3c3f2eaca95/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/99d34728-7477-47ff-8093-418d8f70c78c/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/caab410e-e520-4807-becf-9f57956d981a/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/e90e34f8-4416-4712-81ac-f0f59bf41d6b/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/eaf5fa93-a4fd-4f1a-aaec-1860cdffe041/
- anyapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/fafd5003-198b-4030-960f-327f2a03dd32/
- justoneapi: https://openany.si/tiktok/tiktok-shop-c20ee6f5/df986cb0-f77d-4779-9d1b-b4b2059db390/
- scrapecreators: https://openany.si/tiktok/tiktok-shop-c20ee6f5/4a27ef6e-316e-4159-80d3-e3e9fda4f4d9/
- scrapecreators: https://openany.si/tiktok/tiktok-shop-c20ee6f5/55100c0c-b685-4ed3-967e-05db196c2d9d/
- scrapecreators: https://openany.si/tiktok/tiktok-shop-c20ee6f5/5f0f32fb-94a6-4e67-9c19-d3dbeee02700/
- scrapecreators: https://openany.si/tiktok/tiktok-shop-c20ee6f5/6104284d-5e31-47eb-b316-be81d4f10a88/
- scrapecreators: https://openany.si/tiktok/tiktok-shop-c20ee6f5/e9cdddfc-8e60-4c2e-b4a8-b53415a9329c/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/13340da3-921c-4279-9b86-498d3c5b61eb/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/30728936-8c3d-4272-b631-24a91ae1510e/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/383ec77f-4b92-4bcf-bf83-221b51455997/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/499c305f-ed26-40b6-b275-d6e4bb875e50/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/783072b8-3a43-4ac8-93f6-797c9f45d3e1/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/7e9f6532-03ed-47b0-86fd-2e984ab4c1f2/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/8396964b-744d-4ce7-a894-3b791171d7db/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/842b8214-285d-4793-8614-edd5186112a6/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/911f93a5-04b8-43ba-9e32-f1f6a6f704ca/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/9a5dda62-1951-48cd-bfc6-fb2222f4c108/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/c3c46b32-a145-4296-b211-8bab3ded7b58/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/e2cc06e4-b370-497b-aca2-260b73348325/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/f5c65d8c-e3ac-4d83-a27b-05135b2e4024/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/fac7f675-ba8d-4918-9794-b59ab9c48353/
- tikhub: https://openany.si/tiktok/tiktok-shop-c20ee6f5/fb5d0339-32ba-43a6-90ba-0628e94fce23/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
