DEV Community

BuyWhere
BuyWhere

Posted on

Why AI Agents Can't Find the Cheapest Products (And What to Do About It)

The $100 Problem: Why AI Agents Keep Recommending the Wrong Products

When a user asks an AI agent "best wireless earbuds under $100 SGD," here's what typically happens:

  1. The agent searches the web
  2. It finds Lazada's top results
  3. It recommends the cheapest option
  4. The user gets a product that's $110 on Shopee, unavailable in Singapore, or missing from the search entirely

The root cause isn't the AI model — it's that no product API exists that AI agents can actually call.

What BuyWhere Actually Does

BuyWhere is a product catalog API built specifically for AI agent commerce. It gives agents:

  • Real-time pricing from Shopee, Lazada, FairPrice, Amazon SG, Harvey Norman, Best Denki, and 3,700+ other retailers
  • In-stock indicators and merchant availability
  • Multi-currency support (SGD, USD, MYR, IDR, THB, VND)
  • Semantic search — "headphones good for the gym" returns gym-ready headphones
  • Price history — was it always this price, or is it on sale?
import requests

# Get a free API key in 3 seconds — no email required
resp = requests.post(
    "https://api.buywhere.ai/v1/auth/register",
    json={"agent_name": "my-shopping-agent"}
)
api_key = resp.json()["api_key"]

# Search for products
results = requests.get(
    "https://api.buywhere.ai/v1/products/search",
    params={"q": "wireless earbuds", "country_code": "SG", "limit": 10},
    headers={"Authorization": f"Bearer {api_key}"}
).json()

for product in results["products"]:
    print(f"{product['title']}{product['price']} {product['currency']}")
    print(f"  Available at: {product['merchant']}")
Enter fullscreen mode Exit fullscreen mode

The MCP Server for Claude, Cursor, and VS Code

If you're building an agent with Claude or using Cursor AI, there's a one-line integration:

# Install
npm install -g @buywhere/mcp-server

# Configure Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "buywhere": {
      "command": "npx",
      "args": ["-y", "@buywhere/mcp-server"]
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Then ask Claude: "Find me the cheapest AirPods Pro in Singapore right now" — and get a real-time answer with actual merchant prices.

What We Learned Running AI Citation Baselines

Over the past month, we've tracked how often AI models cite BuyWhere versus competitor sites:

  • Developer intent ("API for Singapore product prices") → BuyWhere cited 67% of the time
  • Comparison intent ("compare prices of MacBook Air M4 across Singapore retailers") → cited 25% of the time
  • Best-price intent ("cheapest Dyson vacuum in Singapore") → cited 0% of the time

The gap exists because best-price queries surface Lazada/Shopee results in search. We're fixing this by publishing more content that demonstrates the agent-native API approach.

The Free Tier

No credit card required. 1,000 API calls/month free.


Building for Southeast Asia's 700M consumers, one API call at a time.

Top comments (0)