Sales and traffic
get_sales_and_trafficUse for historical Business Report performance (~72h delay). For enabled accounts, view=account_daily returns source-provided account/day totals, including traffic-only days, without product attribution. The default products view returns: organic + PPC sales, sessions, page views, conversion, Buy Box, and the browser vs Amazon mobile-app traffic split (sessions, page views, and their percentages) by ASIN and source-provided seller SKU. In that view Amazon repeats a multi-SKU product's full sessions and page views on every SKU row and omits products with no orders that day, so never add traffic across rows; for per-product traffic use view=child_items where enabled (one row per child ASIN, no SKU), and for account traffic use view=account_daily. Seller SKU identity is case-sensitive; rows whose SKUs differ only by letter case are distinct source rows and should only be combined when intentionally rolling up to ASIN or account totals. Filter one variation family (all child ASINs of a parent) with parent_asin. Do not use for current-day/yesterday account totals or ad-attributed campaign metrics; use get_sales_summary/get_todays_sales or ads performance tools. Exact requested-date coverage is reported in sales_and_traffic_source_coverage; when gaps exist, do not infer continuous coverage from the table's outer data-window bounds. For account-level totals of historical weeks, get_sales_summary falls back to this same Business Report data when its newer sources (Sales API, Orders API) do not cover the range, so the two tools agree on whether a week has sales history.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sales_and_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Filter by seller SKU (case-sensitive exact match; source SKUs that differ only by letter case remain distinct rows) | |
| asin | No | Filter by ASIN (exact match) | |
| view | No | products returns ASIN/SKU rows; account_daily returns Amazon account totals, one row per date, including days with traffic but no product rows. Account totals cannot be filtered by ASIN/SKU/parent and must not be added to product rows. Account dates are ordered oldest first; product sort options do not apply. child_items returns one row per child ASIN (the Business Report by child item grain), including products with traffic but no orders; it has no SKU column and rejects the sku filter. | products |
| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_by | No | Column to sort by | total_sales |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today if omitted. | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 30 days ago if omitted. | |
| parent_asin | No | Filter to every child ASIN in one variation family (exact match on the Business Report parent ASIN). Returns one row per child; combine with sort_by/limit to rank children within the family. | |
| include_raw_rows | No | For tabular results, false returns compact rows capped at MCP_TEXT_ROW_PREVIEW_LIMIT (default 10), regardless of limit. Complete-page and custom non-tabular responses may ignore this option; see tool-specific notes. Default true; large full-row responses are capped separately. Freshness fields require include_diagnostics=true in either row mode, where supported. | |
| include_diagnostics | No | True enables expanded freshness diagnostics. Where supported, snapshot_capture_at and snapshot_data_through_date are populated only when include_diagnostics=true, in both compact and full-row modes; values may still be null if source data is unavailable. Default false. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |