mcp
v0.5.3Model Context Protocol server for retailerapi.com — unified product data across major US retailers (Walmart, Amazon, eBay, Target, Best Buy, Lowe's, Home…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
lookup_product
Look up a product by UPC, EAN, ISBN, GTIN, ASIN, Walmart item_id, Best Buy SKU or Best Buy product id, OR any retailer PDP URL. URL submission works on: the 7 vetted retailers with dedicated parsers (Amazon /dp/, Walmart /ip/, Target /p/, Home Depot /p/, Lowe's /pd/, Best Buy /product/, eBay /itm/), every Shopify-hosted store globally via the public /products/<handle>.json endpoint, and any other retailer that ships Product JSON-LD or OpenGraph product tags in its initial HTML. Base call (1 token) returns title, brand, image, current price, offers_count (the API's offer count) + total_offers (…
| Parameter | Type | Description |
|---|---|---|
identifier * | string | The product identifier — UPC, EAN, ISBN, GTIN, Amazon ASIN (B0XXXXXXXX), Walmart item_id, Best Buy SKU (7-8 digits) or Best Buy product id (10 chars, e.g. JXJVXGFQKQ), OR any retailer PDP URL. A Bes… |
force_refresh | boolean | Bypass cache and force a fresh scrape. Pair it with `retailer`. Without `retailer` the API accepts it only for a Walmart item_id or walmart.com product URL, or a product URL from another store; an Ama… |
identifier_type | string | Optional type hint. If omitted, the server auto-detects. Set explicitly when the input could be ambiguous (e.g. a 12-digit number that is both a valid UPC and a valid item_id). ASIN inputs route throu… |
include_cross_retailer | boolean | Include the cross_retailer block — a map keyed by retailer slug of cached per-retailer cells (price, in_stock, Bucket-1 fields) for every retailer we have for this UPC. Each cell has a status: "ok"… |
include_price_series | boolean | Include the raw day-by-day price bars (price_series) — one bar per day with open/close/low/high. +10 tokens, Walmart only. You usually do NOT need this: the 30/60/90/180-day aggregates (price_stats)… |
include_seller_context | boolean | Include live seller-side state under cross_retailer.<retailer>.seller_context.restricted and .wfs_eligibility, plus top-level seller_context.restricted aggregation. +3 tokens. Marketplace fees (referr… |
retailer | string | Anchor the response to a specific retailer's data. Slug format: lowercase alphanumeric only, 2-30 chars, no TLD or separators (homedepot not 'home-depot' or 'homedepot.com'). Vetted retailers have cus… |
get_offers
List the current sellers on a Walmart product. Returns the full live seller list — each offer with seller_id (numeric, linkable seller-page id), seller_id_hex, seller_name, price, in_stock, wfs, pro_seller, shipping_cost, delivery_date, seller_type (1p/3p), offer_id, max_delivery_date, max_order_quantity, fulfillment_type, returnable, return_window_days, free_returns, condition, quantity_available, and an is_buy_box flag — plus total_offers (the number of competing sellers, equal to the list length). Set include_offers_history=true (+5 tokens) to also return offers_history — the Keepa-st…
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Walmart item_id. Use `lookup_product` first if you only have a UPC. |
include_offers_history | boolean | Also return offers_history — the historical marketplace-offer archive (price/seller snapshots over time, each with observed_at + was_price), plus offers_history_count. +5 tokens. Walmart only. Empty… |
lookup_products
Look up between 1 and 25 products in ONE call: use this instead of calling lookup_product repeatedly for a list of identifiers. Accepts the same identifiers as lookup_product (UPC, EAN, ISBN, GTIN, ASIN, Walmart item_id, Best Buy SKU or product id, retailer PDP URL), mixed freely. Each identifier is answered exactly as lookup_product would answer it and costs exactly what lookup_product would cost with the same options (1 token base, +2 include_cross_retailer, +3 include_seller_context); there is no batch discount and a failed identifier is not charged. The options apply to every identifier. R…
| Parameter | Type | Description |
|---|---|---|
identifiers * | array | Between 1 and 25 product identifiers or retailer PDP URLs. A repeated identifier is answered, and charged, each time. |
force_refresh | boolean | Force a fresh read for every identifier; pair it with retailer. Same rules as lookup_product. |
identifier_type | string | Optional type hint applied to EVERY identifier. Leave it out for a mixed list; the server auto-detects each one. |
include_cross_retailer | boolean | Include each product's cross_retailer block (+2 tokens per identifier). Same as lookup_product. |
include_seller_context | boolean | Include live seller-side state (+3 tokens per identifier). Same as lookup_product. |
retailer | string | Anchor every lookup to this retailer slug. Same as lookup_product. |