---
title: "Get posts by tag"
method: GET
path: "/posts/tag/{tag}"
tags: ["Posts"]
---

# Get posts by tag

`GET /posts/tag/{tag}`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/posts/tag/{tag}`
- Auth: none required

## Path parameters

- `tag` string, required

## Query parameters

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

## Response `200`

Posts with tag

- PostList
  - `posts` Post[]
    - `id` integer
    - `title` string
    - `body` string
    - `tags` string[]
    - `reactions` object
      - `likes` integer
      - `dislikes` integer
    - `views` integer
    - `userId` integer
  - `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)
