Live offers and inventory for up to 10 ASINs
offers_stockCompare sellers' current offers per ASIN, identify the buy-box winner, and optionally check purchasable stock quantity via a cart check.
Instructions
Use to compare sellers' current offers and see who holds the buy box, and, with check_inventory, how many units a buyer can add to the cart now. The stock number is not a sales estimate. Not for the listing's own details (product_details). Returns the current offer list per ASIN (seller, price, condition, buy-box winner) and, optionally, the actual purchasable stock quantity. The whole offer list comes by default; page returns it ten offers at a time. Price: $0.0045 per item (max 10). On an account, a call is billed per page of the offer list it delivers, plus the cart checks of check_inventory. Amazon lists ten offers a page, so an ASIN with up to ten offers is one request and each further page of its list is one more (a listing with 35 offers: 4). page (1, 2, ...) returns that page alone for one request per ASIN -- page 1 is the buy-box offer and the first ten of the list -- and each row then carries page and total_pages. A page past the end is answered like a not-found item: code page_out_of_range, billed, with total_pages and offers_total in the row; total_pages on any page says how far to go, so there is no need to ask. Without page the whole list comes, up to 10 pages (100 offers and the buy-box offer); a longer list says so in coverage_note, and page=11 onward reaches the rest. offers_total is Amazon's own count of the offers under the condition filter, not the number returned; when fewer are returned, coverage_note says why (a page that could not be read this time, the 10-page limit, or offers that cannot be added to a cart). A condition filter covers the buy-box offer too: it is in the answer only when its own condition was asked for. offers_count=winner returns only the offer flagged is_buybox_winner (offers_total keeps the full count); it used to scope only the inventory check and return every offer. /scrape is a legacy alias for the same handler. When Amazon will not return the offer list for an ASIN, the result carries source=product_page: the featured (buy-box) offer read from the product page, offers_on_amazon (how many offers Amazon says exist) and a note; other sellers' offers and stock are then not included. With check_inventory, a cart check that cannot read a quantity is retried once on another session; one that still fails says so on the offer, inventory_response {"error": "cart check failed", "code": "cart_check_failed", "retryable": true}, is not billed, and never reads as a quantity of 0. An offer whose price Amazon shows only in the cart ("Add to cart to see product details") has price null and price_hidden true; it used to read as price 0. Each offer carries ships_from (the "Ships from" name: Amazon for FBA, else the seller), delivery_message (the offer's own delivery promise, e.g. "FREE delivery Friday, October 16 on orders shipped by Amazon over $35") and delivery_message_secondary (the "Or fastest delivery ..." line), null when the offer shows none. delivery is the same value as ships_from, kept for existing integrations; it never held delivery information. A row for an ASIN that could not be answered carries error, code, http_status, billed, retryable and next_step, like a top-level error: upstream_unavailable (not billed, retry that ASIN), no_offers ("No offers found": the offer list holds no offer that can be bought as is -- customizable listings have none; billed like a 404) or asin_redirected (Amazon answers the ASIN with another listing's offers; billed like a 404). On agent.apiguru.app the answer also carries success and _links (self, and details_url per row); billable_requests_count is there on your own key only. Each offer carries merchant_id and sold_by_amazon. Amazon lists its own offers (Amazon.com, Amazon Resale and their local names) without a seller link, so on those rows seller_id repeats the seller's name; merchant_id is the id to use: the linked seller's id, or for Amazon's own offers the merchant id the product page states (null when it states none). sold_by_amazon is true for Amazon's own offers, false for a linked seller and null when the row does not say. Amazon itself has no seller profile to look up.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asins": "<asins>"
},
"name": "offers_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Marketplace country code. | US |
| page | No | One page of each ASIN's offer list instead of the whole list. Amazon lists ten offers a page, in its own order (it starts from the lowest price with delivery); page 1 also carries the buy-box offer. One request per ASIN whatever the listing's size, and each row then says `page` and `total_pages`. Omit for the whole list, which is one request per page of ten. | |
| asins | Yes | Comma-separated ASIN list, maximum 10. Each must be 10 uppercase alphanumeric characters; malformed entries are rejected with 400. An Amazon product URL (…/dp/ASIN) works too, in place of an ASIN; lower case is fine. A URL's domain sets the marketplace unless geo says otherwise. | |
| condition | No | Comma-separated condition filter: ALL, NEW, USED_LIKE_NEW, USED_VERY_GOOD, USED_GOOD, USED_ACCEPTABLE (case-insensitive). Omit for every offer. The filter covers the buy-box offer too: it is in the answer only when its own condition is among those asked for. An unknown value is a free 400 listing the allowed ones; it used to be silently treated as ALL. | |
| offers_count | No | 'all' for every offer (default), 'winner' for the buy-box offer only, or a specific alphanumeric Offer ID. Every offer carries is_buybox_winner; with 'winner' the per-ASIN data holds that one offer and offers_total says how many exist. An ASIN with no featured offer answers an empty list with an explanatory error. The response echoes filters_applied. | all |
| check_inventory | No | Add each offer's purchasable stock quantity (`inventory_response`), read with a cart check. Slower, and each check that reads a quantity is billed, so leave off unless you need the number. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No | ||
| request_id | No | ||
| country_code | No | ||
| response_time | No | ||
| filters_applied | No | ||
| amazon_request_count | No |