Skip to main content
Glama
apiguru-amazon-data

apiguru-amazon-data

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
APIGURU_API_KEYNoOptional. An Apiguru API key from https://dash.apiguru.app bills your account; leave empty for keyless use (free calls, then x402).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Apiguru returns live, structured Amazon marketplace data across 23 country marketplaces. Data is fetched at request time, not served from a cache.

Choosing a tool:

  • One ASIN, full record -> product_details

  • Many ASINs (up to 20) -> product_details_batch (no ranks, category path or merchant id)

  • Reviews and rating breakdown -> product_reviews

  • Keyword discovery -> search

  • Offers, buy box, live stock -> offers_stock

  • Category rankings -> best_sellers

  • Discounted items -> deals

  • Seller storefront / reputation -> seller_products, seller_reviews, seller_profile_batch

  • Prices, marketplaces, access mode -> list_capabilities (free, makes no network request)

Rules that will save you money and failed calls:

  • Pass an ASIN (10 characters) or an Amazon product URL; lower case is fine. A URL's domain sets the marketplace unless geo says otherwise; what was rewritten is listed under _input_interpreted.

  • Every error is a JSON document with http_status, billed, retryable and next_step. Retry only when retryable is true. A 404 IS billed; a 503 is not.

  • Prefer the batch tools over looping single-item tools: fewer calls, and cheaper per item without an account.

  • When the free calls run out, a tool returns an x402 PaymentRequired result (x402Version, accepts). An x402-capable MCP client pays it and resends the same call with the payment in _meta["x402/payment"]. Without a wallet, ask the user to connect https://mcp.apiguru.app/account and sign in, then repeat the same call.

  • Identical calls within a few minutes are answered from a short cache (_cache marks such answers) and cost nothing extra.

Keeping answers small:

  • product_details and product_details_batch return a COMPACT record by default and list what they left out under _omitted_fields. Ask for more with fields= or compact=false; the full record is ~75 KB.

  • Variants come as variation_summary. The ASIN-keyed maps (variation, product_variations) can be 50-130 KB on big families; ask for one by name only when you must resolve a value to a sibling ASIN.

  • search, best_sellers, deals, seller_products and seller_reviews return the first 10 rows as LIGHT records by default. Raise limit (0 = the whole page), set compact=false, or name what you want with fields="asin,product_title,product_price". _truncated gives the real row count.

  • Filtering beats paging. Each tool's description lists its filters, and every list answer says which took effect (filters_applied), which the marketplace could not apply (filters_ignored) and what it offers (available_filters).

Amazon's own data will mislead you if you assume otherwise:

  • Rating counts are per listing family, not per ASIN: variants share one review pool. Never read a count as "this variant has that many reviews".

  • A search row's title can be the parent's. When the exact variant matters, call product_details on that ASIN.

  • badges is the source of truth for Amazon's Choice / Best Seller / Overall Pick.

  • Bullet points and specs can describe the product family rather than the exact variant. A null field means Amazon did not show that field.

Found something wrong? Open an issue at https://github.com/apiguru-app/agent-kit/issues, or call the free send_feedback tool. Neither is billed.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
product_detailsA

