{"openapi":"3.1.0","info":{"title":"InsightLeap API","version":"1.0.0","description":"Read-only access to the Amazon accounts you can open in InsightLeap: Amazon.com monitoring (content changes, buy box and offer history, price breaches), Vendor Central and Seller Central sales, and Insight Engine findings. Included with every plan. The same tools are served to AI assistants over MCP.\n\n## Getting started\n\n1. Sign in to InsightLeap and open **Account Settings \u003e API Access** ([https://app.insightleap.com/users/edit#api](https://app.insightleap.com/users/edit#api)).\n2. Create a personal token. It is shown once: copy it into your password manager or secret store.\n3. List the accounts the token can read:\n\n```bash\ncurl -H \"Authorization: Bearer $INSIGHTLEAP_TOKEN\" https://api.insightleap.com/v1/accounts\n```\n\n4. Pass an account's `token` as `account` to any other call, for example the last week of buy box observations:\n\n```bash\ncurl -H \"Authorization: Bearer $INSIGHTLEAP_TOKEN\" \"https://api.insightleap.com/v1/accounts/ACCOUNT_TOKEN/buy_boxes\"\n```\n\nEach operation below lists its parameters, every response field, an example response and a curl request.\n\n## Authentication\n\nSend the token in the `Authorization: Bearer` header. Tokens in query strings are ignored.\n\nA token reads exactly what its person can open in InsightLeap, checked on every call: the accounts on their team or seat, and only the data their role allows (each operation names the role permission it needs). Changing someone's role or removing them changes what their tokens return on the next call. All calls are read-only.\n\n**Token lifetime.** A personal token lasts until the date chosen when it was made (30 days, 90 days, 1 year or never) and does not refresh: before it expires, create a new token and swap it into your script. InsightLeap emails the token's owner when a token that is still in use has 7 days left. A call with an expired token gets `401` with the expiry date in the message. You can revoke a token at any time on the API Access tab; team admins can revoke their team's tokens under **Team Settings \u003e Integrations**.\n\n## Connect an AI assistant (MCP)\n\nClaude, ChatGPT and other assistants that speak the Model Context Protocol connect to `https://mcp.insightleap.com/mcp` and sign in with your InsightLeap login (OAuth), so no token is pasted anywhere:\n\n- **Claude (claude.ai and Claude Desktop):** Settings \u003e Connectors \u003e Add custom connector, with URL `https://mcp.insightleap.com/mcp`.\n- **Claude Code:** `claude mcp add --transport http insightleap https://mcp.insightleap.com/mcp`, then `/mcp` to sign in.\n- **ChatGPT:** Settings \u003e Apps \u0026 Connectors, create a custom connector (some plans need developer mode first) with URL `https://mcp.insightleap.com/mcp` and OAuth authentication.\n- **Anything else:** send a personal token as `Authorization: Bearer` on each request to `https://mcp.insightleap.com/mcp`.\n\nAn assistant signed in this way gets a 1-hour access token that it renews by itself; the sign-in lasts 90 days from its last use and appears on your API Access tab, where you can disconnect it. The tools, arguments and results are the ones documented here.\n\n## Dates, money and rates\n\n- Dates are UTC calendar days (`2026-10-13`); times are ISO 8601 in UTC.\n- Money is `{\"amount\": \"1234.50\", \"currency\": \"USD\"}`: the amount is a decimal string, never a float, and the currency is the account's marketplace currency (CAD on an Amazon.ca account), as the pages show it.\n- Ratios InsightLeap computes from summed money (ACOS, TACOS) are decimal strings (`\"0.1250\"` = 12.5%), or null when the denominator is zero. Percentages Amazon reports (buy box percentage, unit session percentage, refund rate) are numbers as Amazon sends them.\n\n## Paging and windows\n\nHistory calls take `since` and `until` (inclusive, default the last 7 days) and cover at most 31 days per call; ask for earlier windows to go further back. Lists come in pages of `page_size` rows (default 100, max 500). When `next_cursor` is not null, pass it as `cursor` with the same other arguments to get the next page.\n\nA page can hold fewer rows than `page_size` while more follow: a page stops after 12 seconds of reading, and a page whose JSON would pass 1 MB (40 KB over MCP, to fit an assistant's context) is cut at the last row that fits. Both say so in `note`. Keep paging until `next_cursor` is null.\n\nLarge catalogs: pass `asins` (up to 200) to read specific products, and use `latest_only` on the buy box and offer calls for the current state instead of the full history.\n\n## Errors\n\nErrors return a JSON body `{\"error\": {\"code\": \"...\", \"message\": \"...\"}}`. The message says what to change.\n\n| Status | Code | Meaning |\n|---|---|---|\n| 401 | `unauthorized` | Missing, invalid, expired or revoked token. |\n| 403 | `terms_due` | An admin of the team has to accept the current terms in InsightLeap. |\n| 403 | `denied` | The role does not include this data, or the call does not apply to this account type. |\n| 404 | `not_found` | No account with that token is readable with this token, or no such ASIN. |\n| 422 | `invalid_arguments` | An argument is missing, unknown or out of range. |\n| 429 | `rate_limited` | Too many calls; wait `Retry-After` seconds. |\n| 504 | `timeout` | The query ran past 25s; narrow the window or pass fewer ASINs. |\n| 500 | `error` | Unexpected; InsightLeap has been notified. |\n\n## Limits\n\n- 60 calls per minute and 2 calls at once per person, across all of their tokens and assistants. A call refused with `429` does not count toward the minute.\n- 25s per query.\n- InsightLeap also caps how many API calls it serves at once so the app stays fast; a call refused for that gets `429` with `Retry-After`.\n\n## Changes\n\nThis is version 1. New fields and new operations are added without notice, so ignore fields you do not recognise. Removing or renaming a field would come with a new version.\n"},"servers":[{"url":"https://api.insightleap.com/v1"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"Accounts"},{"name":"Products"},{"name":"Amazon.com"},{"name":"Reports"},{"name":"Insights"},{"name":"Product Details"}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A personal API token (il_pat_...) from Account Settings \u003e API Access."}},"schemas":{"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","terms_due","denied","not_found","invalid_arguments","rate_limited","timeout","error"],"examples":["invalid_arguments"]},"message":{"type":"string","description":"What went wrong and what to change.","examples":["The window is 45 days; a call covers at most 31 days. Split it into several calls."]}}}}}}},"paths":{"/accounts":{"get":{"operationId":"list_accounts","summary":"List accounts","description":"Lists the Amazon accounts this user can read in InsightLeap. Call this first: every other tool takes an account's `token` as its `account` argument. Each account says its type (vendor = Amazon Vendor Central, seller = Seller Central, monitoring = Amazon.com crawl only), marketplace, how many products it has and how many are monitored on Amazon.com (buy box, offers and content are crawled daily for monitored products only), its newest weekly and monthly report periods, and the tools this user's role allows on it. Paged, by name.","tags":["Accounts"],"parameters":[{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","description":"The accounts this user can read, active and not archived, by name.","items":{"type":"object","properties":{"token":{"type":"string","description":"Pass as `account` to every other tool.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]},"team":{"type":["string","null"],"description":"The team (agency) the account belongs to.","examples":["Acme Brands"]},"account_type":{"type":"string","description":"vendor (Vendor Central), seller (Seller Central) or monitoring (Amazon.com crawl only).","enum":["vendor","seller","monitoring"],"examples":["vendor"]},"marketplace":{"type":["string","null"],"description":"Amazon marketplace region code.","examples":["us"]},"vendor_view":{"type":["string","null"],"description":"Vendor accounts: the view Vendor Central data is pulled in. Null for other types.","enum":["sourcing","manufacturing",null],"examples":["sourcing"]},"products":{"type":"integer","description":"Products in the account.","examples":[1240]},"monitored_products":{"type":"integer","description":"Products crawled daily on Amazon.com (buy box, offers, content).","examples":[310]},"newest_weekly_period":{"type":["string","null"],"description":"First day of the newest weekly report period, or null.","format":"date","examples":["2026-10-04"]},"newest_monthly_period":{"type":["string","null"],"description":"First day of the newest monthly report period, or null.","format":"date","examples":["2026-09-01"]},"tools":{"type":"array","description":"The tools this user's role allows on the account.","items":{"type":"string","description":"Tool name.","examples":["get_buy_box_history"]},"examples":[["list_products","get_content_changes","get_buy_box_history","get_offer_history"]]}},"required":["token","name","team","account_type","marketplace","vendor_view","products","monitored_products","newest_weekly_period","newest_monthly_period","tools"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/products":{"get":{"operationId":"list_products","summary":"List products","description":"Lists an account's products (its catalog) with ASIN, title, brand, model number, UPC, parent ASIN, whether it is monitored on Amazon.com, the price floor (MAP), ceiling and discount threshold the account set for price alerts, and its tags. Filter by `monitored`, `search` or `tag`. Paged.\n\nRequires the role permission **Products: View Products**.","tags":["Products"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"monitored","in":"query","required":false,"description":"true: only products monitored on Amazon.com; false: only unmonitored ones.","schema":{"type":"boolean"}},{"name":"search","in":"query","required":false,"description":"Matches ASIN, title or model number (case-insensitive substring).","schema":{"type":"string"}},{"name":"tag","in":"query","required":false,"description":"Only products carrying this tag (the account's own product tags).","schema":{"type":"string"}},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"data":{"type":"array","description":"Products, ordered by ASIN.","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"title":{"type":["string","null"],"description":"The account's own product name, else the title crawled from Amazon.com.","examples":["Trail Mug, 16 oz"]},"brand":{"type":["string","null"],"description":"Brand.","examples":["Acme"]},"model_number":{"type":["string","null"],"description":"Model number (the account's own override when set).","examples":["TM-16-BLU"]},"upc":{"type":["string","null"],"description":"UPC.","examples":["012345678905"]},"parent_asin":{"type":["string","null"],"description":"Parent ASIN of the variation family.","examples":["B0EXAMPLE0"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily (buy box, offers, content).","examples":[true]},"price_floor":{"type":["object","null"],"description":"Price floor (MAP) set for price alerts, or null.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["24.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"price_ceiling":{"type":["object","null"],"description":"Price ceiling set for price alerts, or null.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["39.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"discount_threshold":{"type":["string","null"],"description":"Largest discount off list price allowed before a price alert, as a fraction (0.2 = 20%), or null.","examples":["0.2"],"pattern":"^-?\\d+(\\.\\d+)?$"},"tags":{"type":"array","description":"The account's own product tags.","items":{"type":"string","description":"Tag name.","examples":["Spring launch"]},"examples":[["Spring launch","Mugs"]]}},"required":["asin","title","brand","model_number","upc","parent_asin","monitored","price_floor","price_ceiling","discount_threshold","tags"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/content_changes":{"get":{"operationId":"get_content_changes","summary":"Content-change history","description":"Returns every change InsightLeap's daily Amazon.com crawl observed on the account's monitored listings in a date window (title, bullets, description, images, variations, A+ content, badges...): the attribute, whether it was added, removed, changed or rearranged, and the old and new values. Amazon and other sellers overwrite listing content; this is how to see when and what. Newest first, paged, at most 31 days per call. When the user can read sales numbers, `products` gives each ASIN's title and newest month's revenue and units.\n\nRequires the role permission **Amazon.com: View Amazon.com Data, View Content Changes**.","tags":["Amazon.com"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"First day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to 6 days before `until`.","schema":{"type":"string","format":"date"}},{"name":"until","in":"query","required":false,"description":"Last day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to today. At most 31 days per call; page back in time with earlier windows.","schema":{"type":"string","format":"date"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"attributes","in":"query","required":false,"description":"Only these listing attributes (e.g. title, feature_bullets, image_urls).","schema":{"type":"array","items":{"type":"string","enum":["title","feature_bullets","product_overview","product_overview_glance_icons","product_description","rich_product_description","rich_product_information","image_urls","variations","variation_asins","amazon_choice_for","best_seller_in","a_plus_pd_html","a_plus_batch_html","a_plus_brand_story_html","a_plus_sustainability_html","climate_pledge_friendly","provenance_certifications","buying_option_nostos_badge"]}},"style":"form","explode":false},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"window":{"type":"object","description":"The date window the call covered.","properties":{"since":{"type":"string","description":"First day of the window (UTC, inclusive).","format":"date","examples":["2026-10-07"]},"until":{"type":"string","description":"Last day of the window (UTC, inclusive).","format":"date","examples":["2026-10-13"]}},"required":["since","until"]},"products":{"type":"object","description":"Title, monitored flag and newest month of sales for each ASIN in `data`, keyed by ASIN. Present only when the user may read the account's product numbers.","additionalProperties":{"type":"object","properties":{"title":{"type":["string","null"],"description":"Product title.","examples":["Trail Mug, 16 oz"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily.","examples":[true]},"newest_month":{"type":["object","null"],"description":"The newest landed month of sales, as the Products table shows it. Null before any month has landed.","properties":{"period":{"type":"string","description":"First day of the newest month whose report data has landed.","format":"date","examples":["2026-09-01"]},"revenue_label":{"type":"string","description":"The month's revenue measure: Shipped Revenue (vendor) or Ordered Product Sales (seller).","examples":["Shipped Revenue"]},"revenue":{"type":"object","description":"Revenue for the month.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":"integer","description":"Units for the month.","examples":[412]}},"required":["period","revenue_label","revenue","units"]}},"required":["title","monitored","newest_month"]},"examples":[{"B0EXAMPLE1":{"title":"Trail Mug, 16 oz","monitored":true,"newest_month":{"period":"2026-09-01","revenue_label":"Shipped Revenue","revenue":{"amount":"18230.40","currency":"USD"},"units":412}}}]},"data":{"type":"array","description":"Content changes, newest first.","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"crawled_at":{"type":"string","description":"When the crawl observed the change (UTC).","format":"date-time","examples":["2026-10-12T10:42:00Z"]},"attribute":{"type":"string","description":"The listing attribute that changed.","enum":["title","feature_bullets","product_overview","product_overview_glance_icons","product_description","rich_product_description","rich_product_information","image_urls","variations","variation_asins","amazon_choice_for","best_seller_in","a_plus_pd_html","a_plus_batch_html","a_plus_brand_story_html","a_plus_sustainability_html","climate_pledge_friendly","provenance_certifications","buying_option_nostos_badge"],"examples":["title"]},"attribute_label":{"type":"string","description":"The attribute as the Content Changes page names it.","examples":["Title"]},"action":{"type":["string","null"],"description":"What the change did to the value.","enum":["added","removed","changed","rearranged",null],"examples":["changed"]},"old_value":{"type":["string","array","object","null"],"description":"The value before the change: text, or a list or object for attributes such as bullets and images. Text over 4,000 characters is cut.","examples":["Trail Mug, 16 oz"]},"new_value":{"type":["string","array","object","null"],"description":"The value after the change, in the same form as old_value.","examples":["Trail Mug, 16 oz, Stainless Steel"]},"truncated":{"type":"boolean","description":"Whether old_value or new_value was cut at 4,000 characters.","examples":[false]}},"required":["asin","crawled_at","attribute","attribute_label","action","old_value","new_value","truncated"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","window","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/buy_boxes":{"get":{"operationId":"get_buy_box_history","summary":"Buy box history","description":"Returns the buy box InsightLeap's Amazon.com crawl observed for each monitored ASIN on each crawl in a date window: who held it (seller name and id), at what price, whether fulfilled by Amazon, the availability text, and the status for this account: won, lost, at_risk (low stock or slow delivery), unknown, or suppressed (the listing returned 404). `lost` covers both a competitor holding the buy box and the listing being out of stock; the availability text tells them apart. Newest first, paged, at most 31 days per call; `latest_only` gives each ASIN's current state. When the user can read sales numbers, `products` gives each ASIN's title and newest month's revenue and units.\n\nRequires the role permission **Amazon.com: View Amazon.com Data, View Buy Boxes**.","tags":["Amazon.com"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"First day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to 6 days before `until`.","schema":{"type":"string","format":"date"}},{"name":"until","in":"query","required":false,"description":"Last day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to today. At most 31 days per call; page back in time with earlier windows.","schema":{"type":"string","format":"date"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"latest_only","in":"query","required":false,"description":"true: only each ASIN's newest observation in the window.","schema":{"type":"boolean"}},{"name":"status","in":"query","required":false,"description":"Only observations with these statuses.","schema":{"type":"array","items":{"type":"string","enum":["lost","at_risk","unknown","won","suppressed"]}},"style":"form","explode":false},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"window":{"type":"object","description":"The date window the call covered.","properties":{"since":{"type":"string","description":"First day of the window (UTC, inclusive).","format":"date","examples":["2026-10-07"]},"until":{"type":"string","description":"Last day of the window (UTC, inclusive).","format":"date","examples":["2026-10-13"]}},"required":["since","until"]},"products":{"type":"object","description":"Title, monitored flag and newest month of sales for each ASIN in `data`, keyed by ASIN. Present only when the user may read the account's product numbers.","additionalProperties":{"type":"object","properties":{"title":{"type":["string","null"],"description":"Product title.","examples":["Trail Mug, 16 oz"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily.","examples":[true]},"newest_month":{"type":["object","null"],"description":"The newest landed month of sales, as the Products table shows it. Null before any month has landed.","properties":{"period":{"type":"string","description":"First day of the newest month whose report data has landed.","format":"date","examples":["2026-09-01"]},"revenue_label":{"type":"string","description":"The month's revenue measure: Shipped Revenue (vendor) or Ordered Product Sales (seller).","examples":["Shipped Revenue"]},"revenue":{"type":"object","description":"Revenue for the month.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":"integer","description":"Units for the month.","examples":[412]}},"required":["period","revenue_label","revenue","units"]}},"required":["title","monitored","newest_month"]},"examples":[{"B0EXAMPLE1":{"title":"Trail Mug, 16 oz","monitored":true,"newest_month":{"period":"2026-09-01","revenue_label":"Shipped Revenue","revenue":{"amount":"18230.40","currency":"USD"},"units":412}}}]},"data":{"type":"array","description":"Buy box observations, newest first.","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"crawled_at":{"type":"string","description":"When the crawl observed the buy box (UTC).","format":"date-time","examples":["2026-10-13T10:42:00Z"]},"status":{"type":"string","description":"won, lost (a competitor holds it or the listing is out of stock), at_risk (low stock or slow delivery), unknown, or suppressed (the listing returned 404).","enum":["lost","at_risk","unknown","won","suppressed"],"examples":["lost"]},"status_label":{"type":"string","description":"The status as the Buy Boxes page names it.","examples":["Buy Box Lost"]},"seller_name":{"type":["string","null"],"description":"Who held the buy box.","examples":["Example Deals LLC"]},"seller_id":{"type":["string","null"],"description":"The holder's Amazon seller id.","examples":["A1EXAMPLE2SELLER"]},"price":{"type":["object","null"],"description":"Buy box price, or null when the page showed none.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["27.49"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"fulfilled_by_amazon":{"type":["boolean","null"],"description":"Whether the buy box offer is fulfilled by Amazon.","examples":[true]},"availability":{"type":["string","null"],"description":"Availability text on the page; blank or null is unknown, not in stock.","examples":["Only 3 left in stock"]},"postal_code":{"type":["string","null"],"description":"Delivery postal code the page was crawled at; null when Amazon picked the location.","examples":["75201"]}},"required":["asin","crawled_at","status","status_label","seller_name","seller_id","price","fulfilled_by_amazon","availability","postal_code"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","window","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/offers":{"get":{"operationId":"get_offer_history","summary":"3P offer history","description":"Returns the offers InsightLeap's Amazon.com crawl observed on the account's monitored listings in a date window: seller name and id, price, condition, Prime, fulfilled by Amazon, and the seller's rating and rating count. Third-party sellers by default (Amazon's own offers with sellers=amazon). Use latest_only for who is selling each ASIN now and since when. Newest first, paged, at most 31 days per call. When the user can read sales numbers, `products` gives each ASIN's title and newest month's revenue and units.\n\nRequires the role permission **Amazon.com: View Amazon.com Data, View Offers**.","tags":["Amazon.com"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"First day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to 6 days before `until`.","schema":{"type":"string","format":"date"}},{"name":"until","in":"query","required":false,"description":"Last day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to today. At most 31 days per call; page back in time with earlier windows.","schema":{"type":"string","format":"date"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"sellers","in":"query","required":false,"description":"third_party (default): sellers other than Amazon; amazon: Amazon retail only; all.","schema":{"type":"string","enum":["third_party","amazon","all"]}},{"name":"seller_id","in":"query","required":false,"description":"Only this seller's offers (Amazon seller id, from a previous result).","schema":{"type":"string"}},{"name":"latest_only","in":"query","required":false,"description":"true: each seller's newest offer per ASIN in the window, with first_seen (when we first saw that seller on the ASIN, ever), ordered by ASIN then price.","schema":{"type":"boolean"}},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"window":{"type":"object","description":"The date window the call covered.","properties":{"since":{"type":"string","description":"First day of the window (UTC, inclusive).","format":"date","examples":["2026-10-07"]},"until":{"type":"string","description":"Last day of the window (UTC, inclusive).","format":"date","examples":["2026-10-13"]}},"required":["since","until"]},"products":{"type":"object","description":"Title, monitored flag and newest month of sales for each ASIN in `data`, keyed by ASIN. Present only when the user may read the account's product numbers.","additionalProperties":{"type":"object","properties":{"title":{"type":["string","null"],"description":"Product title.","examples":["Trail Mug, 16 oz"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily.","examples":[true]},"newest_month":{"type":["object","null"],"description":"The newest landed month of sales, as the Products table shows it. Null before any month has landed.","properties":{"period":{"type":"string","description":"First day of the newest month whose report data has landed.","format":"date","examples":["2026-09-01"]},"revenue_label":{"type":"string","description":"The month's revenue measure: Shipped Revenue (vendor) or Ordered Product Sales (seller).","examples":["Shipped Revenue"]},"revenue":{"type":"object","description":"Revenue for the month.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":"integer","description":"Units for the month.","examples":[412]}},"required":["period","revenue_label","revenue","units"]}},"required":["title","monitored","newest_month"]},"examples":[{"B0EXAMPLE1":{"title":"Trail Mug, 16 oz","monitored":true,"newest_month":{"period":"2026-09-01","revenue_label":"Shipped Revenue","revenue":{"amount":"18230.40","currency":"USD"},"units":412}}}]},"data":{"type":"array","description":"Offers, newest first (latest_only: by ASIN, then price).","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"crawled_at":{"type":"string","description":"When the crawl observed the offer (UTC).","format":"date-time","examples":["2026-10-13T10:42:00Z"]},"seller_name":{"type":["string","null"],"description":"Seller name.","examples":["Example Deals LLC"]},"seller_id":{"type":["string","null"],"description":"Amazon seller id; pass as seller_id to follow one seller.","examples":["A1EXAMPLE2SELLER"]},"price":{"type":"object","description":"Offer price.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["26.95"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"condition":{"type":["string","null"],"description":"Offer condition.","examples":["New"]},"prime":{"type":["boolean","null"],"description":"Whether the offer is Prime.","examples":[true]},"fulfilled_by_amazon":{"type":["boolean","null"],"description":"Whether the offer is fulfilled by Amazon.","examples":[false]},"seller_rating":{"type":["string","null"],"description":"The seller's average rating, out of 5.","examples":["4.6"],"pattern":"^-?\\d+(\\.\\d+)?$"},"seller_positive_rating":{"type":["integer","null"],"description":"The seller's positive rating percentage.","examples":[94]},"seller_rating_count":{"type":["integer","null"],"description":"The seller's number of ratings.","examples":[1250]},"first_seen":{"type":["string","null"],"description":"latest_only: when the crawl first saw this seller on the ASIN, ever (UTC). Absent otherwise.","format":"date-time","examples":["2026-08-02T10:15:00Z"]}},"required":["asin","crawled_at","seller_name","seller_id","price","condition","prime","fulfilled_by_amazon","seller_rating","seller_positive_rating","seller_rating_count"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","window","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/price_breaches":{"get":{"operationId":"get_price_breaches","summary":"MAP and price breaches by seller","description":"Finds sellers pricing the account's monitored products in breach of the price rules the account set in InsightLeap: below the floor (MAP / minimum advertised price), above the ceiling, or discounted further off list price than the threshold. Checks every new-condition offer InsightLeap's Amazon.com crawl observed in the window (third-party sellers and Amazon itself), plus the buy box (used offers, and a buy box held by Amazon Resale or Amazon Warehouse, never count), and returns one row per seller, ASIN and rule: the threshold, the worst price seen, how often, first and last seen, and whether that seller held the buy box at a breaching price. Accounts without price thresholds get no rows and a note saying where to set them. ASINs in `asins` that cannot be checked (not a product of the account, not monitored, or without a threshold) are named in `note` with the reason. At most 31 days per call. When the user can read sales numbers, `products` gives each ASIN's title and newest month's revenue and units.\n\nRequires the role permission **Amazon.com: View Amazon.com Data, View Price Alerts**.","tags":["Amazon.com"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"First day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to 6 days before `until`.","schema":{"type":"string","format":"date"}},{"name":"until","in":"query","required":false,"description":"Last day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to today. At most 31 days per call; page back in time with earlier windows.","schema":{"type":"string","format":"date"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"rules","in":"query","required":false,"description":"Only these rules: floor (below the MAP / minimum price), ceiling (above the maximum price), discount (too far below list price).","schema":{"type":"array","items":{"type":"string","enum":["floor","ceiling","discount"]}},"style":"form","explode":false},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"window":{"type":"object","description":"The date window the call covered.","properties":{"since":{"type":"string","description":"First day of the window (UTC, inclusive).","format":"date","examples":["2026-10-07"]},"until":{"type":"string","description":"Last day of the window (UTC, inclusive).","format":"date","examples":["2026-10-13"]}},"required":["since","until"]},"products_with_thresholds":{"type":"integer","description":"Monitored products with a floor, ceiling or discount threshold that the call checked: only the requested ones when `asins` is given.","examples":[48]},"products":{"type":"object","description":"Title, monitored flag and newest month of sales for each ASIN in `data`, keyed by ASIN. Present only when the user may read the account's product numbers.","additionalProperties":{"type":"object","properties":{"title":{"type":["string","null"],"description":"Product title.","examples":["Trail Mug, 16 oz"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily.","examples":[true]},"newest_month":{"type":["object","null"],"description":"The newest landed month of sales, as the Products table shows it. Null before any month has landed.","properties":{"period":{"type":"string","description":"First day of the newest month whose report data has landed.","format":"date","examples":["2026-09-01"]},"revenue_label":{"type":"string","description":"The month's revenue measure: Shipped Revenue (vendor) or Ordered Product Sales (seller).","examples":["Shipped Revenue"]},"revenue":{"type":"object","description":"Revenue for the month.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":"integer","description":"Units for the month.","examples":[412]}},"required":["period","revenue_label","revenue","units"]}},"required":["title","monitored","newest_month"]},"examples":[{"B0EXAMPLE1":{"title":"Trail Mug, 16 oz","monitored":true,"newest_month":{"period":"2026-09-01","revenue_label":"Shipped Revenue","revenue":{"amount":"18230.40","currency":"USD"},"units":412}}}]},"data":{"type":"array","description":"One row per seller, ASIN and rule, newest breach first.","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"seller_name":{"type":["string","null"],"description":"Seller name.","examples":["Example Deals LLC"]},"seller_id":{"type":["string","null"],"description":"Amazon seller id.","examples":["A1EXAMPLE2SELLER"]},"amazon":{"type":"boolean","description":"Whether the seller is Amazon itself.","examples":[false]},"rule":{"type":"string","description":"floor (below the MAP / minimum price), ceiling (above the maximum price) or discount (too far below list price).","enum":["floor","ceiling","discount"],"examples":["floor"]},"threshold":{"type":"object","description":"The rule's threshold: floor, ceiling, or max_discount with list_price.","properties":{"floor":{"type":["object","null"],"description":"floor: the price floor (MAP).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["24.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ceiling":{"type":["object","null"],"description":"ceiling: the price ceiling.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["39.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"max_discount":{"type":["string","null"],"description":"discount: the largest discount off list price allowed, as a fraction (0.2 = 20%).","examples":["0.2"],"pattern":"^-?\\d+(\\.\\d+)?$"},"list_price":{"type":["object","null"],"description":"discount: the list price the discount is measured from.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["34.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]}},"required":[]},"worst_price":{"type":"object","description":"The furthest price from the threshold seen: the lowest for floor and discount, the highest for ceiling.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["19.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"offer_observations":{"type":"integer","description":"Offer observations in breach.","examples":[6]},"buy_box_observations":{"type":"integer","description":"Buy box observations in breach.","examples":[2]},"held_buy_box":{"type":"boolean","description":"Whether this seller held the buy box at a breaching price.","examples":[true]},"first_seen":{"type":"string","description":"First breaching observation in the window (UTC).","format":"date-time","examples":["2026-10-08T10:40:00Z"]},"last_seen":{"type":"string","description":"Latest breaching observation in the window (UTC).","format":"date-time","examples":["2026-10-13T10:42:00Z"]}},"required":["asin","seller_name","seller_id","amazon","rule","threshold","worst_price","offer_observations","buy_box_observations","held_buy_box","first_seen","last_seen"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","window","products_with_thresholds","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/product_sales":{"get":{"operationId":"get_product_sales","summary":"Product sales by period","description":"Returns each product's Amazon numbers for weekly or monthly report periods, from the account's own Vendor Central or Seller Central data. Vendor accounts: shipped revenue, shipped COGS (what Amazon paid), shipped and ordered units, glance views, conversion, net PPM, inventory on hand, open PO quantity, returns, contra-COGS, ad spend and ad sales. Seller accounts: ordered product sales, units, sessions, page views, buy box %, unit session %, FBA inventory, Amazon fees and net proceeds, ad spend and ad sales. Money is {amount, currency}; percentages are as Amazon reports them. Defaults to the newest report period; `periods` returns trailing periods. Paged; filter by `asins` or `tag`.\n\nRequires the role permission **Products: View Products**.","tags":["Products"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"period_type","in":"query","required":false,"description":"weekly or monthly (default monthly).","schema":{"type":"string","enum":["weekly","monthly"]}},{"name":"period","in":"query","required":false,"description":"Start date of the newest period wanted (a Sunday for weekly, the 1st for monthly). Defaults to the newest report period.","schema":{"type":"string","format":"date"}},{"name":"periods","in":"query","required":false,"description":"How many report periods back from `period`, newest first (default 1, max 13).","schema":{"type":"integer","minimum":1,"maximum":13}},{"name":"tag","in":"query","required":false,"description":"Only products carrying this tag.","schema":{"type":"string"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"period_type":{"type":"string","description":"weekly or monthly.","enum":["weekly","monthly"],"examples":["monthly"]},"vendor_view":{"type":["string","null"],"description":"Vendor accounts: the account's current Vendor View (each row carries the view its period was imported in); null for sellers. Absent when the account has no report period yet.","enum":["sourcing","manufacturing",null],"examples":["sourcing"]},"periods":{"type":"array","description":"The report periods covered, newest first.","items":{"type":"string","description":"Period start.","format":"date","examples":["2026-09-01"]},"examples":[["2026-09-01","2026-08-01"]]},"data":{"type":"array","description":"Rows per product and period, newest period first, then by revenue. Vendor accounts carry the Vendor-only figures, seller accounts the Seller-only ones.","items":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"title":{"type":["string","null"],"description":"The account's product name.","examples":["Trail Mug, 16 oz"]},"period_start":{"type":"string","description":"First day of the period.","format":"date","examples":["2026-09-01"]},"period_end":{"type":["string","null"],"description":"Last day of the period.","format":"date","examples":["2026-09-30"]},"vendor_view":{"type":"string","description":"Vendor accounts: the Vendor View the period was imported in (sourcing for a period imported before views were recorded).","enum":["sourcing","manufacturing"],"examples":["sourcing"]},"shipped_revenue":{"type":["object","null"],"description":"Vendor accounts: Shipped Revenue.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"shipped_cogs":{"type":["object","null"],"description":"Vendor accounts: Shipped COGS, what Amazon paid for the units it shipped.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["11020.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ordered_revenue":{"type":["object","null"],"description":"Vendor accounts: Ordered Revenue.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["19105.25"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"average_sale_price":{"type":["object","null"],"description":"Vendor accounts: Average Sale Price.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["29.95"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"net_received":{"type":["object","null"],"description":"Vendor accounts: Net Received, the cost of units Amazon received.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["9800.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"sellable_on_hand_inventory":{"type":["object","null"],"description":"Vendor accounts: cost of sellable inventory on hand at Amazon.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["14500.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"unsellable_on_hand_inventory":{"type":["object","null"],"description":"Vendor accounts: cost of unsellable inventory on hand at Amazon.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["310.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"contra_cogs":{"type":["object","null"],"description":"Vendor accounts: contra-COGS (Data Kiosk).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["820.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"sales_discount":{"type":["object","null"],"description":"Vendor accounts: Sales Discount (Data Kiosk).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["150.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ad_spend":{"type":["object","null"],"description":"Ad spend.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["1250.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ad_sales":{"type":["object","null"],"description":"Ad-attributed sales (7-day attribution for Seller Central Sponsored Products, 14-day otherwise).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["5400.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"shipped_units":{"type":["integer","null"],"description":"Vendor accounts: Shipped Units.","examples":[612]},"ordered_units":{"type":["integer","null"],"description":"Vendor accounts: Ordered Units.","examples":[640]},"glance_views":{"type":["integer","null"],"description":"Vendor accounts: Glance Views.","examples":[15400]},"conversion_rate":{"type":["string","null"],"description":"Vendor accounts: Conversion Rate, as Amazon reports it.","examples":["0.0415"],"pattern":"^-?\\d+(\\.\\d+)?$"},"net_ppm":{"type":["string","null"],"description":"Vendor accounts: Net PPM, as Amazon reports it.","examples":["0.3120"],"pattern":"^-?\\d+(\\.\\d+)?$"},"customer_returns":{"type":["integer","null"],"description":"Vendor accounts: Customer Returns.","examples":[9]},"net_received_units":{"type":["integer","null"],"description":"Vendor accounts: Net Received Units.","examples":[500]},"sellable_on_hand_units":{"type":["integer","null"],"description":"Vendor accounts: Sellable On Hand Units.","examples":[820]},"unsellable_on_hand_units":{"type":["integer","null"],"description":"Vendor accounts: Unsellable On Hand Units.","examples":[14]},"open_purchase_order_quantity":{"type":["integer","null"],"description":"Vendor accounts: Open Purchase Order Quantity.","examples":[300]},"sell_through_rate":{"type":["string","null"],"description":"Vendor accounts: Sell-Through Rate, as Amazon reports it.","examples":["0.4800"],"pattern":"^-?\\d+(\\.\\d+)?$"},"ad_impressions":{"type":["integer","null"],"description":"Ad impressions.","examples":[182000]},"ad_clicks":{"type":["integer","null"],"description":"Ad clicks.","examples":[2310]},"ordered_product_sales":{"type":["object","null"],"description":"Seller accounts: Ordered Product Sales.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"economics_total_fees":{"type":["object","null"],"description":"Seller accounts: Amazon fees (Data Kiosk economics).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["4100.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"economics_net_proceeds":{"type":["object","null"],"description":"Seller accounts: Net Proceeds after Amazon fees (Data Kiosk economics).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["13650.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"economics_cost_of_goods_sold":{"type":["object","null"],"description":"Seller accounts: cost of goods sold (Data Kiosk economics).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["6200.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units_ordered":{"type":["integer","null"],"description":"Seller accounts: Units Ordered.","examples":[640]},"total_order_items":{"type":["integer","null"],"description":"Seller accounts: Total Order Items.","examples":[610]},"sessions":{"type":["integer","null"],"description":"Seller accounts: Sessions.","examples":[12800]},"page_views":{"type":["integer","null"],"description":"Seller accounts: Page Views.","examples":[15400]},"buy_box_percentage":{"type":["number","null"],"description":"Seller accounts: Buy Box Percentage (0-100).","examples":[97.5]},"unit_session_percentage":{"type":["number","null"],"description":"Seller accounts: Unit Session Percentage (0-100).","examples":[5.0]},"fba_inventory_fulfillable_qty":{"type":["integer","null"],"description":"Seller accounts: FBA fulfillable units.","examples":[410]},"fba_inventory_total_qty":{"type":["integer","null"],"description":"Seller accounts: FBA units in total.","examples":[455]},"fbm_inventory_available_for_sale_quantity":{"type":["integer","null"],"description":"Seller accounts: merchant-fulfilled units available.","examples":[0]},"economics_net_units_sold":{"type":["integer","null"],"description":"Seller accounts: net units sold (Data Kiosk economics).","examples":[628]}},"required":["asin","title","period_start","period_end","ad_spend","ad_sales","ad_impressions","ad_clicks"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","period_type","periods","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/account_sales":{"get":{"operationId":"get_account_sales","summary":"Account totals by period","description":"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.\n\nRequires the role permission **Reports: View Reports**.","tags":["Reports"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"period_type","in":"query","required":false,"description":"weekly or monthly (default monthly).","schema":{"type":"string","enum":["weekly","monthly"]}},{"name":"periods","in":"query","required":false,"description":"How many report periods, newest first (default 12 monthly / 13 weekly; max 36 monthly, 104 weekly).","schema":{"type":"integer","minimum":1,"maximum":104}},{"name":"until","in":"query","required":false,"description":"Newest period start date to include. Defaults to the newest report.","schema":{"type":"string","format":"date"}},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"period_type":{"type":"string","description":"weekly or monthly.","enum":["weekly","monthly"],"examples":["monthly"]},"vendor_view":{"type":["string","null"],"description":"Vendor accounts: the account's current view; null for sellers.","enum":["sourcing","manufacturing",null],"examples":["sourcing"]},"data":{"type":"array","description":"Report totals per period, newest first.","items":{"type":"object","properties":{"period_start":{"type":"string","description":"First day of the period.","format":"date","examples":["2026-09-01"]},"period_end":{"type":"string","description":"Last day of the period.","format":"date","examples":["2026-09-30"]},"units_refunded":{"type":["integer","null"],"description":"Seller accounts: Units Refunded.","examples":[12]},"refund_rate":{"type":["number","null"],"description":"Seller accounts: Refund Rate, as Amazon reports it.","examples":[1.9]},"acos":{"type":["string","null"],"description":"Ad spend / ad sales, from the period's sums (0.25 = 25%); null without ad sales.","examples":["0.2315"],"pattern":"^-?\\d+(\\.\\d+)?$"},"tacos":{"type":["string","null"],"description":"Ad spend / total sales (shipped revenue or ordered product sales), from the period's sums; null without sales.","examples":["0.0686"],"pattern":"^-?\\d+(\\.\\d+)?$"},"vendor_view":{"type":"string","description":"Vendor accounts: the Vendor View this period was imported in (sourcing for a period imported before views were recorded).","enum":["sourcing","manufacturing"],"examples":["sourcing"]},"shipped_revenue":{"type":["object","null"],"description":"Vendor accounts: Shipped Revenue.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"shipped_cogs":{"type":["object","null"],"description":"Vendor accounts: Shipped COGS, what Amazon paid for the units it shipped.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["11020.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"net_received":{"type":["object","null"],"description":"Vendor accounts: Net Received, the cost of units Amazon received.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["9800.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"sellable_on_hand_inventory":{"type":["object","null"],"description":"Vendor accounts: cost of sellable inventory on hand at Amazon.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["14500.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"contra_cogs":{"type":["object","null"],"description":"Vendor accounts: contra-COGS (Data Kiosk).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["820.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"sales_discount":{"type":["object","null"],"description":"Vendor accounts: Sales Discount (Data Kiosk).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["150.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ad_spend":{"type":["object","null"],"description":"Ad spend.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["1250.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"ad_sales":{"type":["object","null"],"description":"Ad-attributed sales (7-day attribution for Seller Central Sponsored Products, 14-day otherwise).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["5400.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"shipped_units":{"type":["integer","null"],"description":"Vendor accounts: Shipped Units.","examples":[612]},"net_received_units":{"type":["integer","null"],"description":"Vendor accounts: Net Received Units.","examples":[500]},"open_purchase_order_quantity":{"type":["integer","null"],"description":"Vendor accounts: Open Purchase Order Quantity.","examples":[300]},"sellable_on_hand_units":{"type":["integer","null"],"description":"Vendor accounts: Sellable On Hand Units.","examples":[820]},"unsellable_on_hand_units":{"type":["integer","null"],"description":"Vendor accounts: Unsellable On Hand Units.","examples":[14]},"customer_returns":{"type":["integer","null"],"description":"Vendor accounts: Customer Returns.","examples":[9]},"ad_impressions":{"type":["integer","null"],"description":"Ad impressions.","examples":[182000]},"ad_clicks":{"type":["integer","null"],"description":"Ad clicks.","examples":[2310]},"ordered_product_sales":{"type":["object","null"],"description":"Seller accounts: Ordered Product Sales.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["18230.40"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"economics_total_fees":{"type":["object","null"],"description":"Seller accounts: Amazon fees (Data Kiosk economics).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["4100.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"economics_net_proceeds":{"type":["object","null"],"description":"Seller accounts: Net Proceeds after Amazon fees (Data Kiosk economics).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["13650.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units_ordered":{"type":["integer","null"],"description":"Seller accounts: Units Ordered.","examples":[640]},"total_order_items":{"type":["integer","null"],"description":"Seller accounts: Total Order Items.","examples":[610]},"sessions":{"type":["integer","null"],"description":"Seller accounts: Sessions.","examples":[12800]},"page_views":{"type":["integer","null"],"description":"Seller accounts: Page Views.","examples":[15400]},"buy_box_percentage":{"type":["number","null"],"description":"Seller accounts: Buy Box Percentage (0-100).","examples":[97.5]},"unit_session_percentage":{"type":["number","null"],"description":"Seller accounts: Unit Session Percentage (0-100).","examples":[5.0]},"economics_net_units_sold":{"type":["integer","null"],"description":"Seller accounts: net units sold (Data Kiosk economics).","examples":[628]}},"required":["period_start","period_end","acos","tacos","ad_spend","ad_sales","ad_impressions","ad_clicks"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","period_type","vendor_view","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/insights":{"get":{"operationId":"get_insights","summary":"Insight Engine findings","description":"Returns the problems InsightLeap's Insight Engine currently sees on the account, biggest estimated monthly dollar impact first: lost buy boxes, out-of-stock and suppressed listings, overwritten content, content drifting from the approved version, unauthorized sellers, offers below MAP, new sellers, price erosion, review trouble, sales drops, low net PPM, high Amazon fees, net margin drops, ads on unavailable listings and more. Every open finding the user may see, not only the rows the Insights page shows. Each finding has the ASIN, what is wrong, the estimated revenue at risk per month and how it was estimated (or why it is not priced), the numbers behind it, when it opened, and what to do about it for this account type (Vendor Central or Seller Central). Paged.\n\nRequires the role permission **Insights: View Insights**.","tags":["Insights"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"asins","in":"query","required":false,"description":"Only these ASINs (as shown by list_products).","schema":{"type":"array","items":{"type":"string"},"maxItems":200},"style":"form","explode":false},{"name":"check_types","in":"query","required":false,"description":"Only these kinds of finding (e.g. buy_box_lost, out_of_stock, content_drift, unauthorized_seller, below_map).","schema":{"type":"array","items":{"type":"string","enum":["out_of_stock","buy_box_lost","suppressed_404","content_overwritten","review_trouble","low_net_ppm","predicted_stockout","sales_drop","buy_box_lost_share","variation_detached","low_buy_box_share","net_ppm_drop","return_rate_spike","price_erosion","new_seller","ads_on_unavailable_listing","ad_spend_without_sales","ad_cost_per_sale_doubled","selling_at_a_loss","high_amazon_deductions","high_amazon_fees","net_margin_drop","procurable_out_of_stock","top_seller_not_advertised","advertised_with_weak_listing","top_seller_not_monitored","content_drift","unauthorized_seller","below_map","amazon_stopped_ordering"]}},"style":"form","explode":false},{"name":"page_size","in":"query","required":false,"description":"Rows per page (default 100, max 500).","schema":{"type":"integer","minimum":1,"maximum":500}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"data":{"type":"array","description":"Open findings, biggest estimate first.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Finding id.","examples":[90412]},"check":{"type":"string","description":"The kind of finding.","enum":["out_of_stock","buy_box_lost","suppressed_404","content_overwritten","review_trouble","low_net_ppm","predicted_stockout","sales_drop","buy_box_lost_share","variation_detached","low_buy_box_share","net_ppm_drop","return_rate_spike","price_erosion","new_seller","ads_on_unavailable_listing","ad_spend_without_sales","ad_cost_per_sale_doubled","selling_at_a_loss","high_amazon_deductions","high_amazon_fees","net_margin_drop","procurable_out_of_stock","top_seller_not_advertised","advertised_with_weak_listing","top_seller_not_monitored","content_drift","unauthorized_seller","below_map","amazon_stopped_ordering"],"examples":["buy_box_lost"]},"title":{"type":"string","description":"The kind of finding, as the Insights page names it.","examples":["Buy box lost"]},"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"product_title":{"type":["string","null"],"description":"Product name, else the ASIN.","examples":["Trail Mug, 16 oz"]},"source":{"type":"string","description":"Where the data behind it comes from: Amazon.com, Advertising, Vendor Central or Seller Central.","examples":["Amazon.com"]},"estimated_monthly_at_risk":{"type":["object","null"],"description":"Estimated revenue at risk per month, or null when not priced.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["4200.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"estimate":{"type":["string","null"],"description":"How the estimate was made, or why the finding is not priced.","examples":["Based on 140 units a month at $30.00 over the last 8 weeks."]},"estimate_strategy":{"type":["string","null"],"description":"Which estimate priced it: velocity (the account's own sales), badge (Amazon's \"bought in past month\" badge times price) or check (the check's own figure); null when not priced.","enum":["velocity","badge","check",null],"examples":["velocity"]},"impact":{"type":"string","description":"Impact tier from the estimate.","enum":["High","Medium","Low","Unknown"],"examples":["High"]},"detail":{"type":["string","null"],"description":"What is wrong, in one sentence.","examples":["Example Deals LLC has held the buy box since Oct 9."]},"details":{"type":["object","null"],"description":"The numbers behind the finding; keys vary by check.","additionalProperties":true,"examples":[{"holder":"Example Deals LLC","price_cents":2749}]},"opened_at":{"type":"string","description":"When the finding opened (UTC).","format":"date-time","examples":["2026-10-09T10:45:00Z"]},"remedy":{"type":["string","null"],"description":"What to do about it, written for the account type (Vendor Central or Seller Central).","examples":["Check whether Amazon is out of stock and confirm open purchase orders in Vendor Central."]}},"required":["id","check","title","asin","product_title","source","estimated_monthly_at_risk","estimate","estimate_strategy","impact","detail","details","opened_at","remedy"]}},"next_cursor":{"type":["string","null"],"description":"Pass as `cursor` to get the next page; null on the last page.","examples":["eyJzZWdtZW50IjoxLCJza2lwIjo4N30"]},"note":{"type":"string","description":"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.","examples":["Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."]}},"required":["account","data","next_cursor"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/accounts/{account}/products/{asin}":{"get":{"operationId":"get_asin_overview","summary":"ASIN overview","description":"Everything InsightLeap knows about one ASIN on one account, joined: product details and price thresholds; the current buy box (holder, price, status); the third-party sellers offering it in the last 7 days with their prices; the 10 newest content changes; open Insight Engine findings with dollar estimates; and the last 13 weeks and 12 months of Vendor or Seller Central sales. Sections the user's role does not cover are listed in `withheld` instead.\n\nRequires the role permission **Product Details: View Product Details**.","tags":["Product Details"],"parameters":[{"name":"account","in":"path","required":true,"description":"Account token, from list_accounts.","schema":{"type":"string"}},{"name":"asin","in":"path","required":true,"description":"The ASIN, as shown by list_products.","schema":{"type":"string"}}],"responses":{"200":{"description":"The tool result.","content":{"application/json":{"schema":{"type":"object","properties":{"account":{"type":"object","description":"The account the rows belong to.","properties":{"token":{"type":"string","description":"Account token.","examples":["k3J9xQ2mVb"]},"name":{"type":"string","description":"Account name.","examples":["Acme Outdoor (US)"]}},"required":["token","name"]},"product":{"type":"object","properties":{"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"title":{"type":["string","null"],"description":"The account's own product name, else the title crawled from Amazon.com.","examples":["Trail Mug, 16 oz"]},"brand":{"type":["string","null"],"description":"Brand.","examples":["Acme"]},"model_number":{"type":["string","null"],"description":"Model number (the account's own override when set).","examples":["TM-16-BLU"]},"upc":{"type":["string","null"],"description":"UPC.","examples":["012345678905"]},"parent_asin":{"type":["string","null"],"description":"Parent ASIN of the variation family.","examples":["B0EXAMPLE0"]},"monitored":{"type":"boolean","description":"Whether InsightLeap crawls this ASIN on Amazon.com daily (buy box, offers, content).","examples":[true]},"price_floor":{"type":["object","null"],"description":"Price floor (MAP) set for price alerts, or null.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["24.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"price_ceiling":{"type":["object","null"],"description":"Price ceiling set for price alerts, or null.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["39.99"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"discount_threshold":{"type":["string","null"],"description":"Largest discount off list price allowed before a price alert, as a fraction (0.2 = 20%), or null.","examples":["0.2"],"pattern":"^-?\\d+(\\.\\d+)?$"},"tags":{"type":"array","description":"The account's own product tags.","items":{"type":"string","description":"Tag name.","examples":["Spring launch"]},"examples":[["Spring launch","Mugs"]]}},"required":["asin","title","brand","model_number","upc","parent_asin","monitored","price_floor","price_ceiling","discount_threshold","tags"],"description":"The product, as list_products returns it."},"buy_box":{"type":["object","null"],"description":"The newest buy box observation, or null when the crawl has none.","properties":{"crawled_at":{"type":"string","description":"When the crawl observed the buy box (UTC).","format":"date-time","examples":["2026-10-13T10:42:00Z"]},"status":{"type":"string","description":"won, lost (a competitor holds it or the listing is out of stock), at_risk (low stock or slow delivery), unknown, or suppressed (the listing returned 404).","enum":["lost","at_risk","unknown","won","suppressed"],"examples":["lost"]},"status_label":{"type":"string","description":"The status as the Buy Boxes page names it.","examples":["Buy Box Lost"]},"seller_name":{"type":["string","null"],"description":"Who held the buy box.","examples":["Example Deals LLC"]},"seller_id":{"type":["string","null"],"description":"The holder's Amazon seller id.","examples":["A1EXAMPLE2SELLER"]},"price":{"type":["object","null"],"description":"Buy box price, or null when the page showed none.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["27.49"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"fulfilled_by_amazon":{"type":["boolean","null"],"description":"Whether the buy box offer is fulfilled by Amazon.","examples":[true]},"availability":{"type":["string","null"],"description":"Availability text on the page; blank or null is unknown, not in stock.","examples":["Only 3 left in stock"]}},"required":["crawled_at","status","status_label","seller_name","seller_id","price","fulfilled_by_amazon","availability"]},"offers":{"type":"object","description":"Third-party offers in the last 7 days.","properties":{"window_days":{"type":"integer","description":"Days of offers covered.","examples":[7]},"third_party_sellers":{"type":"integer","description":"Distinct third-party sellers seen in the window: a seller offering the ASIN in more than one condition counts once.","examples":[3]},"lowest_third_party_price":{"type":["object","null"],"description":"Lowest third-party price seen, or null without offers.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["25.49"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"sellers":{"type":"array","description":"Each third-party seller's newest offer per condition, lowest price first, as the Offers page lists them.","items":{"type":"object","properties":{"seller_name":{"type":["string","null"],"description":"Seller name.","examples":["Example Deals LLC"]},"seller_id":{"type":["string","null"],"description":"Amazon seller id.","examples":["A1EXAMPLE2SELLER"]},"price":{"type":"object","description":"Price.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["25.49"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"condition":{"type":["string","null"],"description":"Offer condition.","examples":["New"]},"fulfilled_by_amazon":{"type":["boolean","null"],"description":"Whether the offer is fulfilled by Amazon.","examples":[false]},"last_seen":{"type":"string","description":"The seller's newest observation (UTC).","format":"date-time","examples":["2026-10-13T10:42:00Z"]}},"required":["seller_name","seller_id","price","condition","fulfilled_by_amazon","last_seen"]}}},"required":["window_days","third_party_sellers","lowest_third_party_price","sellers"]},"content_changes":{"type":"array","description":"The 10 newest content changes (get_content_changes has the values).","items":{"type":"object","properties":{"crawled_at":{"type":"string","description":"When the crawl observed the change (UTC).","format":"date-time","examples":["2026-10-12T10:42:00Z"]},"attribute":{"type":"string","description":"The listing attribute that changed.","enum":["title","feature_bullets","product_overview","product_overview_glance_icons","product_description","rich_product_description","rich_product_information","image_urls","variations","variation_asins","amazon_choice_for","best_seller_in","a_plus_pd_html","a_plus_batch_html","a_plus_brand_story_html","a_plus_sustainability_html","climate_pledge_friendly","provenance_certifications","buying_option_nostos_badge"],"examples":["title"]},"action":{"type":["string","null"],"description":"What the change did to the value.","enum":["added","removed","changed","rearranged",null],"examples":["changed"]},"attribute_label":{"type":"string","description":"The attribute as the Content Changes page names it.","examples":["Title"]}},"required":["crawled_at","attribute","action","attribute_label"]}},"insights":{"type":"array","description":"Open findings on the ASIN, biggest estimate first.","items":{"type":"object","properties":{"id":{"type":"integer","description":"Finding id.","examples":[90412]},"check":{"type":"string","description":"The kind of finding.","enum":["out_of_stock","buy_box_lost","suppressed_404","content_overwritten","review_trouble","low_net_ppm","predicted_stockout","sales_drop","buy_box_lost_share","variation_detached","low_buy_box_share","net_ppm_drop","return_rate_spike","price_erosion","new_seller","ads_on_unavailable_listing","ad_spend_without_sales","ad_cost_per_sale_doubled","selling_at_a_loss","high_amazon_deductions","high_amazon_fees","net_margin_drop","procurable_out_of_stock","top_seller_not_advertised","advertised_with_weak_listing","top_seller_not_monitored","content_drift","unauthorized_seller","below_map","amazon_stopped_ordering"],"examples":["buy_box_lost"]},"title":{"type":"string","description":"The kind of finding, as the Insights page names it.","examples":["Buy box lost"]},"asin":{"type":"string","description":"ASIN.","examples":["B0EXAMPLE1"]},"product_title":{"type":["string","null"],"description":"Product name, else the ASIN.","examples":["Trail Mug, 16 oz"]},"source":{"type":"string","description":"Where the data behind it comes from: Amazon.com, Advertising, Vendor Central or Seller Central.","examples":["Amazon.com"]},"estimated_monthly_at_risk":{"type":["object","null"],"description":"Estimated revenue at risk per month, or null when not priced.","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["4200.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"estimate":{"type":["string","null"],"description":"How the estimate was made, or why the finding is not priced.","examples":["Based on 140 units a month at $30.00 over the last 8 weeks."]},"estimate_strategy":{"type":["string","null"],"description":"Which estimate priced it: velocity (the account's own sales), badge (Amazon's \"bought in past month\" badge times price) or check (the check's own figure); null when not priced.","enum":["velocity","badge","check",null],"examples":["velocity"]},"impact":{"type":"string","description":"Impact tier from the estimate.","enum":["High","Medium","Low","Unknown"],"examples":["High"]},"detail":{"type":["string","null"],"description":"What is wrong, in one sentence.","examples":["Example Deals LLC has held the buy box since Oct 9."]},"details":{"type":["object","null"],"description":"The numbers behind the finding; keys vary by check.","additionalProperties":true,"examples":[{"holder":"Example Deals LLC","price_cents":2749}]},"opened_at":{"type":"string","description":"When the finding opened (UTC).","format":"date-time","examples":["2026-10-09T10:45:00Z"]},"remedy":{"type":["string","null"],"description":"What to do about it, written for the account type (Vendor Central or Seller Central).","examples":["Check whether Amazon is out of stock and confirm open purchase orders in Vendor Central."]}},"required":["id","check","title","asin","product_title","source","estimated_monthly_at_risk","estimate","estimate_strategy","impact","detail","details","opened_at","remedy"]}},"sales":{"type":"object","description":"Sales trend from Vendor Central or Seller Central.","properties":{"weekly":{"type":"array","description":"The last 13 weeks, newest first.","items":{"type":"object","properties":{"period_start":{"type":"string","description":"First day of the period.","format":"date","examples":["2026-09-01"]},"revenue":{"type":["object","null"],"description":"Shipped Revenue (vendor) or Ordered Product Sales (seller).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["1840.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":["integer","null"],"description":"Shipped Units (vendor) or Units Ordered (seller).","examples":[62]}},"required":["period_start","revenue","units"]}},"monthly":{"type":"array","description":"The last 12 months, newest first.","items":{"type":"object","properties":{"period_start":{"type":"string","description":"First day of the period.","format":"date","examples":["2026-09-01"]},"revenue":{"type":["object","null"],"description":"Shipped Revenue (vendor) or Ordered Product Sales (seller).","properties":{"amount":{"type":"string","description":"Decimal string in the currency's units.","examples":["1840.00"],"pattern":"^-?\\d+(\\.\\d+)?$"},"currency":{"type":"string","description":"ISO 4217 code: the account's marketplace currency.","examples":["USD"]}},"required":["amount","currency"]},"units":{"type":["integer","null"],"description":"Shipped Units (vendor) or Units Ordered (seller).","examples":[62]}},"required":["period_start","revenue","units"]}}},"required":["weekly","monthly"]},"note":{"type":"string","description":"Present when the product is not monitored on Amazon.com.","examples":["This product is not monitored on Amazon.com, so it has no buy box, offer or content history."]},"withheld":{"type":"array","description":"Sections left out because the user's role does not cover them or they do not apply to the account.","items":{"type":"object","properties":{"section":{"type":"string","description":"The tool whose section was left out.","enum":["get_buy_box_history","get_offer_history","get_content_changes","get_insights","get_product_sales"],"examples":["get_product_sales"]},"reason":{"type":"string","description":"Why.","examples":["needs Products: View"]}},"required":["section","reason"]}}},"required":["account","product","withheld"]}}}},"401":{"description":"Missing, invalid, expired or revoked token. The message says which.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The user's role does not include this data, or the team's terms are due.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such account or ASIN for this token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid arguments.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited, or InsightLeap is serving as many API calls as it allows at once. Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}}},"504":{"description":"The query took too long; narrow the window or the ASIN list.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}