https://api.insightleap.com/v1/accounts/{account}/buy_boxes
get_buy_box_historyReturns 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.
Requires the role permission Amazon.com: View Amazon.com Data, View Buy Boxes.
| Parameter | Description |
|---|---|
account
required
path, string
|
Account token, from list_accounts. |
since
query, string (date)
|
First day of the window (YYYY-MM-DD, UTC, inclusive). Defaults to 6 days before until.
|
until
query, string (date)
|
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. |
asins
query, array of strings, comma-separated, up to 200
|
Only these ASINs (as shown by list_products). |
latest_only
query, boolean
|
true: only each ASIN's newest observation in the window. |
status
query, array of strings, comma-separated
|
Only observations with these statuses.
Values: lost, at_risk, unknown, won, suppressed
|
page_size
query, integer, 1 to 500
|
Rows per page (default 100, max 500). |
cursor
query, string
|
next_cursor from the previous page. |
| Field | Description |
|---|---|
account
object
|
The account the rows belong to. |
account.
string
|
Account token. |
account.
string
|
Account name. |
window
object
|
The date window the call covered. |
window.
string (date)
|
First day of the window (UTC, inclusive). |
window.
string (date)
|
Last day of the window (UTC, inclusive). |
products
object
|
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.
|
products.
string or null
|
Product title. |
products.
boolean
|
Whether InsightLeap crawls this ASIN on Amazon.com daily. |
products.
object or null
|
The newest landed month of sales, as the Products table shows it. Null before any month has landed. |
products.
string (date)
|
First day of the newest month whose report data has landed. |
products.
string
|
The month's revenue measure: Shipped Revenue (vendor) or Ordered Product Sales (seller). |
products.
object
|
Revenue for the month. |
products.
string
|
Decimal string in the currency's units. |
products.
string
|
ISO 4217 code: the account's marketplace currency. |
products.
integer
|
Units for the month. |
data
array of objects
|
Buy box observations, newest first. |
data[].
string
|
ASIN. |
data[].
string (date-time)
|
When the crawl observed the buy box (UTC). |
data[].
string
|
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).
Values: lost, at_risk, unknown, won, suppressed
|
data[].
string
|
The status as the Buy Boxes page names it. |
data[].
string or null
|
Who held the buy box. |
data[].
string or null
|
The holder's Amazon seller id. |
data[].
object or null
|
Buy box price, or null when the page showed none. |
data[].
string
|
Decimal string in the currency's units. |
data[].
string
|
ISO 4217 code: the account's marketplace currency. |
data[].
boolean or null
|
Whether the buy box offer is fulfilled by Amazon. |
data[].
string or null
|
Availability text on the page; blank or null is unknown, not in stock. |
data[].
string or null
|
Delivery postal code the page was crawled at; null when Amazon picked the location. |
next_cursor
string or null
|
Pass as cursor to get the next page; null on the last page.
|
note
string
|
Why the page is shorter than page_size although more rows follow (time or size limit), or why there are no rows. Absent when there is nothing to say. |
{
"account": {
"token": "k3J9xQ2mVb",
"name": "Acme Outdoor (US)"
},
"window": {
"since": "2026-10-07",
"until": "2026-10-13"
},
"products": {
"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": [
{
"asin": "B0EXAMPLE1",
"crawled_at": "2026-10-13T10:42:00Z",
"status": "lost",
"status_label": "Buy Box Lost",
"seller_name": "Example Deals LLC",
"seller_id": "A1EXAMPLE2SELLER",
"price": {
"amount": "27.49",
"currency": "USD"
},
"fulfilled_by_amazon": true,
"availability": "Only 3 left in stock",
"postal_code": "75201"
}
],
"next_cursor": "eyJzZWdtZW50IjoxLCJza2lwIjo4N30",
"note": "Cut to 87 rows to keep the response under 40 KB; continue with next_cursor."
}
curl -H "Authorization: Bearer $INSIGHTLEAP_TOKEN" \
"https://api.insightleap.com/v1/accounts/ACCOUNT_TOKEN/buy_boxes"
Every operation, and the guide to tokens, paging and errors, is in the
API reference.
AI assistants call this operation as the get_buy_box_history tool on the
MCP server.
New to InsightLeap? Every plan includes the API. Start a 14-day trial.