https://api.nexscope.ai/trustpilot/businessSearchRun this API
Send a JSON request to execute this API and receive the documented response payload.
Endpoint
| Method | POST |
| Path | https://api.nexscope.ai/trustpilot/businessSearch |
| 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 |
options.semantic | boolean | optional | Enable semantic search where available. |
target | string | required | Business search keyword. 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. |
data: object · variant 1 — requires data, pointCost 12 fields
| 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.businesses | any | optional | Businesses value used by this API operation. |
data.data.count | any | optional | Count value used by this API operation. |
data.data.pagination | any | optional | Pagination value used by this API operation. |
data.data.query | any | optional | Query value used by this API operation. |
data.data.searchMode | any | optional | Search mode value used by this API operation. |
data.data.totalResults | any | optional | Total results 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 |
data.billing: object · variant 1 6 fields
| 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. |
data.billing.billedCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.billedCount | integer | optional | Count of metered result records. |
data.billing.billedCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.billedCount | null | optional | Billed count value used by this API operation. |
data.billing.counts: object · variant 1 7 fields
| 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. |
data.billing.counts.includedReplyCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedReplyCount | integer | optional | Associated replies. |
data.billing.counts.includedReplyCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedReplyCount | null | optional | Included reply count value used by this API operation. |
data.billing.counts.includedRootCommentCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedRootCommentCount | integer | optional | Associated comments. |
data.billing.counts.includedRootCommentCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedRootCommentCount | null | optional | Included root comment count value used by this API operation. |
data.billing.counts.includedWorkCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedWorkCount | integer | optional | Associated works. |
data.billing.counts.includedWorkCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.includedWorkCount | null | optional | Included work count value used by this API operation. |
data.billing.counts.primaryCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.primaryCount | integer | optional | Primary records. |
data.billing.counts.primaryCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.primaryCount | null | optional | Primary count value used by this API operation. |
data.billing.counts.replyCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.replyCount | integer | optional | Replies. |
data.billing.counts.replyCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.replyCount | null | optional | Reply count value used by this API operation. |
data.billing.counts.rootCommentCount: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.rootCommentCount | integer | optional | Top-level comments. |
data.billing.counts.rootCommentCount: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts.rootCommentCount | null | optional | Root comment count value used by this API operation. |
data.billing.counts: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.counts | null | optional | Counts value used by this API operation. |
data.billing.pointCost: number · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.pointCost | number | optional | Provider points for the request. |
data.billing.pointCost: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.pointCost | null | optional | Point cost value used by this API operation. |
data.billing.ruleVersion: string · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.ruleVersion | string | optional | Provider metering rule version. |
data.billing.ruleVersion: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.ruleVersion | null | optional | Rule version value used by this API operation. |
data.billing.unitPrice: number · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.unitPrice | number | optional | Provider points per metered result. |
data.billing.unitPrice: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing.unitPrice | null | optional | Unit price value used by this API operation. |
data.billing: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.billing | null | optional | Billing value used by this API operation. |
data.costTime: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | integer | optional | Service processing duration in milliseconds. |
data.costTime: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.costTime | null | optional | Cost time value used by this API operation. |
data.data.businesses: array · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.businesses | array | optional | Provider-defined result field. |
data.data.businesses: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.businesses | null | optional | Businesses value used by this API operation. |
data.data.count: number · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.count | number | optional | Provider-defined result field. |
data.data.count: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.count | null | optional | Count value used by this API operation. |
data.data.pagination: object · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.pagination | object | optional | Continuation flags and opaque cursors. |
data.data.pagination: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.pagination | null | optional | Pagination value used by this API operation. |
data.data.query: string · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.query | string | optional | Provider-defined result field. |
data.data.query: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.query | null | optional | Query value used by this API operation. |
data.data.searchMode: string | null · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.searchMode | string | null | optional | Provider-defined result field. |
data.data.searchMode: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.searchMode | null | optional | Search mode value used by this API operation. |
data.data.totalResults: number | null · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.totalResults | number | null | optional | Provider-defined result field. |
data.data.totalResults: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.data.totalResults | null | optional | Total results value used by this API operation. |
data.meta: object · variant 1 3 fields
| 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. |
data.meta.durationMs: integer · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.durationMs | integer | optional | Provider lookup duration in milliseconds. |
data.meta.durationMs: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.durationMs | null | optional | Duration ms value used by this API operation. |
data.meta.requestId: string · variant 1 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.requestId | string | optional | Provider request identifier. |
data.meta.requestId: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.meta.requestId | null | optional | Request id value used by this API operation. |
data.meta: null · variant 2 1 fields
| Name | Type | Required | Description |
|---|---|---|---|
data.meta | null | optional | Meta value used by this API operation. |
data: null · variant 2 1 fields
| 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.