Nexscope

Amazon Ads SP Insights Report Download

Download a completed Amazon Ads insights report from your connected advertising account and review the returned report data for further analysis.

Cost10 credits / call
Try online
POST · https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/runMCP · nexscope_amazon_ads_sp_insights_report_download
API

What this API does

Download a completed Amazon Ads insights report from your connected advertising account and review the returned report data for further analysis. The request accepts connectionId, documentToken. Its documented result includes content, contentType, dataSnapshotMonth, page, pageItemCount, pageSize, sourceTool, sourceType.

Amazon Ads SP Insights Report Download API use cases

Review advertising evidence

To review advertising evidence, a marketplace analyst submits connectionId and documentToken to Amazon Ads SP Insights Report Download. The returned content, contentType, dataSnapshotMonth help inspect the advertising information returned for the request.

Prepare an advertising research brief

A marketplace analyst uses Amazon Ads SP Insights Report Download with connectionId and documentToken to prepare an advertising research brief. The returned content, contentType, dataSnapshotMonth help assemble evidence before changing an advertising workflow.

Compare campaign inputs and results

For this workflow, a marketplace analyst calls Amazon Ads SP Insights Report Download with connectionId and documentToken to compare campaign inputs and results. The result helps compare campaign evidence without assuming performance improvements.

Amazon Ads SP Insights Report Download API FAQ

What does the Amazon Ads SP Insights Report Download API return?

Download a completed Amazon Ads insights report from your connected advertising account and review the returned report data for further analysis. The documented output includes content, contentType, dataSnapshotMonth, page, pageItemCount, pageSize, sourceTool, sourceType. It corresponds to the supplied connectionId, documentToken. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the Amazon Ads SP Insights Report Download API cost?

The current documented cost is 10 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the Amazon Ads SP Insights Report Download API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_amazon_ads_sp_insights_report_download. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run
MCP method
nexscope_amazon_ads_sp_insights_report_download

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "connectionId": 123,
  "documentToken": "opaque-document-token"
}'

Code example

{
  "connectionId": 123,
  "documentToken": "opaque-document-token"
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-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.
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/amazon-ads-sp-insights-report-download/run
AuthBearer API key
Content-Typeapplication/json

Amazon Ads operation guide

The Sponsored Products insights workflow uses an owned connectionId: create one report, poll by reportId, then download completed CSV parts using the returned backend documentToken. Profile and region are resolved from the authorized connection.

Request parameters

NameTypeRequiredDescription
connectionIdintegerrequired
Owned Amazon Ads connection ID; profile and region are resolved by the backend.
Example: 123
documentTokenstringrequired
Backend-issued token from a completed report part, consumed by the existing download workflow.
Example: opaque-document-token

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

{
  "code": 0,
  "cost": "-1",
  "data": {
    "content": "date.value,metric.impressions\n2026-08-01,10\n",
    "contentType": "text/csv"
  },
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.contentstringoptional
UTF-8 CSV report content
Example: date.value,metric.impressions 2026-08-01,10
data.contentTypestringoptional
Downloaded media type
Example: text/csv
data.costTimeintegeroptional
Execution time reported by the upstream provider.
Example: null
data.costTokenintegeroptional
Token cost reported by the upstream provider.
Example: null
data.dataSnapshotMonthstringoptional
Data snapshot month returned by the upstream provider.
Example: null
data.pageintegeroptional
Current page returned by the upstream provider.
Example: null
data.pageItemCountintegeroptional
Item count on the current page returned by the upstream provider.
Example: null
data.pageSizeintegeroptional
Page size returned by the upstream provider.
Example: null
data.sourceToolstringoptional
Provider-specific source tool name.
Example: null
data.sourceTypestringoptional
Provider-specific source platform type.
Example: null
data.titlestringoptional
Provider-specific response title.
Example: null
data.totalPageintegeroptional
Total page count returned by the upstream provider.
Example: null
data.typestringoptional
Provider-specific render or payload type.
Example: null

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-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.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_amazon_ads_sp_insights_report_download",
    "arguments": {
      "connectionId": 123,
      "documentToken": "opaque-document-token"
    }
  }
}

Legacy MCP v1

Existing API-key clients can continue using the compatibility endpoint. New integrations should use MCP v2.

GET / POST /mcp/legacy

What can you do with this API?

Data explained and practical use cases

AI Guide

Question

What data can Amazon Ads SP Insights Report Download provide, and how might I use it?

AI answer

Uses existing Amazon Ads authorization and tokenized download handling. Create once, poll by reportId, then download using a documentToken.

Data categoryDocumented fieldsHow to use them
RequestconnectionId, documentTokenProvide the required identifiers, filters, or paging inputs listed in the API document.
Responsedata.content, data.contentTypeInspect returned values and source references; availability depends on the request and upstream source.
  • Download a completed insights report.
    • Prompt example: “Download my completed Sponsored Products insights report for [CONNECTION_ID] using the download reference returned by its completed report part. Summarize the content actually retrieved and do not display the backend download token.”
  • Prepare a Report Table for Analysis.
    • Prompt example: “Download my completed Sponsored Products insights report for [CONNECTION_ID] using the download reference returned by its completed report part. Summarize the content actually retrieved and do not display the backend download token. Parse the downloaded CSV with its actual headers. Return a column inventory and a small row preview, preserving blank cells; do not invent metrics absent from the file.”
  • Combine Two Completed CSV Parts.
    • Prompt example: “Download exactly two completed CSV parts [part A reference] and [part B reference] for my owned connection [connection ID], using their existing download references privately. Compare actual headers and report context first. Combine rows only when their structures and scope are compatible; otherwise keep the tables separate and explain the mismatch. Do not invent a deduplication key or assume these are every report part.”

These are suggested workflows, not completed lookups. Report missing, restricted, or partial data explicitly; verify the live response before making a decision.

Related APIs