https://api.nexscope.ai/woocommerce/productReviewsRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/woocommerce/productReviews |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
storeUrl | string | required | Public HTTPS store root or WordPress installation path. Example: https://example.com |
pageNum | integer | optional | Page number, default 1. Example: 1 |
pageSize | integer | optional | Page size, default 20, maximum 100. Example: 20 |
productId | string | optional | Only reviews for this product. Locked products return no public reviews. Example: 34 |
categoryId | string | optional | Restrict to a public product category. Example: 16 |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"cacheHit": false,
"fetchedAt": "1792972800000",
"hasMore": false,
"pageNum": 1,
"pageSize": 20,
"reviews": [
{
"createdAt": "1792972800000",
"id": "83",
"productId": "34",
"productName": "Public review",
"productUrl": "https://example.com/product/shirt",
"rating": 5,
"review": "Public review",
"reviewer": "Public review",
"verified": true
}
],
"storeUrl": "https://example.com",
"total": 1,
"totalPages": 1
},
"msg": null,
"time": "2026-01-01 00:00:00",
"traceId": null,
"ts": "0"
}Response fields
| Name | Type | Required | Description |
|---|---|---|---|
code | integer | required | 0 means accepted or successful; nonzero is a platform error. |
cost | string | required | Elapsed milliseconds, never credits; -1 outside web requests. |
data | any | required | Data value used by this API operation. |
msg | string | null | required | Msg value used by this API operation. |
time | string | required | Server local time: yyyy-MM-dd HH:mm:ss. |
traceId | string | null | required | Trace id value used by this API operation. |
ts | string | required | Epoch milliseconds. |
Any of option 1 — requires storeUrl, fetchedAt, cacheHit, reviews, pageNum, pageSize
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.cacheHit | boolean | required | Whether the response was served from the anonymous 60-second cache. Example: false |
data.fetchedAt | string | required | Fetch time in epoch milliseconds; preserved on cache hits. Example: 1792972800000 |
data.hasMore | any | optional | Has more value used by this API operation. |
data.pageNum | integer | required | Pagination metadata; omitted upstream totals become null. Example: 1 |
data.pageSize | integer | required | Pagination metadata; omitted upstream totals become null. Example: 20 |
data.reviews | array | required | Normalized public data. Missing optional values are null or empty strings. Example: [] |
data.reviews[] | object | required | Item in data reviews. |
data.reviews[].createdAt | any | optional | Created at value used by this API operation. |
data.reviews[].id | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: 83 |
data.reviews[].productId | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: 34 |
data.reviews[].productName | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: Public review |
data.reviews[].productUrl | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: https://example.com/product/shirt |
data.reviews[].rating | integer | required | Rating from 0 (unrated) to 5. Example: 5 |
data.reviews[].review | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: Public review |
data.reviews[].reviewer | string | required | Public review identifier or plain text; no reviewer email or private fields are exposed. Example: Public review |
data.reviews[].verified | any | optional | Verified value used by this API operation. |
data.storeUrl | string | required | Normalized store identity. Example: https://example.com |
data.total | any | optional | Total value used by this API operation. |
data.totalPages | any | optional | Total pages value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.hasMore | boolean | optional | Null when upstream total pages are unavailable. Example: false |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.hasMore | null | optional | Has more value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.reviews[].createdAt | string | optional | UTC creation time in epoch milliseconds, null when unavailable. Example: 1792972800000 |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.reviews[].createdAt | null | optional | Created at value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.reviews[].verified | boolean | optional | Verified purchase status, null when unavailable. Example: true |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.reviews[].verified | null | optional | Verified value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.total | integer | optional | Pagination metadata; omitted upstream totals become null. Example: 1 |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.total | null | optional | Total value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPages | integer | optional | Pagination metadata; omitted upstream totals become null. Example: 1 |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.totalPages | null | optional | Total pages value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
Responses
| Code | Description |
|---|---|
| 200 | Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result. |
| 429 | Execution admission rate limit; honor Retry-After when present. |
| 503 | Execution admission is temporarily unavailable; honor Retry-After when present. |
| Opt-in | X-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing API key (code 11209), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses. |
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.