DEV Community

BuyWhere
BuyWhere

Posted on

BuyWhere: Real-time Singapore Product Catalog API for AI Agents

BuyWhere: Real-time Singapore Product Catalog API for AI Agents

If you're building AI agents that need to answer shopping questions — "Where can I buy a Samsung TV for the cheapest price in Singapore?" — you've probably run into the scraping problem.

Scraping e-commerce sites is fragile, slow, and legally murky. Most APIs that exist are either expensive, US-only, or not updated frequently enough for real pricing data.

Introducing BuyWhere

BuyWhere is a product catalog API built specifically for AI agents operating in Singapore (and Southeast Asia). With a single API call, your agent can search live pricing across:

  • Harvey Norman — Singapore's largest electronics retailer
  • Shopee — Southeast Asia's largest e-commerce platform
  • Lazada — Alibaba's SEA marketplace
  • And 1,000+ products updated daily

How It Works

import requests

# One API call to get live Singapore pricing
response = requests.get(
    "https://api.buywhere.ai/search",
    params={"q": "Samsung 65 inch TV", "region": "sg"},
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)

results = response.json()
# Returns: [{"product": "Samsung QN65", "price": 1299, "store": "Harvey Norman", "url": "..."}]
Enter fullscreen mode Exit fullscreen mode

MCP Support (Claude, OpenAI Agents, LangChain)

BuyWhere ships with native MCP (Model Context Protocol) support, so you can plug it into:

  • Claude — add BuyWhere as an MCP tool in your Claude agent
  • OpenAI Agents SDK — register as a function tool
  • LangChain — use as a LangChain tool
# With LangChain
from langchain.tools import StructuredTool

buy_where_tool = StructuredTool.from_function(
    func=buywhere_search,
    name="buywhere_search",
    description="Search live Singapore product prices across Harvey Norman, Shopee, Lazada"
)
Enter fullscreen mode Exit fullscreen mode

Why Agents Need This

Shopping is one of the most common agent use cases, but most agents either:

  1. Hallucinate prices (bad)
  2. Try to scrape and fail (unreliable)
  3. Use outdated product data (misleading)

BuyWhere solves this with a clean, agent-native API that returns structured data your agent can reason about.

Get Started

API docs and free tier available at: buywhere.ai/developers

Building something with it? I'd love to hear what you're working on in the comments.


Built in Singapore, for agents operating in Southeast Asia.

Top comments (0)