https://api.nexscope.ai/api/skill-api/v1/skills/temu-category-search/runRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/api/skill-api/v1/skills/temu-category-search/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request body
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | required | Keyword: matches against category Chinese name, English name, category ID (substring) Example: home |
page | integer | optional | Page number (starting from 1) Example: 1 |
pageSize | integer | optional | Results per page, max 200 Example: 10 |
Request example
{
"pageSize": 10,
"keyword": "home",
"page": 1
}Response body
| Name | Type | Required | Description |
|---|---|---|---|
data | any | required | Data value used by this API operation. |
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
msg | string | null | required | Msg value used by this API operation. |
ts | string | required | Epoch milliseconds. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
traceId | string | null | required | Trace id value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.total | integer | optional | Number of results returned on this page Example: 1 |
data.categories | array | optional | List of matching categories Example: [] |
data.title | string | optional | Title (Temu Category Search) Example: null |
data.categories[].id | string | optional | Category ID Example: example-id |
data.categories[].categoryId | string | optional | Category ID (upstream category id) Example: example-id |
data.categories[].parentId | string | optional | Parent category ID (empty string for top-level) Example: example-id |
data.categories[].level | integer | optional | Category hierarchy level Example: 1 |
data.categories[].categoryName | string | optional | Category name (Chinese) Example: null |
data.categories[].categoryNameEn | string | optional | Category name (English) Example: null |
data.categories[].isDeleted | integer | optional | Whether deleted: 0=Normal, 1=Deleted Example: 1 |
data.categories[].hasChildren | boolean | optional | Whether has child categories Example: false |
data.type | string | optional | Provider-specific render or payload type. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.costToken | integer | optional | Token cost reported by the upstream provider. Example: null |
data.costTime | integer | optional | Execution time reported by the upstream provider. Example: null |
data.page | integer | optional | Current page returned by the upstream provider. Example: null |
data.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.pageItemCount | integer | optional | Item count on the current page returned by the upstream provider. Example: null |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"data": {
"total": 1,
"categories": [
{
"id": "example-id",
"categoryId": "example-id",
"parentId": "example-id",
"level": 1,
"isDeleted": 1,
"hasChildren": false
}
]
},
"code": 0,
"msg": null,
"ts": "0",
"time": "2026-01-01 00:00:00",
"cost": "-1",
"traceId": null
}Responses
| Code | Description |
|---|---|
| 200 | HTTP request completed. Check JSON code; only 0 indicates business success or acceptance. |
| 400 | Request JSON or required API parameters are invalid. |
| 401 | API key is missing, invalid, or cannot be matched to a user. |
| 5xx | API execution or upstream service failed. |
Data source, freshness, and limitations
Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.