https://api.nexscope.ai/api/skill-api/v1/skills/amazon-policy-feed/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/amazon-policy-feed/run |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
site | string | optional | Amazon marketplace code in uppercase; defaults to US. Site filtering applies only to some news types. Example: US |
publishedAtGte | string | optional | Inclusive publication or change time lower bound, yyyy-MM-dd HH:mm:ss; defaults to seven days before the request. |
publishedAtLte | string | optional | Inclusive publication or change time upper bound, yyyy-MM-dd HH:mm:ss; defaults to the request time. |
page | integer | optional | Page number, starting from 1. Example: 1 |
pageSize | integer | optional | Items per page, range 1-100. Example: 20 |
id | string | optional | 32-character news record ID from data[].id. Required for the detail endpoint; omit for the list endpoint. Example: a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4 |
Code example
{
"page": 1,
"pageSize": 20,
"site": "US"
}Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"columns": [],
"costTime": 1,
"costToken": 1,
"data": [
{
"id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"originalUrl": "https://example.com/news",
"publishedAt": "2026-01-01 00:00:00",
"summaryZh": "Policy summary",
"title": "Amazon policy update"
}
],
"stdout": "# Amazon policy update",
"summaryZh": "Policy summary",
"title": "Amazon policy update",
"total": 1,
"type": "tableListWorkbenches"
},
"msg": "ok",
"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
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.columns | array | optional | Frontend column definitions returned by the list endpoint. Example: [] |
data.costTime | integer | optional | Total processing time in milliseconds. Example: 1 |
data.costToken | integer | optional | Token consumption. Example: 1 |
data.data | array | optional | News items in descending publication/change time from the list endpoint. Example: [] |
data.data[] | object | required | Item in data data. |
data.data[].id | string | optional | News record ID used to fetch the full body. Example: a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4 |
data.data[].originalUrl | string | optional | Original article URL. Example: https://example.com/news |
data.data[].publishedAt | string | optional | Publication or change time, format yyyy-MM-dd HH:mm:ss. Example: 2026-01-01 00:00:00 |
data.data[].summaryZh | string | optional | AI-generated Chinese summary for the news item. Example: Policy summary |
data.data[].title | string | optional | News title in the list response. Example: Amazon policy update |
data.dataSnapshotMonth | string | optional | Data snapshot month returned by the upstream provider. Example: null |
data.page | integer | optional | Current page 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.pageSize | integer | optional | Page size returned by the upstream provider. Example: null |
data.sourceTool | string | optional | Provider-specific source tool name. Example: null |
data.sourceType | string | optional | Provider-specific source platform type. Example: null |
data.stdout | string | optional | Full news body in Markdown format returned by the detail endpoint. Example: # Amazon policy update |
data.summaryZh | string | optional | AI-generated Chinese summary returned by the detail endpoint. Example: Policy summary |
data.title | string | optional | News title returned by the detail endpoint. Example: Amazon policy update |
data.total | integer | optional | Number of news items returned by the list endpoint. Example: 1 |
data.totalPage | integer | optional | Total page count returned by the upstream provider. Example: null |
data.type | string | optional | Upstream render style: tableListWorkbenches for the list or stdoutWorkbenches for detail. Example: tableListWorkbenches |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data | null | required | Data value used by this API operation. |
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.