Use for one product's current listing. Not for several ASINs (product_details_batch), seller offers or stock (offers_stock), or review text (product_reviews). Fetches the complete product record for one ASIN on one marketplace: title, price, star rating, rating count, images, description, feature bullets, variations and category. Price: $0.003 per call. 404 means the ASIN is absent from that marketplace and IS billed. 503 is a temporary failure on our side and is NOT billed - retry. Bullet points and specs are what Amazon shows for the listing; on multi-variant listings they can describe the product family rather than the exact variant. A null field means Amazon did not show it. Beside the price the record carries what the page shows there: discount_percentage (the saving against product_original_price, an integer), product_price_per_unit ("$0.59/fluid ounce"), deal_badge ("Limited time deal"), coupon and promotion in the page's own words, and subscribe_and_save -- {price, price_per_unit, max_savings_price, max_savings_percentage}, null when the listing has no such option. return_policy is the buy box's Returns line ("FREE refund/replacement until Jan 31, 2027"), and buybox_winner.seller_url is the seller's page. Three things a listing states are named at the top level: whats_in_the_box (the page's "What's in the box" list, an array of strings), warranty ("1 year manufacturer") and ingredients (the ingredient list as the page prints it); each is null when the listing states none. product_information still holds the same rows under the page's own labels. product_photos is this listing's whole gallery at full size, in the page's order (it used to hold one image, or thumbnails); other variants' images stay under variation. A page that comes back with no product on it is fetched again and, failing that, answered as the unbilled 503 -- never as an empty record. Keys of product_information, tech_specs and the other specification tables are trimmed: Amazon prints some rows twice, once with a trailing space ("Package Dimensions "), and the copies are merged under the clean name; when they differ the listing's own value wins (the second copy of "ASIN" on a variant often names the parent). currency is the symbol Amazon prints on the page ($, €, £, R$, AED); the ISO code is price_snapshot.currency. is_best_seller and badges.best_seller are true only for the listing's own "#1 Best Seller" badge. ranks and category_path are empty when Amazon's page for the listing shows no Best Sellers Rank rows or breadcrumb; a listing with the badge then gets one ranks entry read from the badge (rank 1 in the category the badge names), marked source: best_seller_badge.

product_reviewsA

Use for what customers say about one product. Not for its full review history (Amazon serves full and star-filtered review lists only to signed-in accounts) or for seller feedback (seller_reviews). Returns the overall rating, rating count, review_histogram (percent of all ratings per star), Amazon's 'customers say' AI summary where that marketplace shows one, and the reviews on the product page (typically up to 8 from this marketplace and 5 from other countries; none on amazon.com at present, where Amazon shows review text only to signed-in visitors), each with rating, review_date, review_country, from_this_marketplace, verified flag and helpful_votes; from_rating/to_rating keep a star window. Price: $0.003 per call. Same 404-billed / 503-not-billed semantics as product_details. No paging or sort: the reviews are those on the product page; review_coverage says how many and from where. from_rating/to_rating filter them. review_histogram (here and on product_details) gives the share of every rating. customers_say is null where Amazon shows no summary (several marketplaces never do); customers_say_note then says so. Where Amazon shows review text on the product page only to signed-in visitors (amazon.com at present), product_reviews is empty and review_coverage.note says so; the rating, rating count, review_histogram and customers_say are returned as usual.

searchA

Use to find products by keyword and filters. Rows are result snippets; for the authoritative record of one ASIN call product_details. Search Amazon products by keyword. Filters: page, sort_by, category_id (browse node), min_price / max_price (decimals), product_condition (NEW / USED / RENEWED), brand, seller_id, today_deals and deal_type (coupons, all_discounts, buy_more_save_more). Every answer carries filters_applied, filters_ignored (with the reason) and available_filters for that marketplace. Price: $0.003 per call. Blank values and the literal string 'null' are treated as unset. Invalid page, sort_by, price, product_condition or deal_type is a free 400 naming the parameter and the allowed values. Condition and deal refinements are per marketplace; a marketplace that lacks one gets the unfiltered feed plus an entry under filters_ignored, never a silent empty page. product_num_ratings is an integer; offers_count is the "N offers" count a result card shows, an integer, and null when the card shows none (most cards; it used to default to 1; "21+ used & new offers" reads 21); product_minimum_offer_price is the price on the card's "More Buying Choices" line -- the lowest among the listing's other offers, new or used -- a decimal string, null when the card shows no such line; under product_condition=USED the answer carries price_note, which says which price is which, and offers_stock with the USED_* conditions returns the used offers themselves; product_brand is the brand line Amazon prints above some titles (fashion and many branded listings) and null on cards without one -- product_details has brand_name for every ASIN; product_star_rating, product_price and product_original_price are decimal strings; a null field means Amazon did not show it. is_prime is true when the result carries a Prime badge or its delivery line offers Prime delivery. metadata.reachable_pages says how far page can go: Amazon serves at most 7 pages of a query even when metadata.total_pages counts more (then pagination_note says how to split the query). metadata.next_page is the page to ask for next (null on the last one) and _links.next its link; each row's position is its place on this page, from 1, sponsored rows counted as Amazon lists them; a page past the end is a free 400 page_out_of_range. A full page is up to 48 results and about 54 KB; the tool returns the first 10 as light rows by default and the answer carries _truncated, _omitted_fields, _projection and _notes. filters_applied echoes the effective sort_by (RELEVANCE when none was sent). A BEST_SELLERS ordering is Amazon's query-scoped popularity, not a category rank: a row's badges / is_best_seller are what the result card showed for this query, and an ASIN that is #1 in its subcategory can carry no badge here while product_details reports best_seller=true with the rank. For a rank claim, use product_details or best_sellers. An empty products list is served as success only when Amazon itself reports 0 results (metadata.total is 0 and hint says so). Anything else that is not a usable result is an unbilled, retryable 503 with code upstream_unavailable.

product_details_batchA

Use to enrich a list of ASINs in one call; compare the ASINs in results with the ones you sent. Batch variant of product_details. Accepts a comma-separated ASIN list, deduplicates it, and fetches all of them concurrently. Far cheaper and faster than N single calls. Price: $0.0024 per item (max 20). Billed per ASIN processed, including ones that come back not-found. More than 20 ASINs returns 413. Bullet points and specs are what Amazon shows for the listing; on multi-variant listings they can describe the product family rather than the exact variant. A null field means Amazon did not show it. ASINs Amazon has no record for on that marketplace are listed in not_returned (billed, like a not-found product_details call; retrying will not help). The batch record comes from Amazon's app, not the product page: price, rating, availability, images, bullets and variants, but no best-seller ranks, no best-seller badge, no category path and no merchant (seller) id (is_best_seller is false here whatever the product, because the source carries no badge, and is left out of the compact row). For those call product_details per ASIN. On an API key both cost one request per ASIN, so the batch saves calls and time, not money; keyless (x402) it is also cheaper per item. Compact rows carry brand, weight {raw, unit, value} and dimension {length, width, height, unit, raw} in product_details' shape, read from the row's product_attributes (package dimensions first); outside amazon.com Amazon's app prints centimetres under an inches label, so there dimension.unit is cm while raw keeps Amazon's text. Prices are decimal strings as each source prints them ("179.0" here, "179.00" on product_details): compare them as numbers.

offers_stockA

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.

best_sellersA

Use for what sells best in a department right now. The rank is Amazon's, not a sales figure. Best-seller rankings for a department of one marketplace, 50 per page. Every answer carries the department it resolved to and how (category_resolution: by slug, name or a fragment of a name, with a hint when a fragment such as 'shoes' landed on the whole 'Clothing, Shoes & Jewelry' department, or 'subcategory' when a word such as 'camera' named a subcategory), available_categories (that marketplace's departments with slugs; MCP: with compact=false) and available_subcategories (the children of the node shown, with the ids subcategory_code takes). On amazon.com subcategory_code also takes any browse node id at any depth, or a name resolved under the department ("women's shoes", "mules & clogs"); category.subcategory_path gives the node's full path and category.heading the page's own title line. Price: $0.003 per call. No required parameters - calling it bare returns US appliances page 1. category accepts a slug, a display name, one of the older US department names, or a unique fragment; category_resolution.via says which, and a fragment match adds a hint naming the subcategories that carry the word, with ids. On amazon.com the whole browse tree is known: subcategory_code takes any node id or a name at any depth, subcategory_name and subcategory_path are filled without a fetch, and available_subcategories lists the node's real children (empty on a leaf). Other marketplaces name only what their navigation showed. page is capped at 5 (a 400 beyond, not a 500). rank is the position within the requested list on this page. Rows are the same for every marketplace; only the department vocabulary differs, and the answer carries it.

