---
title: "Get all products"
method: GET
path: "/products"
tags: ["products"]
---

# Get all products

`GET /products`

Get all products.

## Response `200`

Products retrieved successfully

- object
  - `products` object[]
    - `id` string — The id of the product
    - `name` string — The name of the product
    - `description` string — A brief description of the product
    - `price` number — The price of the product
    - `stock` integer — The stock quantity of the product
    - `category` string — The category of the product

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `404` — Not Found
- `500` — Server error

---

[API](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger.md) · [All operations](https://skmtc.net/hngprojects/apis/kimiko-golang-swagger/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hngprojects/kimiko-golang-swagger/revisions/2d1d3ed96bb9/schema)
