apiguru-amazon-data
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| APIGURU_API_KEY | No | Optional. 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
geosays 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 (
_cachemarks 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), setcompact=false, or name what you want withfields="asin,product_title,product_price"._truncatedgives 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.
badgesis 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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: |
| 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), |
| 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_details_batchA | Use to enrich a list of ASINs in one call; compare the ASINs in |
| 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; |
| 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. |
| 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+. |
| 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 |
| 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 |
| 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 |
| 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
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.
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.
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.
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.