API reference

Account totals by period

GET https://api.insightleap.com/v1/accounts/{account}/account_sales
MCP tool
get_account_sales
Group
Reports
Authentication
Bearer token

Returns the account's report totals per weekly or monthly period, newest first: the same figures InsightLeap's weekly and monthly reports show. Vendor accounts: shipped revenue, shipped COGS (what Amazon paid), shipped units, net received, inventory on hand, open PO units, returns, contra-COGS, ad spend and ad sales. Seller accounts: ordered product sales, units, sessions, page views, buy box %, refunds, Amazon fees, net proceeds, ad spend and ad sales. ACOS (ad spend / ad sales) and TACOS (ad spend / total sales) are computed from the period's sums. Paged.

Requires the role permission Reports: View Reports.

Parameters

Parameter Description
account required path, string Account token, from list_accounts.
period_type query, string weekly or monthly (default monthly). Values: weekly, monthly
periods query, integer, 1 to 104 How many report periods, newest first (default 12 monthly / 13 weekly; max 36 monthly, 104 weekly).
until query, string (date) Newest period start date to include. Defaults to the newest report.
page_size query, integer, 1 to 500 Rows per page (default 100, max 500).
cursor query, string next_cursor from the previous page.

Response fields

Field Description
account object The account the rows belong to.
account.token string Account token.
account.name string Account name.
period_type string weekly or monthly. Values: weekly, monthly
vendor_view string or null Vendor accounts: the account's current view; null for sellers. Values: sourcing, manufacturing,
data array of objects Report totals per period, newest first.
data[].period_start string (date) First day of the period.
data[].period_end string (date) Last day of the period.
data[].units_refunded integer or null Seller accounts: Units Refunded.
data[].refund_rate number or null Seller accounts: Refund Rate, as Amazon reports it.
data[].acos string or null Ad spend / ad sales, from the period's sums (0.25 = 25%); null without ad sales.
data[].tacos string or null Ad spend / total sales (shipped revenue or ordered product sales), from the period's sums; null without sales.
data[].vendor_view string Vendor accounts: the Vendor View this period was imported in (sourcing for a period imported before views were recorded). Values: sourcing, manufacturing
data[].shipped_revenue object or null Vendor accounts: Shipped Revenue.
data[].shipped_revenue.amount string Decimal string in the currency's units.
data[].shipped_revenue.currency string ISO 4217 code: the account's marketplace currency.
data[].shipped_cogs object or null Vendor accounts: Shipped COGS, what Amazon paid for the units it shipped.
data[].shipped_cogs.amount string Decimal string in the currency's units.
data[].shipped_cogs.currency string ISO 4217 code: the account's marketplace currency.
data[].net_received object or null Vendor accounts: Net Received, the cost of units Amazon received.
data[].net_received.amount string Decimal string in the currency's units.
data[].net_received.currency string ISO 4217 code: the account's marketplace currency.
data[].sellable_on_hand_inventory object or null Vendor accounts: cost of sellable inventory on hand at Amazon.
data[].sellable_on_hand_inventory.amount string Decimal string in the currency's units.
data[].sellable_on_hand_inventory.currency string ISO 4217 code: the account's marketplace currency.
data[].contra_cogs object or null Vendor accounts: contra-COGS (Data Kiosk).
data[].contra_cogs.amount string Decimal string in the currency's units.
data[].contra_cogs.currency string ISO 4217 code: the account's marketplace currency.
data[].sales_discount object or null Vendor accounts: Sales Discount (Data Kiosk).
data[].sales_discount.amount string Decimal string in the currency's units.
data[].sales_discount.currency string ISO 4217 code: the account's marketplace currency.
data[].ad_spend object or null Ad spend.
data[].ad_spend.amount string Decimal string in the currency's units.
data[].ad_spend.currency string ISO 4217 code: the account's marketplace currency.
data[].ad_sales object or null Ad-attributed sales (7-day attribution for Seller Central Sponsored Products, 14-day otherwise).
data[].ad_sales.amount string Decimal string in the currency's units.
data[].ad_sales.currency string ISO 4217 code: the account's marketplace currency.
data[].shipped_units integer or null Vendor accounts: Shipped Units.
data[].net_received_units integer or null Vendor accounts: Net Received Units.
data[].open_purchase_order_quantity integer or null Vendor accounts: Open Purchase Order Quantity.
data[].sellable_on_hand_units integer or null Vendor accounts: Sellable On Hand Units.
data[].unsellable_on_hand_units integer or null Vendor accounts: Unsellable On Hand Units.
data[].customer_returns integer or null Vendor accounts: Customer Returns.
data[].ad_impressions integer or null Ad impressions.
data[].ad_clicks integer or null Ad clicks.
data[].ordered_product_sales object or null Seller accounts: Ordered Product Sales.
data[].ordered_product_sales.amount string Decimal string in the currency's units.
data[].ordered_product_sales.currency string ISO 4217 code: the account's marketplace currency.
data[].economics_total_fees object or null Seller accounts: Amazon fees (Data Kiosk economics).
data[].economics_total_fees.amount string Decimal string in the currency's units.
data[].economics_total_fees.currency string ISO 4217 code: the account's marketplace currency.
data[].economics_net_proceeds object or null Seller accounts: Net Proceeds after Amazon fees (Data Kiosk economics).
data[].economics_net_proceeds.amount string Decimal string in the currency's units.
data[].economics_net_proceeds.currency string ISO 4217 code: the account's marketplace currency.
data[].units_ordered integer or null Seller accounts: Units Ordered.
data[].total_order_items integer or null Seller accounts: Total Order Items.
data[].sessions integer or null Seller accounts: Sessions.
data[].page_views integer or null Seller accounts: Page Views.
data[].buy_box_percentage number or null Seller accounts: Buy Box Percentage (0-100).
data[].unit_session_percentage number or null Seller accounts: Unit Session Percentage (0-100).
data[].economics_net_units_sold integer or null Seller accounts: net units sold (Data Kiosk economics).
next_cursor string or null Pass as cursor to get the next page; null on the last page.
note string Why the page is shorter than page_size although more rows follow (time or size limit), or why there are no rows. Absent when there is nothing to say.

