https://api.nexscope.ai/pinterest/pinCommentsRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/pinterest/pinComments |
| Auth | Bearer API key |
| Content-Type | application/json |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
options | object | optional | Optional parameters for this operation. |
options.cursor | string | null | optional | Opaque continuation cursor from the previous response. |
options.maxPages | integer | optional | Maximum provider pages for this request. Default is 1. Minimum: 1 Maximum: 5 |
target | string | required | Public Pin URL or numeric Pin ID. Pattern: \S Minimum length: 1 Maximum length: 2048 |
Response example
Platform response envelope. code 0 indicates success or acceptance; data contains the business result.
{
"code": 0,
"cost": "-1",
"data": {
"billing": {
"billedCount": 0,
"pointCost": 0
},
"data": null,
"pointCost": 0
},
"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 data, pointCost
| Name | Type | Required | Description |
|---|---|---|---|
data | object | required | Data value used by this API operation. |
data.billing | any | optional | Billing value used by this API operation. |
data.costTime | any | optional | Cost time value used by this API operation. |
data.data | object | null | required | Public platform result, or null when the source has no data. |
data.data.comments | any | optional | Comments value used by this API operation. |
data.data.commentsCount | any | optional | Comments count value used by this API operation. |
data.data.pagination | any | optional | Pagination value used by this API operation. |
data.data.type | any | optional | Type value used by this API operation. |
data.meta | any | optional | Meta value used by this API operation. |
data.pointCost | number | required | Provider points for this response. Nexscope credit settlement uses the gateway token cost. Minimum: 0 |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing | object | optional | Billing value used by this API operation. |
data.billing.billedCount | any | optional | Billed count value used by this API operation. |
data.billing.counts | any | optional | Counts value used by this API operation. |
data.billing.pointCost | any | optional | Point cost value used by this API operation. |
data.billing.ruleVersion | any | optional | Rule version value used by this API operation. |
data.billing.unitPrice | any | optional | Unit price value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.billedCount | integer | optional | Count of metered result records. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.billedCount | null | optional | Billed count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts | object | optional | Counts value used by this API operation. |
data.billing.counts.includedReplyCount | any | optional | Included reply count value used by this API operation. |
data.billing.counts.includedRootCommentCount | any | optional | Included root comment count value used by this API operation. |
data.billing.counts.includedWorkCount | any | optional | Included work count value used by this API operation. |
data.billing.counts.primaryCount | any | optional | Primary count value used by this API operation. |
data.billing.counts.replyCount | any | optional | Reply count value used by this API operation. |
data.billing.counts.rootCommentCount | any | optional | Root comment count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedReplyCount | integer | optional | Associated replies. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedReplyCount | null | optional | Included reply count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedRootCommentCount | integer | optional | Associated comments. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedRootCommentCount | null | optional | Included root comment count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedWorkCount | integer | optional | Associated works. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedWorkCount | null | optional | Included work count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.primaryCount | integer | optional | Primary records. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.primaryCount | null | optional | Primary count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.replyCount | integer | optional | Replies. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.replyCount | null | optional | Reply count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.rootCommentCount | integer | optional | Top-level comments. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.rootCommentCount | null | optional | Root comment count value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts | null | optional | Counts value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.pointCost | number | optional | Provider points for the request. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.pointCost | null | optional | Point cost value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.ruleVersion | string | optional | Provider metering rule version. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.ruleVersion | null | optional | Rule version value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.unitPrice | number | optional | Provider points per metered result. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.unitPrice | null | optional | Unit price value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.billing | null | optional | Billing value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | integer | optional | Service processing duration in milliseconds. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | null | optional | Cost time value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.data.comments | array | optional | Public comments or reviews. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.data.comments | null | optional | Comments value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.data.commentsCount | number | null | optional | Provider-defined result field. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.data.commentsCount | null | optional | Comments count value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.data.pagination | object | optional | Continuation flags and opaque cursors. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.data.pagination | null | optional | Pagination value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.data.type | string | optional | Provider-defined result field. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.data.type | null | optional | Type value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.meta | object | optional | Meta value used by this API operation. |
data.meta.durationMs | any | optional | Duration ms value used by this API operation. |
data.meta.requestId | any | optional | Request id value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.durationMs | integer | optional | Provider lookup duration in milliseconds. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.durationMs | null | optional | Duration ms value used by this API operation. |
Any of option 1
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.requestId | string | optional | Provider request identifier. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.requestId | null | optional | Request id value used by this API operation. |
Any of option 2
| Name | Type | Required | Description |
|---|---|---|---|
data.meta | null | optional | Meta 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 or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), 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.