dealsA

Use for items currently promoted in Amazon's deals feed. Not for one product's price (product_details); for a brand by name use search with brand= and today_deals=true. Returns the current Amazon deals feed: ASIN, title, deal price, list price, discount, deal badge, start/end time and product links. Filter by department (categories), brand id (brands), rating cut-off, price bounds, minimum discount and Prime program. Every answer carries available_filters (the category and brand ids this marketplace accepts, with names), filters_applied / filters_ignored (what took effect) and next_offset (the next page, null when the feed ends). Price: $0.003 per call. Filters are by id: categories takes a department id or name, brands takes brand ids only; available_filters in every answer lists both with names, and filters_applied / filters_ignored report what Amazon honoured. A page is 30 rows; page with offset=next_offset (null when exhausted); total_count caps at 500. min_price, max_price, min_discount and max_discount are applied to the rows after retrieval, scanning up to 3 feed pages per call, so a page can hold fewer than 30 rows and total_count does not reflect them. An empty answer carries a hint saying why. Deal prices expire: check deal_ends_at. The older price_range and discount_range parameters are still accepted, as buckets (1-5 = under 25 / 25-50 / 50-100 / 100-200 / 200 and up; 1-4 = 10 / 25 / 50 / 70 percent off or more) or as bands such as 25-50 and 70+. discount_percentage is Amazon's display string ("18%") and discount_absolute a decimal string; on product_details discount_percentage is a number.

seller_profile_batchA

Use to vet sellers: name, rating and feedback counts as Amazon displays them. Returns the storefront profile for each seller id: business name, rating, feedback counts, address and marketplace presence. Price: $0.0036 per item (max 10). Seller ID validation is all-or-nothing: one malformed id rejects the entire request with 400. Every row in results is an object with status: ok (the profile), not_found (Amazon has no page for that id on this marketplace; billed, like a 404) or unavailable (could not be retrieved right now; NOT billed on the keyed path, retryable: true). A row is never null. billable_requests_count counts ok + not_found rows; on the pay-per-call rail the per-item quote is settled up front, so retry unavailable ids in a separate call rather than expecting a partial refund. On agent.apiguru.app the answer also carries success and _links.self; billable_requests_count is there on your own key only. Amazon itself has no seller profile: the merchant id of an offer sold by Amazon (offers_stock marks those sold_by_amazon) answers not_found, billed like any other.

seller_productsA

