---
title: "Compare multiple products side-by-side"
method: GET
path: "/products/compare"
---

# Compare multiple products side-by-side

`GET /products/compare`

## Request

- Base URL: `https://api.buywhere.ai/v1`
- URL: `https://api.buywhere.ai/v1/products/compare`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/buywhere/apis/buywhere-product-catalog-api/docs/products/compare/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `ids` string, required

## Response `200`

Array of products with price, brand, rating, category_path

## Other responses

- `400`: Fewer than 2 IDs provided
- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/buywhere/apis/buywhere-product-catalog-api.md) - [All operations](https://skmtc.dev/buywhere/apis/buywhere-product-catalog-api/llms.txt) - [OpenAPI document](https://skmtc.dev/buywhere/apis/buywhere-product-catalog-api/revisions/4f6fccb33645?raw)
