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

# Get all comments

`GET /comments`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/comments`
- Auth: none required

## Query parameters

- `limit` integer
- `skip` integer
- `select` string
- `sortBy` string
- `order` 'asc' | 'desc'
- `delay` integer

## Response `200`

Paginated comments

- CommentList
  - `comments` Comment[]
    - `id` integer
    - `body` string
    - `postId` integer
    - `likes` integer
    - `user` object
      - `id` integer
      - `username` string
      - `fullName` string
  - `total` integer
  - `skip` integer
  - `limit` integer

---

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