Nexscope

Amazon Ads: reporting/reports/{report Id} API

Use Amazon Ads: reporting/reports/{report Id} API through Nexscope with documented parameters, structured results and API key authentication.

Cost10 credits / call
Try online
POST · https://api.nexscope.ai/amazonAds/reporting/reports/by-reportIdMCP · nexscope_data_amazon_ads_developer_proxy_reporting_reports_report_id
Amazon Ads

What this API does

Use Amazon Ads: reporting/reports/{report Id} API through Nexscope with documented parameters, structured results and API key authentication. The request accepts connectionId, reportId, name, timeUnit, format. Its documented result includes success, reportId, reportTypeId, pollAttempts, elapsedSeconds, downloadPath, extractedFileHttpUrl, serveExpiresAt.

Amazon Ads: reporting/reports/{report Id} API API use cases

Review advertising evidence

To review advertising evidence, a marketplace analyst submits connectionId and reportId to Amazon Ads: reporting/reports/{report Id} API. The returned success, reportId, reportTypeId help inspect the advertising information returned for the request.

Prepare an advertising research brief

A marketplace analyst uses Amazon Ads: reporting/reports/{report Id} API with connectionId and reportId to prepare an advertising research brief. The returned success, reportId, reportTypeId help assemble evidence before changing an advertising workflow.

Compare campaign inputs and results

For this workflow, a marketplace analyst calls Amazon Ads: reporting/reports/{report Id} API with connectionId and reportId to compare campaign inputs and results. The result helps compare campaign evidence without assuming performance improvements.

Amazon Ads: reporting/reports/{report Id} API API FAQ

What does the Amazon Ads: reporting/reports/{report Id} API API return?

Use Amazon Ads: reporting/reports/{report Id} API through Nexscope with documented parameters, structured results and API key authentication. The documented output includes success, reportId, reportTypeId, pollAttempts, elapsedSeconds, downloadPath, extractedFileHttpUrl, serveExpiresAt. It corresponds to the supplied connectionId, reportId, name, timeUnit, format. 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: reporting/reports/{report Id} API 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: reporting/reports/{report Id} API API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/amazonAds/reporting/reports/by-reportId 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_data_amazon_ads_developer_proxy_reporting_reports_report_id. The same documented request parameters apply; use Online test to review a request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/amazonAds/reporting/reports/by-reportId
MCP method
nexscope_data_amazon_ads_developer_proxy_reporting_reports_report_id

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/amazonAds/reporting/reports/by-reportId

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/amazonAds/reporting/reports/by-reportId' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "body": "{\"reportTypeId\":\"spCampaigns\"}",
  "contentType": "application/vnd.createasyncreportrequest.v3+json",
  "method": "GET"
}'

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
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI execution or upstream service failed.
All categories/ Amazon Ads
POSThttps://api.nexscope.ai/amazonAds/reporting/reports/by-reportId

Run this API

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

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/amazonAds/reporting/reports/by-reportId
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
connectionIdintegerrequired
An Amazon Ads connection owned by the authenticated Nexscope user.
reportIdstringrequired
Report ID created; creation skipped after passed in.
namestringoptional
Report display name.
timeUnitstringoptional
`DAILY` or `SUMMARY`.
Example: SUMMARY
formatstringoptional
Report file format.
Example: GZIP_JSON
filtersarrayoptional
Field and value enumerations are based on the corresponding report-type file.
pollIntervalintegeroptional
Polling interval in seconds.
Example: 30
maxAttemptsintegeroptional
Maximum number of polls, default waiting window of approximately 10 minutes.
Example: 20
skipDepCheckbooleanoptional
Skip dependency checking.
Example: false
serveExtractedFileHttpbooleanoptional
Whether to start the native temporary HTTP service.
Example: true
serveHoststringoptional
Native service binding address.
servePortintegeroptional
0 indicates the system allocated port.
Example: 0
serveSecondsintegeroptional
The number of seconds the local link remains alive.
Example: 300
includeAmazonSourceUrlbooleanoptional
Whether to return the Amazon presigned source URL.
Example: false
confirmationTokenstringoptional
For mutations, first preview without a token, then confirm using the returned single-use token.

Code example

{
  "body": "{\"reportTypeId\":\"spCampaigns\"}",
  "contentType": "application/vnd.createasyncreportrequest.v3+json",
  "method": "GET"
}

Response example

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

{
  "code": 0,
  "cost": "-1",
  "data": {},
  "msg": null,
  "time": "2026-01-01 00:00:00",
  "traceId": null,
  "ts": "0"
}

Response fields

Response field reference (12 fields)

NameTypeRequiredDescription
successbooleanoptional
Whether downloaded and decompressed successfully.
reportIdstringoptional
Amazon reporting ID.
statusstringoptional
`PENDING`, `PROCESSING`, `COMPLETED` or `FAILED`.
reportTypeIdstringoptional
The type of report requested.
pollAttemptsintegeroptional
Number of times polled.
elapsedSecondsnumberoptional
The number of seconds elapsed.
downloadPathstringoptional
The downloaded or decompressed local file path.
extractedFileHttpUrlstringoptional
Native temporary file URL (if enabled).
serveExpiresAtstringoptional
Native URL expiration time (if returned).
failureReasonstringoptional
Reason for upstream failure when `FAILED`.
resumeHint.modestringoptional
`poll-only`。
resumeHint.paramsobjectoptional
Reuse the same reportId and increase maxAttempts to continue polling.

Responses

CodeDescription
200HTTP request completed. Check JSON code; only 0 indicates business success or acceptance.
400Request JSON or required API parameters are invalid.
401API key is missing, invalid, or cannot be matched to a user.
5xxAPI 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.

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_data_amazon_ads_developer_proxy_reporting_reports_report_id",
    "arguments": {
      "body": "{\"reportTypeId\":\"spCampaigns\"}",
      "contentType": "application/vnd.createasyncreportrequest.v3+json",
      "method": "GET"
    }
  }
}

Legacy MCP v1

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

GET / POST /mcp/legacy

Online test

Execute the current API with your API key and JSON payload. Online tests use this site's configured API environment; the Endpoint and copyable examples use the public integration address.

10 credits / callAPI usage records

Try it

Send a real request with the same contract shown in the reference.

Endpoint
/amazonAds/reporting/reports/by-reportId
MCP method
nexscope_data_amazon_ads_developer_proxy_reporting_reports_report_id
cURL
curl -X POST \
  https://api.nexscope.ai/amazonAds/reporting/reports/by-reportId \
  -H "Authorization: Bearer nk-..." \
  -H "Content-Type: application/json" \
  -d '{ "body": "{\"reportTypeId\":\"spCampaigns\"}", "contentType": "application/vnd.createasyncreportrequest.v3+json", "method": "GET" }'
Response
No response yet. Run the request to see the response here.

Related APIs