---
title: "Compare products"
method: POST
path: "/v1/compare"
---

# Compare products

`POST /v1/compare`

## Request

- Base URL: `https://api.stackresolve.dev`
- URL: `https://api.stackresolve.dev/v1/compare`
- Auth: API key in header `x-api-key`

## Request body

- object
  - `slugs` string[], required

## Response `200`

OK

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key
- `429`: Rate limited; retry after the Retry-After header

---

[API](https://skmtc.dev/stackresolve/apis/stackresolve-api.md) · [All operations](https://skmtc.dev/stackresolve/apis/stackresolve-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stackresolve/apis/stackresolve-api/revisions/acbacb275b26?raw)
