---
search:
  tags:
    - Torrents
    - GET
seo:
  description: >-
    Get a torrent's piece states. Reference for the GET /torrents/{hash}/pieces
    endpoint in the piecemeal API.
sidebar:
  label: Get a torrent's piece states
  badge: GET
title: Get a torrent's piece states
type: openapi-operation
---
`GET /torrents/{hash}/pieces`

**Responses**

- `200` — OK
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

Response example, 200:

```json
{
  "states": "string"
}
```