Use to list one seller's storefront. Products listed by a seller: a storefront search. Takes the same filters as search -- query, page, sort_by, category_id, min_price / max_price, product_condition, brand, today_deals, deal_type -- and answers with filters_applied, filters_ignored and available_filters like search does. Price: $0.003 per call. A malformed seller_id is a free 400, as on seller_profile_batch. metadata.total_pages counts every page of the result (48 rows a page), but Amazon serves at most 7 pages of one query: metadata.reachable_pages is how far page can go, and when it is less, pagination_note says how to see the rest (min_price/max_price bands or category_id). _links.next is the next page while there is one; a page past the end is a free 400 page_out_of_range. Invalid sort_by, price, product_condition or deal_type is a free 400 that lists the allowed values. No single sort order lists a whole storefront: Amazon's relevance order (the default) can count far fewer products than the store holds and repeats products across pages, and other orders include products it leaves out (measured on one store: relevance 321, NEWEST 1,898; on another, relevance and NEWEST shared 90 of 161 products). Page 1 of a storefront without query carries coverage_note with the recipe: page through sort_by=RELEVANCE and sort_by=NEWEST, split a store larger than 336 products into min_price/max_price bands, dedupe by asin. An empty storefront carries note: Amazon reports 0 products for a seller with no listings on that marketplace and for an id that is not a seller alike, so check it with seller_profile_batch (_links.seller_profile). Rows have the search row shape: offers_count is null unless the card shows a count, and product_brand is null on most storefront cards (Amazon prints no brand line there; product_details has brand_name). Rows carry position (their place on this page, from 1) and metadata carries next_page, as on search.

seller_reviewsA

Use for a seller's customer feedback (service, shipping). Not for product reviews (product_reviews). Returns paginated seller feedback, optionally filtered to a star-rating window. Price: $0.003 per call. from_rating and to_rating are optional; omit both for unfiltered feedback. A page holds 5 reviews and the answer carries current_page and has_next_page; Amazon exposes no total, so page until has_next_page is false (up to page 100). Each review has rater, rating, review_text, review_date and, where the seller answered, response_text. has_feedback is Amazon's own flag for whether the seller has any feedback entry: a seller can have rating counts in the profile and none, and page 1 then carries a note saying so.

list_capabilitiesA

List every Apiguru endpoint with its price, required parameters and supported marketplaces, plus your current access mode and cache. Free: answers locally with no network request and no charge. Call this before paid tools if you need to plan.

send_feedbackA

Report a bug, ask for a field, or say what would make this API more useful. Free: never billed, no API key needed.

    Prefer GitHub if you have an account -- an issue at
    https://github.com/apiguru-app/agent-kit/issues gets a reply on the
    thread, this wall does not. Use this tool when you have no GitHub
    account or nothing to attach one to.

    message:  what happened or what you want. Be specific: the tool, the
              parameters, the field, what you expected, what you got, and
              the request_id from the answer. One issue per entry -- a
              five-point list cannot be closed point by point.
    category: bug | wish | praise | question | other
    endpoint: which tool or path it is about, e.g. "search".
    agent:    what you are, e.g. "acme-pricing-bot/2.1". Optional.
    contact:  a GitHub handle or email if you want a reply. Shown
              publicly on the wall. Optional.
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 12 tools

Disambiguation5/5

Each tool targets a distinct resource and action: search for keyword discovery, product_details/product_details_batch for single vs bulk records, product_reviews vs seller_reviews for the two review types, offers_stock for seller offers, best_sellers and deals for curated lists, seller_products and seller_profile_batch for sellers. Descriptions actively fence off neighbours (e.g. product_reviews says 'not for seller feedback (seller_reviews)', best_sellers explains why it differs from search's BEST_SELLERS sort, product_details_batch states what it omits versus product_details). An agent should reliably choose the right tool.

Naming Consistency4/5

Most names follow a snake_case resource_qualifier pattern (product_details, product_reviews, seller_products, seller_reviews, seller_profile_batch, product_details_batch), with a consistent _batch suffix for bulk variants. Minor deviations are the bare nouns/short names search, deals, best_sellers, plus verb-first list_capabilities and send_feedback, which are still readable and unambiguous.

Tool Count5/5

Twelve tools map cleanly onto the domain's natural axes (discovery, detail, reviews, offers, rankings, deals, sellers) without redundant variants. Each tool earns its place, and the two meta tools (list_capabilities, send_feedback) are cheap and purposeful. Well within the 3-15 sweet spot.

Completeness4/5

Coverage is broad: search, single/batch details, product and seller reviews, offers/stock, best sellers, deals, seller storefront and profile batches, plus a free capability manifest. Gaps are minor: no dedicated way to resolve a seller id from a seller name (you must find it via search rows), no standalone browse-node/category-tree tool independent of best_sellers, and no variation-level endpoint. Agents can work around these with existing tools.

Maintenance

ActivityActive
ResponsivenessOutdated data