Example response

{
  "account": {
    "token": "k3J9xQ2mVb",
    "name": "Acme Outdoor (US)"
  },
  "period_type": "monthly",
  "vendor_view": "sourcing",
  "data": [
    {
      "period_start": "2026-09-01",
      "period_end": "2026-09-30",
      "units_refunded": 12,
      "refund_rate": 1.9,
      "acos": "0.2315",
      "tacos": "0.0686",
      "vendor_view": "sourcing",
      "shipped_revenue": {
        "amount": "18230.40",
        "currency": "USD"
      },
      "shipped_cogs": {
        "amount": "11020.00",
        "currency": "USD"
      },
      "net_received": {
        "amount": "9800.00",
        "currency": "USD"
      },
      "sellable_on_hand_inventory": {
        "amount": "14500.00",
        "currency": "USD"
      },
      "contra_cogs": {
        "amount": "820.00",
        "currency": "USD"
      },
      "sales_discount": {
        "amount": "150.00",
        "currency": "USD"
      },
      "ad_spend": {
        "amount": "1250.00",
        "currency": "USD"
      },
      "ad_sales": {
        "amount": "5400.00",
        "currency": "USD"
      },
      "shipped_units": 612,
      "net_received_units": 500,
      "open_purchase_order_quantity": 300,
      "sellable_on_hand_units": 820,
      "unsellable_on_hand_units": 14,
      "customer_returns": 9,
      "ad_impressions": 182000,
      "ad_clicks": 2310,
      "ordered_product_sales": {
        "amount": "18230.40",
        "currency": "USD"
      },
      "economics_total_fees": {
        "amount": "4100.00",
        "currency": "USD"
      },
      "economics_net_proceeds": {
        "amount": "13650.00",
        "currency": "USD"
      },
      "units_ordered": 640,
      "total_order_items": 610,
      "sessions": 12800,
      "page_views": 15400,
      "buy_box_percentage": 97.5,
      "unit_session_percentage": 5.0,
      "economics_net_units_sold": 628
    }
  ],
  "next_cursor": "eyJzZWdtZW50IjoxLCJza2lwIjo4N30",
  "note": "Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."
}

Example request

curl -H "Authorization: Bearer $INSIGHTLEAP_TOKEN" \
  "https://api.insightleap.com/v1/accounts/ACCOUNT_TOKEN/account_sales"

Every operation, and the guide to tokens, paging and errors, is in the API reference. AI assistants call this operation as the get_account_sales tool on the MCP server.

New to InsightLeap? Every plan includes the API. Start a 14-day trial.