# BuyWhere BuyWhere is an agent-native product catalog API for AI agents and LLM applications. Catalog (live at GET /v1/catalog/stats): more than 370M products from roughly 950K merchants in 80+ countries, normalized into one schema, with location-aware ranking so agents only recommend products their user can actually receive. ## Catalog Coverage - **Total catalog**: more than 370M products from roughly 950K merchants in 80+ countries (verified live at GET /v1/catalog/stats — canonical source) - **Public sitemap index** (`/sitemap-merchants.xml`): ~100 SG storefront sample — discovery surface only, not the full catalog - Deepest coverage: United States and Singapore; growing coverage across UK, EU, SEA, and AU — thousands of new stores added weekly - **Location-aware search**: pass `deliver_to=` (your END USER's country) and results rank deliverable-first, each carrying an `availability` label: `local` | `ships_to_you` | `unavailable` | `unknown` — backed by verified shipping policies for 28,000+ stores - Agent-optimized responses: `compact=true` returns structured_specs, comparison_attributes, and normalized_price_usd - Performance: P50 search latency under 250ms; cached lookups under 10ms; 99.9% uptime target (live history: https://status.buywhere.ai) ## Quick Start for Agents 1. Get a free API key: POST https://api.buywhere.ai/v1/auth/register 2. Search with your user's location: GET /v1/products/search?q=coffee+maker&deliver_to=SG 3. Every product returns an availability label — filter with include_unshippable=false for only-deliverable results ## REST API Endpoints ### Products - GET /v1/products/search — Full-text product search with filters (keyword, merchant, price, category, country, currency, availability) - GET /v1/products/deals — Products on sale, sorted by discount percentage - GET /v1/products/compare?ids=id1,id2,... — Side-by-side product comparison (2-10 products) - GET /v1/products/:id — Get full product details by ID - GET /v1/products/:id/similar — Find similar products - GET /v1/products/:id/price-history — Historical price chart data - GET /v1/products/:id/prices — Price snapshots from merchant feeds ### Categories - GET /v1/categories — List all top-level categories - GET /v1/categories/:slug — Get category details with subcategories and sample products ### Catalog - GET /v1/catalog/stats — Aggregate statistics (total products, merchants, countries, recent additions) — unauthenticated ## MCP Server MCP endpoint: https://api.buywhere.ai/mcp Authentication: Bearer token (get free key at https://api.buywhere.ai/v1/auth/register) ### MCP Tools (13 total, generated from the MCP tools/list registry) - search_products - get_product - compare_products - get_deals - list_categories - find_best_price - find_similar - ingest_products (write; authenticated merchants only) - search_products_v2 - get_product_v2 - compare_products_v2 - get_deals_v2 - find_best_price_v2 1. **search_products / search_products_v2** — Full-text, semantic, or hybrid search with merchant, price, category, country, and deliver_to filters. 2. **get_product / get_product_v2** — Full product details by BuyWhere product ID. 3. **compare_products / compare_products_v2** — Compare 2-5 products side-by-side. 4. **get_deals / get_deals_v2** — Current discounted offers, filterable by market. 5. **list_categories** — Category tree of the catalog. 6. **find_best_price / find_best_price_v2** — Cheapest offer for a product intent, with merchant handoff. 7. **find_similar** — Nearest-neighbour similar products by semantic embedding. ## Authentication All API endpoints (except /v1/catalog/stats) require a Bearer token: ``` Authorization: Bearer bw_live_YOUR_API_KEY ``` Get a free API key at: https://api.buywhere.ai/v1/auth/register Free tier: 10 requests/minute, 10,000 requests/day. No credit card required. ## Use Cases - AI shopping agents and price comparison assistants - Product discovery and deal alerts - Cross-merchant price intelligence - Market research and retail analytics ## Documentation - API docs: https://api.buywhere.ai/docs - MCP guide: https://api.buywhere.ai/docs/guides/mcp - Pricing: https://buywhere.ai/pricing - GitHub: https://github.com/BuyWhere/buywhere - npm: https://www.npmjs.com/package/@buywhere/mcp-server - npm registry metadata: https://registry.npmjs.org/@buywhere%2fmcp-server ## Rate Limits - Free: 10 requests/minute, 10,000 requests/day - Starter: 50,000 calls/month — $9/month - Pro: 500,000 calls/month — $49/month - Enterprise: Custom limits ## Company BuyWhere Pte. Ltd. — Singapore Contact: api@buywhere.ai Website: https://buywhere.ai