Get products by category
GET
/api/tiktok-data-api/v1/get-products-by-categoryTest This Endpoint
Enter your credentials and parameters, then run a live request to see the real response
Authentication
X-API-Tokenrequired
X-API-Secretrequired
Query Parameters
regionrequired
seller_idrequired
category_idrequired
product_source_typerequired
Response
Click "Run Test" to send a live request and see the response here
Request Parameters
Validation rules grouped by request section.
Query Parameters
regionstring
Type
string
Required
Yes
seller_idstring
Type
string
Required
Yes
category_idstring
Type
string
Required
Yes
product_source_typestring
Type
string
Required
Yes
Header Parameters
X-API-TokenstringGet it from the dashboard after signing in.
Type
string
Required
Yes
Get it from the dashboard after signing in.
X-API-SecretstringGet it from the dashboard after signing in.
Type
string
Required
Yes
Get it from the dashboard after signing in.
Request Examples
curl -X GET 'https://bodapi.com/api/tiktok-data-api/v1/get-products-by-category' \
-H "X-API-Token: $BODAPI_API_TOKEN" \
-H "X-API-Secret: $BODAPI_API_SECRET"Get products by category
Upstream: GET /v1/shop/seller/category/products (TokAPI)
Gateway route: GET /api/tiktok-data-api/v1/get-products-by-category
Auth headers
| Name | Required | Description |
|---|---|---|
| X-API-Token | yes | Your bodapi API token |
| X-API-Secret | yes | Your bodapi API secret |
Query parameters
| Name | Required | Notes |
|---|---|---|
| seller_id | yes | |
| category_id | yes | |
| product_source_type | yes | |
| region | yes | |
| count | no | |
| scroll_param | no |
Example
curl -X GET "https://gateway.bodapi.com/api/tiktok-data-api/v1/get-products-by-category?seller_id=VALUE&category_id=VALUE&product_source_type=VALUE®ion=VALUE" \
-H "X-API-Token: YOUR_API_TOKEN" \
-H "X-API-Secret: YOUR_API_SECRET"